Advanced Aggregate Functions in SQL (GROUP BY, HAVING vs. WHERE)

  Рет қаралды 261,009

Becoming a Data Scientist

Becoming a Data Scientist

Күн бұрын

Пікірлер: 267
@talalbow
@talalbow 3 жыл бұрын
You taught me in 6 minutes what my university class failed to teach me in 2 weeks lol Subscribed ❤️
@lauraaparicio3076
@lauraaparicio3076 3 жыл бұрын
Or even years, online education is amazing, the future of universities is a political issue but most of education should move to the digital environment in my opinion of course, I’m from Mexico y went to the university but i am updating my stack with platzi, the biggest platform to learn digital stuff, marketing, dev, data science, in Spanish is like udemy but even better and i love it
@ajinzrathod
@ajinzrathod 3 жыл бұрын
3 minutes in 2X speed
@andrematos3353
@andrematos3353 3 жыл бұрын
Same for me
@karlwhitford7523
@karlwhitford7523 3 жыл бұрын
Well you know what an unsigned byte address looks like after packing.
@hannahmeng4497
@hannahmeng4497 2 жыл бұрын
@@lauraaparicio3076 I agree with you!
@gustavshochat7792
@gustavshochat7792 4 жыл бұрын
Thanks for clarifying that WHERE cannot be used on aggregations. This is exactly what I was looking for regarding WHERE vs. HAVING. Not sure why I haven't seen this mentioned elsewhere, subscribed!
@markkoech289
@markkoech289 2 жыл бұрын
Was looking for the same
@pharaoh9483
@pharaoh9483 10 ай бұрын
I dont get why it cant be used, in their documentatoin they also say u cant use them, but then they go on to provide examples like SELECT city, count(*) FILTER (WHERE temp_lo < 45), max(temp_lo) FROM weather GROUP BY city; which are combing both
@FocusOnGratitude
@FocusOnGratitude 7 ай бұрын
​@@markkoech289ditto 😊
@eecolme
@eecolme 3 жыл бұрын
I'm so happy to finally found someone able to explain HAVING so easily. Thank you so much man
@rungxanh2901
@rungxanh2901 3 жыл бұрын
A 6-minute watch saves me from a lengthy 2-hour lecture, not to mention the lecture didn't even serve its purpose of teaching us in such intuitive explanation ❤️
@FaktzTV
@FaktzTV 6 ай бұрын
for two years I've been struggling to understand how and when to use these clauses and you just taught me all that in 6 minutes. You are a legend. Thank you. It is going to save me from a lot of trouble from my Uni exam next week
@Mori-Chan613
@Mori-Chan613 Жыл бұрын
This is easier to understand than what my online mentor taught me. Thank you!
@goinggoinggone535
@goinggoinggone535 3 жыл бұрын
Just subscribed. If you ever get tired of BEING a data scientist, you should definitely go into teaching. You've got a knack for making complex things simple.
@hankbreckenridge5680
@hankbreckenridge5680 4 жыл бұрын
These are amazing tutorials. Keep up the great work!
@groundbreakingdig
@groundbreakingdig 7 ай бұрын
This is SOOO much clearer than what my instructor teaches at NAIT. Excellent tutorials.
@nizarsaidi1903
@nizarsaidi1903 11 күн бұрын
Brief and clear ! My Database teacher failed to explain this clause for 2 years
@majeyork
@majeyork 3 жыл бұрын
Thank you, I've spent a week trying to make it all make sense. You've just done that!
@VishalPatel-ly9uq
@VishalPatel-ly9uq 3 жыл бұрын
You are a legend, this guy saved my life In university. :D
@mostinho7
@mostinho7 3 жыл бұрын
Done thanks Where clause filter is applied before aggregation, then the aggregate function is applied on the rows returned by the where clause filter. If you want to filter on the rows returned by the aggregate function itself, you have to use having clause. Having count(*) > n
@mrreese2342
@mrreese2342 Жыл бұрын
i love how this guy in 6 minutes managed to explain GROUP BY and HAVING whilst i've been struggling with them for the whole semester
@1800bth
@1800bth Жыл бұрын
Thank you for your concise delivery. Not too slow nor fast.
@SD-vj9rr
@SD-vj9rr 2 жыл бұрын
Finally understanding how GROUP BY & HAVING work, this was definitely helpful.
@elderaarondavis1
@elderaarondavis1 Жыл бұрын
I was lost reading through Microsoft SQL pages on HAVING vs WHERE, but with this video I got it right away😀 Thank you ❤
@tosinoloruntoba449
@tosinoloruntoba449 Жыл бұрын
Great job Nathan so explicit
@ras2930
@ras2930 5 ай бұрын
Oh my gosh! You answered the question that was stumping me the last few days. I’m taking the google analytics course and I keep having errors with my aggregate functions. When you added city to the SELECT clause, I keep doing that with the data set I’m working on and keep getting an error message. Then I saw you added country and city under GROUP BY which I have never done before so I think your video was the answer to my question. Thank you!!!
@colevarney8990
@colevarney8990 4 жыл бұрын
This was very helpful!! Cleared up a lot of confusion I am having in my undergrad database class. Clutch for my exam tomorrow! :)
@McCallumClips
@McCallumClips 3 жыл бұрын
Nice job. Thanks! Very useful and to the point. None of the stupid music or crazy intros!
@marcostevanella6051
@marcostevanella6051 3 жыл бұрын
Am I another guy saying what all of the previous have said? This 7 min video explains what a college course does in weeks. Then, they say you need to go to college for earning an understanding of such. I rest my case while I subscribe lol. Thank you
@xternal2072
@xternal2072 4 жыл бұрын
great instructions man. I'm you can explain in great details in English I can fully understand cause a bunch of the tutorials I find is mostly from people in India and I just can't understand some the words they are saying. GREAT LESSONS AND VIDEOS IN DETAIL! GREAT INSTRUCTOR. Remember it takes 3 to 10 years to become a overnight success.
@md.anisurrahman1723
@md.anisurrahman1723 3 жыл бұрын
You teach like an real expert.
@dumzi
@dumzi Жыл бұрын
The clarity here is amazing
@skylerreeves
@skylerreeves 2 жыл бұрын
Videos like this are why I love the internet.
@Nam_David
@Nam_David Жыл бұрын
Thanks sir, it just take me 6 mins to watch but it's completely comprehensive. Amazing turorials, thanks for clarifying my confusion.
@COOKINGBIRD
@COOKINGBIRD Жыл бұрын
Your SQL video was exactly what I needed. Thank you for explaining it so clearly. 😄🎬💻🔍
@roymcpherson1639
@roymcpherson1639 3 жыл бұрын
This answered all my questions while doing the google data analytics certificate. Thanks for taking the time to do this.
@sarahemslie6105
@sarahemslie6105 4 жыл бұрын
Thank you Nathan. So nicely explained in such a seemingly effortless way! Please keep up the great work as you might just keep me sane.
@mskafridi4815
@mskafridi4815 3 жыл бұрын
Straight to the point without any BS.. You are my hero
@zenep63
@zenep63 2 жыл бұрын
One of the best video outhere. It really helped me out to understand what's the use of GROUP BY THANK YOU
@JoonJulyAugust
@JoonJulyAugust 2 жыл бұрын
learning relational database in university, this video helped a lot. thanks man!
@XenogearsPS
@XenogearsPS 3 жыл бұрын
I like how fast you go. These text books and courses go slow, use too many examples and confuse the heck out of you. Simple and to the point. Thanks.
@GreenSlugg
@GreenSlugg 2 жыл бұрын
I've been struggling with a problem like this all day. Thank you!
@KozaiDesign
@KozaiDesign Жыл бұрын
That was the most helpful explanation. I kept having the trouble of understanding when and how to use these two.
@monmon8813
@monmon8813 2 ай бұрын
Thanks.. Clear the confusion of grouping
@kopilkaiser8991
@kopilkaiser8991 Жыл бұрын
Thank you making such a great informational, informative, simplified video to teach us individuals who are willing to learn all of these topics discussed.
@ericakillz2052
@ericakillz2052 8 ай бұрын
Oh my god, you helped me so much I spent all day on this and you helped me more than the damn instructor did. Thank you so much.
@mahfuzarrahman8897
@mahfuzarrahman8897 3 жыл бұрын
it is a 100% useful and effective tutorial. I really thank you so much.
@ariannagold4599
@ariannagold4599 2 жыл бұрын
You're the best. Much love from Miami U.
@alokjha780
@alokjha780 Жыл бұрын
Many thanks for this very short and crisp information. Thank you!!
@CamillaBlijden
@CamillaBlijden Жыл бұрын
Thank you! You made it so easy to understand. Much appreciated
@Sharry-M
@Sharry-M 9 ай бұрын
Man I love your content! you're a savior! thanks for the educational videos!!
@ygp47
@ygp47 10 ай бұрын
Such a simple and powerful explanation video
@nicoborromeo1150
@nicoborromeo1150 6 ай бұрын
Very concise and clear! Thank you so much
@sarahfinley6606
@sarahfinley6606 3 жыл бұрын
Thank you for sorting this out so clearly!
@lilygranger6264
@lilygranger6264 Жыл бұрын
This is a life savior!! Thank you THANK YOU!!!!!
@faiqahaider8296
@faiqahaider8296 3 жыл бұрын
Thank you so MUCH! I just loved the way you explained everything in this short video it helped me to understand very well. Please keep making short videos!
@danielangelov5948
@danielangelov5948 Жыл бұрын
You helped me a lot, i had a lot of issue with having and group by. Thank you
@geoafrikana
@geoafrikana 3 жыл бұрын
I love the tempo of this video. Thanks.
@abdulazizalmansour7901
@abdulazizalmansour7901 2 жыл бұрын
Very Helpful i was looking for how to display multiple column by using group by .. thanks , from Saudi Arabia
@v1tal_c
@v1tal_c Жыл бұрын
Thanks! Very helpful for my interview preparation recap.
@liamquiros
@liamquiros 8 ай бұрын
Thank you so much. This is the video I was looking for! 🙌
@marwaawad3677
@marwaawad3677 6 ай бұрын
it helped alot thank you for short and clear explnation
@mohammadaminghasemi9894
@mohammadaminghasemi9894 9 күн бұрын
dud that was fast and so much useful i don't usually comment any thing but it was really great! thank you❤
@topazdazzlesDA
@topazdazzlesDA 3 жыл бұрын
Super simple, easy to follow! Thank you for uploading!
@JamRock99
@JamRock99 24 күн бұрын
Excellent explanation!!
@joepetey
@joepetey 4 жыл бұрын
Thanks! Very useful how to use Having instead of 'where' , helped me count a column then use a condition to check the count greater then a value.
@aasiralikhan7205
@aasiralikhan7205 3 жыл бұрын
Very easily explained! Big thanks!!
@maceb87
@maceb87 3 жыл бұрын
Best example i found so far, thank you!
@tomaspajonk8354
@tomaspajonk8354 3 жыл бұрын
Man your explanation is amazing. Ill check all of your's videos. Thank you a lot
@estebandiaz1306
@estebandiaz1306 2 жыл бұрын
Second video of yours I watch. You have such a great way of explaining things! Subscribed
@Italjamer
@Italjamer 3 жыл бұрын
You are a lifesaver! Thank you!
@MrSkaterview
@MrSkaterview 2 жыл бұрын
Simple and concise. Thank you so much
@neptune7153
@neptune7153 7 ай бұрын
Thank you so much! I have my exam tomorrow and was always confused about when i can use what. No one could explain it to me and it took you 5 minutes lol your‘re a life saver
@christianyaksic3555
@christianyaksic3555 3 жыл бұрын
It couldn't be clearer. Thank you!
@kadekhendradarmasastrawan7694
@kadekhendradarmasastrawan7694 11 ай бұрын
Just found this video and it's really helpful
@evcaliz
@evcaliz 2 жыл бұрын
You are an amazing teacher
@michealangelodelacruz7740
@michealangelodelacruz7740 Жыл бұрын
Clear and concise! Great and very informative videos!
@originalkaylah
@originalkaylah 10 ай бұрын
im so happy I found this video!!😆
@alexrollins8356
@alexrollins8356 Жыл бұрын
Thank you for the quick tutorial!
@scottgaines2677
@scottgaines2677 Жыл бұрын
Thank you for the great explanation! This was very helpful! Liked and subscribed!
@OfisLab
@OfisLab 3 жыл бұрын
thank man, this really helped clarify these concepts
@itsReshad
@itsReshad 2 жыл бұрын
Good Video, explained it very well, I was stuck with the silliest problem and because of the way you explained it I sorted the issue! Top Video my friend!
@ashleyhouseknecht4042
@ashleyhouseknecht4042 Жыл бұрын
This was incredibly helpful. Thank you!
@SuperKiingg
@SuperKiingg 3 жыл бұрын
great job very straight and clear tutorial, thank you
@veezyp
@veezyp 4 жыл бұрын
Best explanation I have come across. Thanks
@zaroilorsaint3531
@zaroilorsaint3531 2 жыл бұрын
nice video, I would like to know how would you select the country that most costumers
@ikeben400
@ikeben400 2 жыл бұрын
Superb video. Straight to the point and very concise 👍🏾
@MariamOnTheRun
@MariamOnTheRun 4 жыл бұрын
great & simple explanations- thank you!
@amitjoshi7353
@amitjoshi7353 2 жыл бұрын
This is the fastest way i learned the diff between Group by and having
@dblacwell
@dblacwell 2 жыл бұрын
I learned everything I needed to know !
@Mona-gh3mh
@Mona-gh3mh 2 жыл бұрын
Your video is great! Helps me a lot!!!
@Valivalia777
@Valivalia777 3 жыл бұрын
Thanks for the video and your examples, you can really explain it in simple words, nice work :)))))
@vivvpprof
@vivvpprof 3 жыл бұрын
I'm having an exam today, thanks for the wishes for a good day - it will be good :D
@bevedel
@bevedel 2 жыл бұрын
short and helpful. Thank you.
@moviemagg3096
@moviemagg3096 Жыл бұрын
Thank you, well explained! Subscribed!
@azizas9366
@azizas9366 4 жыл бұрын
Now it is clear. Thanks for posting this video.
@beatricebass9245
@beatricebass9245 3 жыл бұрын
Great video! Very helpful and made a ton of sense! Thanks!!
@TheFranzKranz
@TheFranzKranz 3 жыл бұрын
Thx it really helped me understand the HAVING and WHERE Statement
@RaphaelSchiavone
@RaphaelSchiavone Жыл бұрын
Very helpful, you are a great teacher!!
@johnbarratt2042
@johnbarratt2042 Жыл бұрын
FANTASTIC! Thank you!!!!
@ugonnac8937
@ugonnac8937 2 жыл бұрын
This was very helpful and well explained. Thanks
@enriqueperez4082
@enriqueperez4082 2 жыл бұрын
Thank you! This was great help!!!
@sgrgn98
@sgrgn98 16 күн бұрын
Thank you so much! Very helpful :)
@jettecantoria
@jettecantoria Жыл бұрын
Thank you. This is so helpful.
@saifulislam-qf8xj
@saifulislam-qf8xj 3 жыл бұрын
THANK YOU!! I sorted easily
@thulanidendere3986
@thulanidendere3986 2 жыл бұрын
... thanks man, you just made my life easier 👌
@bubblebath2892
@bubblebath2892 11 ай бұрын
Brilliant vid man , thnaks a ton
SQL String Functions Tutorial (LEFT, RIGHT, POSITION, CONCAT, LOWER, REPLACE)
12:29
Becoming a Data Scientist
Рет қаралды 41 М.
How to do Subqueries in SQL with Examples
8:20
Becoming a Data Scientist
Рет қаралды 174 М.
How Strong is Tin Foil? 💪
00:25
Brianna
Рет қаралды 69 МЛН
When u fight over the armrest
00:41
Adam W
Рет қаралды 25 МЛН
Players vs Pitch 🤯
00:26
LE FOOT EN VIDÉO
Рет қаралды 124 МЛН
Basic Aggregate Functions in SQL (COUNT, SUM, AVG, MAX, and MIN)
5:44
Becoming a Data Scientist
Рет қаралды 92 М.
Learn SQL In 60 Minutes
56:24
Web Dev Simplified
Рет қаралды 2,2 МЛН
6 SQL Joins you MUST know! (Animated + Practice)
9:47
Anton Putra
Рет қаралды 193 М.
Learn GROUP BY vs PARTITION BY in SQL
14:03
Anthony Smoak
Рет қаралды 38 М.
Expert Level SQL Tutorial
23:27
James Oliver
Рет қаралды 156 М.
How Strong is Tin Foil? 💪
00:25
Brianna
Рет қаралды 69 МЛН