I don't usually comment on tutorial videos, but this video is so clear I just want you to know how helpful you are for beginners like me
@DatabaseStar Жыл бұрын
Glad it was helpful!
@sebastianhernandez9631 Жыл бұрын
I'm preparing for DP-900 exam and I was having a hard time with the Group By statement and aggregate functions. This video has helped me understand it perfectly. Thanks! Subscribed.
@DatabaseStar Жыл бұрын
Thanks! I'm glad the video helped you understand it.
@rickvazquez65782 жыл бұрын
Mate you clarified something for me, I was wondering why I always had to add every other column I had to group by :) plenty helpful keep up the great tutorials!😃
@DatabaseStar2 жыл бұрын
Glad it helped you understand the concept further!
@rjjalaparthi5452 ай бұрын
Clear cut explanation, i always had doubt why we need to group by column which we used in select statement when we use aggregate functions in select, now its so clear. Thanks for the help
@DatabaseStar2 ай бұрын
Glad it was helpful!
@manojkumar-yc4xq5 ай бұрын
What a clean and easy way of explaining the fact. Thank you SIR.
@DatabaseStar5 ай бұрын
You're welcome!
@ordinaryperson-my7qr2 жыл бұрын
thanks sooooo much dude i NEVER wrapped my head around how this works now i am crystal clear :)
@DatabaseStar2 жыл бұрын
Awesome, good to hear!
@akanirokingsley33047 ай бұрын
your explanations resonates with me on a deep level.
@DatabaseStar7 ай бұрын
This makes me happy. I’m glad the explanations help you!
@lexiwhitmore2197 Жыл бұрын
This was helpful and clear, thank you! I liked your group by question, because I tend to create a question like that when I'm struggling to formulate the correct query.
@DatabaseStar Жыл бұрын
Glad it was helpful!
@user-iv9sh9fc3c6 ай бұрын
you are definitely a database star. Thank you
@DatabaseStar6 ай бұрын
Thanks!
@thebigcheese11538 ай бұрын
Thanks for actually explaining it.
@DatabaseStar8 ай бұрын
You’re welcome!
@COOKINGBIRD Жыл бұрын
Your SQL video was exactly what I needed. Thank you for explaining it so clearly. 😄🎬💻🔍
@DatabaseStar Жыл бұрын
Thanks, glad you liked it!
@khawar16907 ай бұрын
Very well explained. Aggregated function was helpful to me. Thank you
@DatabaseStar7 ай бұрын
Glad it was helpful!
@diamondsandlipgloss5 ай бұрын
1:18 why do we need the parenthesis around the asterisk in the SELECT FROM statement?
@DatabaseStar5 ай бұрын
Good question. It's because the word COUNT is a function, and functions need to have brackets at the end of the name so they can run. Inside the brackets for functions, we specify parameters, such as values or columns to be processed by the function. The COUNT function can count columns: for example, COUNT(first_name) counts the number of first_name values that are not NULL. The asterisk is a different parameter to the COUNT function, and it means "count the entire row". So, COUNT(*) means count the entire row. Hope that answers your question.
@diamondsandlipgloss4 ай бұрын
@@DatabaseStar got it, SO VERY helpful i don't know how i'll remember all of this 🤦🏾♀️
@aashutosh9372 жыл бұрын
Thank you for explaining it in such a simple way :)
@DatabaseStar2 жыл бұрын
You're very welcome!
@dragoneer8756 Жыл бұрын
Good to know, most important part was that the field selected should be in the group by clause. THey completely left that out in class
@DatabaseStar Жыл бұрын
Glad you liked the video. Can’t believe they left that out of your class!
@dragoneer875611 ай бұрын
@@DatabaseStar It was a very rushed class tbh. Teaching finished at the beginning of November so I'm self-studying for finals😅😅
@leonsant-jennings7417 Жыл бұрын
Cheers boss, I knew I had to use Group By but I didn't fully understand why.
@DatabaseStar Жыл бұрын
Thanks, glad it was helpful!
@tsunamio775010 ай бұрын
Nice video! Your indentation hurts me, but thank you for this video; It is very well presented!
@DatabaseStar10 ай бұрын
Thanks! Do you prefer a different style of indentation for SQL code?
@nickjoseph27112 жыл бұрын
Super helpful. First slide's visual really helped...
@DatabaseStar2 жыл бұрын
Glad you liked it!
@mrjump6745 Жыл бұрын
very detailed. clear. beautiful thanks ALOT really helpful
@DatabaseStar Жыл бұрын
Glad it was helpful!
@Aliyaaugust5 ай бұрын
Great explanation 💯🤍🤍🤍
@DatabaseStar5 ай бұрын
Thanks!
@jatinsharma8353 Жыл бұрын
awesome most easiest explanation. Thanks man
@DatabaseStar Жыл бұрын
Glad it helped!
@DCh-ks6ug8 ай бұрын
that waaaaas veeeeery helpful thaaaaaank you
@DatabaseStar8 ай бұрын
You're welcome!
@higiniofuentes2551 Жыл бұрын
Thank you for this very useful video!
@DatabaseStar Жыл бұрын
No problem, glad you liked it!
@mustaphaelouahabi9316 Жыл бұрын
👋 Bravo! A very well-explained demo!
@DatabaseStar Жыл бұрын
Thanks!
@mustaphaelouahabi9316 Жыл бұрын
@@DatabaseStar....... You're very welcome! Can you please make a crash course about "MySQL for Advanced Data Analytics"?
@arvindt5539 ай бұрын
Can you please give an example with two tables that have many to many relationships
@DatabaseStar9 ай бұрын
Good idea, I can do that.
@bot299i825 ай бұрын
😂 nobody understand group by
@DatabaseStar5 ай бұрын
It can be hard to understand
@Mike-vj8do Жыл бұрын
real good video, thank you!
@DatabaseStar Жыл бұрын
You’re welcome!
@statesman6379 Жыл бұрын
My only question is if you have 3 columns in the Select Statement with an aggregate function, for example, is it mandatory to always include all 3 columns in the group by clause? And if not, then how do we know which of the 3 columns must be included?
@DatabaseStar Жыл бұрын
Good question. Yes, it's mandatory to include all three columns in the Group By clause. If you don't, you'll get an error about columns in the Select not in the Group By (the exact error will depend on the database vendor). The only exception is some versions of MySQL allow you to have a mismatch between the Group By and the Select. But you'll get a result that won't be correct, such as showing the first group only but the aggregate function on all rows.
@statesman6379 Жыл бұрын
@@DatabaseStar Thanks for the awesome reply! I just subscribed.