You can still use WHERE clause aggregated functions. Select max(column) from table where Meaning: select max out of a column value from a table with a filtered records based on a condition.
Great job sis.. kudos!! Small correction @ 3:33 ---- 'Where' can be used while aggregating rows (Where and Group by works) 'Where' will filter at Row level 'Having' will filter at 'Group by' level No intention of pointing out mistakes here.. your channel is gaining popularity, and many are learning from this channel, great job!!. On the same lines - my two cents .. if that helps your viewers!! Oh, I haven't seen before - couple of others also mentioned about this correction.. great!! Good job!! (wouldn't have posted this if i have seen that earlier) Good job everyone!! Happy learning!!
Sir I need to add few more points and let me know if I am wrong. If where clause is being used after the 'group by' statement this wouldn't work out. If we want SQL to use group by with where, 'where clause' should be used before Group by statement which actually filters the data from reference table first then grouping the data. Since, we are not using any aggregate function to group our data hence this group by also acts like order by. Disagree if I am wrong
Best thing about your videos is You take very less time to cover many things and yet explaining it so beautifully.. Thanks for spreading the knowledge.. 👍🏻
I've been looking for something like this from a long time.I've not seen any video where SQL is explained in such a simple and easy way. Thanks a lot for this.
We can use where clause and having too because we can filter non aggregated value and having count(emp_id)>=1 . Instead of using having emp_id>105 u shld have use where emp_id>105
I have started watching your videos recently, believe me you are amazing the way explained just nailed it.Impressive work keep it up last but not least thank you.
thank u mam such simple explaination about union i never understand my whole enginnering .....keep provide us such .. this type of information... thank u so mmuch ......🤗🤗🤗🤗🤗🤗🤗
Hi, The best thing is that All of your videos are clearly explained in a short period of Time and it covers many things. I Really appreciate ur effort and please keep on continuing it🙏🙏 Thanks you so much
Great job But one small correction at 3:57 where can be used also with group by but before group by statement and having can be used on aggregate function as you said Like: SELECT MAX(Sal) FROM Employee GROUP BY EmpId HAVING MAX(Sal) > 1000;
Though I am using SQL(DBA) for 3 years, never focused much on the difference between UNION and UNION ALL. Today I gave an interview for one of the Big4 and I couldn't answer the difference between UNION vs UNION ALL. Finally landed here to understand the diff.
...... hopefully you don't use it because that's a massive difference LOL. You would ruin a dataset not using Union all. Union all is used 99.9% of the time. There would be no point to be removing duplicate rows.
It's a great post @Crack Concepts (Sadia) , no matter how many years of experience we have ,it's always a good revision for any one # WHERE can be used with SELECT,INSERT,UPDATE statement # HAVING can only be used with SELECT statement
@@Rajahmundry-timepass I ran all queries and they are working fine. If you can't run simple queries, stop blaming the teacher. You piece of shit. Stop spreading negativity for her. She is doing a great job. But stupid people like you can't understand anything.
You can still use WHERE clause aggregated functions.
Select max(column) from table where
Meaning: select max out of a column value from a table with a filtered records based on a condition.
Yes.
And we can't use having without group by
Yes
th-cam.com/video/QTaiF8N6i3Y/w-d-xo.html🙏🏻🙏🏻
This TH-camr has no idea what she is talking about man....
th-cam.com/video/p0gL1pAhGZE/w-d-xo.html
Great job sis.. kudos!!
Small correction @ 3:33 ---- 'Where' can be used while aggregating rows (Where and Group by works)
'Where' will filter at Row level
'Having' will filter at 'Group by' level
No intention of pointing out mistakes here.. your channel is gaining popularity, and many are learning from this channel, great job!!. On the same lines - my two cents .. if that helps your viewers!!
Oh, I haven't seen before - couple of others also mentioned about this correction.. great!! Good job!!
(wouldn't have posted this if i have seen that earlier)
Good job everyone!! Happy learning!!
Thank you 😊
I really like the way you explained and it is useful for me...
Sir I need to add few more points and let me know if I am wrong. If where clause is being used after the 'group by' statement this wouldn't work out. If we want SQL to use group by with where, 'where clause' should be used before Group by statement which actually filters the data from reference table first then grouping the data. Since, we are not using any aggregate function to group our data hence this group by also acts like order by. Disagree if I am wrong
th-cam.com/video/p0gL1pAhGZE/w-d-xo.html
Thanks for this. I could have got wrong understanding now about using HAVING clause.
Best thing about your videos is You take very less time to cover many things and yet explaining it so beautifully.. Thanks for spreading the knowledge.. 👍🏻
I've been looking for something like this from a long time.I've not seen any video where SQL is explained in such a simple and easy way. Thanks a lot for this.
Amazing video series on SQL. Honestly this has been my ONLY goto channel whenever I feel I need to brush up my SQL coding skills.
The way she says sorry sorry ❤️.. great tutorial ..am following every video.. simple and to the point ..
I gained confidence from your teaching. Kudos
great tutorial ..am following every video.. simple and to the point ..
Thank you, sister, the way you teach is wonderful, stay blessed and happy forever. as a beginner, I admire your effort.
We can use where clause and having too because we can filter non aggregated value and having count(emp_id)>=1 . Instead of using having emp_id>105 u shld have use where emp_id>105
Correct. Made a mistake there. Thanks for correcting! :)
@@crackconcepts No worries and thank you for educating us 😀😊
keep it up.....
nyc explanation
I am thankful that such a clear and knowledgeful information shared for all
May God bless you for the helping and sharing
thank you
I have started watching your videos recently, believe me you are amazing the way explained just nailed it.Impressive work keep it up last but not least thank you.
Thank you so much!!
I became fan of your voice nd thanks for the most common interview question explained in great manner👍👍👍🙏
🤣🤣🤣🤣🤤🤤
Men is always men
(meanwhile in the background I heard)
Pyar ki raah mein chalnaa seekh....
Creep spotted 😂😂😂
@@Bdlover-24 🙏
thank u mam such simple explaination about union i never understand my whole enginnering .....keep provide us such .. this type of information... thank u so mmuch ......🤗🤗🤗🤗🤗🤗🤗
I think this video was done at election time. This video helped me now. Nyc1
1. Aggregate
2. Duplicate
3. Scan and Boolean evaluation
4. Position
5. Performance
6. Columns and Rows
Your voice is really sweet Mam.. A very good and simple way of explaining 👍
Mam the way of explanation is super thanks for given valuable classes
When we use max() function still we can use the where clause it works.
Yes
Yes but it should be before having clause
Yes even I wondered when she said that .. I do it daily...
What she said is exactly what I found on w3schools.
We can use it on to find maximum values in the database
Nice. You are explaining things clear. Like inner query and outer query.
Nice one❤
Aggregate function
It is used to multiple rows of single column
Straight concept clear voice ....cool
Thank you..Concepts clearly explained in short time..GOD bless you
Thank you.. Your way of explaining is sweet.
Hi, The best thing is that All of your videos are clearly explained in a short period of Time and it covers many things. I Really appreciate ur effort and please keep on continuing it🙏🙏 Thanks you so much
THANK YOU SO MUCH!!!! Cleared all the doubts in a single go!
Nice tutorial and clear voice to understand.
Mam your voice is so sweet and the way of your teaching is also good
This and the second part is sooooo Awesome. You Rock. Blessings from United States. :)
Ur way of explaining concepts is simple and cool to understand soon....
Tq for sharing videos..
A good and knowledgeable video, thank you sister for sharing with us.
Best sql channel ...thanks mam for this series and all effort u have put in
Great job
But one small correction at 3:57 where can be used also with group by but before group by statement and having can be used on aggregate function as you said
Like:
SELECT MAX(Sal) FROM Employee
GROUP BY EmpId
HAVING MAX(Sal) > 1000;
Speak more loudly 🙃🙃
This is nice!
We can use where when using group by also.
God bless... very straight to the point... Perfect... Kudos to your work
You got a new sub. Thanks for your informative video.
we can use where instead of having , we use having when we place the group by clause
Nicely explained. Mam
very helpful for the interview preparation
We can get the aggregate by using where as well
Thanks for sharing very well explained
clear, simple and easy way of explanation , Thank you !
Nice way of explaining 👍
Nice and clear explanation, thank you very much from south yemen.
Very very nice and simple methods with examples 😄😄😄 thank u for videos
amazing what a voice and you are explanation also awesome keep going
Whatt a Amazing voice !!!😍😍🥰♥️
& Explanation is also good 💜
mam, please note the correction that, where can be used in your explanation for id, having is only used for aggregated filters.
very well explained . I watched just one video & subscribed .
Though I am using SQL(DBA) for 3 years, never focused much on the difference between UNION and UNION ALL. Today I gave an interview for one of the Big4 and I couldn't answer the difference between UNION vs UNION ALL. Finally landed here to understand the diff.
...... hopefully you don't use it because that's a massive difference LOL. You would ruin a dataset not using Union all. Union all is used 99.9% of the time. There would be no point to be removing duplicate rows.
I think u just time pass if u don't know the difference sorry but it's true
Thanks for the making videos! Its very very helpful
Good one.
Love these videos. Great job!
That multiippllee rows❣️2:10
2:04
Great explanation, thank you, dear
Great👍
Short,simple and clear explanation.. Really liked it so much:)
Thank you so much!
Very helpful.. thank you..✨
Simply explained, thank you :)
Your notes are so well define easy to understand
very nice voice, explained in good way
achha pdhati ho, keep it .
Amazing work keep it up
Excellent explanation
Thank you this has helped me a lot
It's a great post @Crack Concepts (Sadia) , no matter how many years of experience we have ,it's always a good revision for any one
# WHERE
can be used with SELECT,INSERT,UPDATE statement
# HAVING
can only be used with SELECT statement
Awesome voice and good explanation 😍
Please explain the difference between partition by and group by
Execution order of clauses---
1.From
2.Where
3.Group By
4.Having
5.Order by
6.Select.
Thanks for this video ...
Most usefull .....
Great work 👍
You are explaining so good and your voice also amazing
Great work mam
Excellent video!
Thanks - was so helpful
what a voice WOW
Good explanation
You have a wonderful soft voice ..
When to use IN and exists this I learned from your video
It was a great video of explaining such a complicated concepts 👍.
Very well presented 🙏 👌👌👏👏
Proper explanation with great presentation 😊
To the point ,
helped me.
Thank you 😀
Please make more difference between in Location and Add...
Nice mam 👍 thanks 😊
Great job sister . Best tutorials I have ever seen . Keep it up
Good job 🙏
Highly appreciate your work. Thanks
@@Rajahmundry-timepass I ran all queries and they are working fine. If you can't run simple queries, stop blaming the teacher. You piece of shit.
Stop spreading negativity for her. She is doing a great job. But stupid people like you can't understand anything.
Awesome video
Voice is pleasant
Padai pe dyaan dede
@@hrishikeshkonderu1638 voice is distracting
Please upload full vedio of MS SQL
Thank you ma'am. Cause of you i was able to crack the interview for my dream job ❤
I’m so happy for you. Congratulations!
@@crackconcepts thank you. Andbi am very much greatful to your videos. I learned more from your course then in 6 mths of my college
Great tutorials. Thank You very much. looking forward for more videos from you.
Thank you sadia
Very nicely explained! and your voice is soooo sweet!
Keep it up👍
Nicely explained 🔥
also add one more component --group by and partition by
SELECT count(country) from customers where customerid>5;
it is working
Thank you so much Ma'am for your detailed information. This helped me to brushed up