SQL Window Functions | Clearly Explained | PARTITION BY, ORDER BY, ROW_NUMBER, RANK, DENSE_RANK

  Рет қаралды 47,238

Maven Analytics

Maven Analytics

Күн бұрын

Пікірлер: 127
@MrDeeraf
@MrDeeraf 5 ай бұрын
Hands down the most straightforward explanation of window functions!
@abhijeetkumar2100
@abhijeetkumar2100 8 күн бұрын
GOD Level window function explanation🗿
@j4ta680
@j4ta680 8 ай бұрын
As a fellow educator, I know great quality when I see it. Great job, Alice! You explained some very difficult concepts very clearly and succinctly. Well done!
@Alice-at-Maven
@Alice-at-Maven 8 ай бұрын
Thank you!
@sindead28
@sindead28 17 күн бұрын
simple and straight to the point. loved it.
@arifzargar8624
@arifzargar8624 8 күн бұрын
Simply nailed it ,take a bow !!!!
@umeshkambar7558
@umeshkambar7558 25 күн бұрын
Alice, you are an exceptional teacher. Your ability to explain complex topics in a clear and simple way is unmatched by any KZbinr I've seen. I finally understand this concept thanks to your channel. I admire your knowledge and teaching style.
@Alice-at-Maven
@Alice-at-Maven 23 күн бұрын
Thank you for the kind words!
@kingsleyarisah6354
@kingsleyarisah6354 5 ай бұрын
Best Teacher I've seen on KZbin hands down
@PriscillaNorton
@PriscillaNorton 17 күн бұрын
Most clear and concise I have seen
@poolboy2447
@poolboy2447 Ай бұрын
Where were you when I first learned SQL five years ago... Incredible video, thank you!
@RK-wu3oe
@RK-wu3oe 27 күн бұрын
😂
@abrahamolaobaju2266
@abrahamolaobaju2266 13 сағат бұрын
i swear
@MarkJones-bc5vx
@MarkJones-bc5vx Ай бұрын
Your examples were easy to follow and very clear. You definitely have a gift for explaining complex things in a easy to understand way. Great job Alice.
@cdmaguire1
@cdmaguire1 4 күн бұрын
Wow! Super clear! You have a gift for organizing the information.
@Alice-at-Maven
@Alice-at-Maven 3 күн бұрын
Glad to hear it! Thank you for the kind words.
@abeleadekwu3825
@abeleadekwu3825 3 ай бұрын
Best SQL tutor ever, you are amazing!!!
@Alice-at-Maven
@Alice-at-Maven 3 ай бұрын
Thank you! Glad the video was helpful!
@pradeepyenni1723
@pradeepyenni1723 2 ай бұрын
Finally i understood how the SQL window functions ........................thank you soo much
@berj2421
@berj2421 4 ай бұрын
Amazing video! THE best educational video I have ever seen on KZbin. Short, simple, and straight to the point, Thank you, Alice! As someone with ADHD, it's hard to find videos where there isn't a lot going on the screen to distract me from the message, or the explanations aren't clear, or instructors are trying so hard to make sure viewers understand they start overexplaining and talking in circles. Even if I rewind and listen over and over, I can't pay attention long enough to get through the explanations and then I get angry at myself for not being able to listen. I know a lot of people won't understand this or think I'm exaggerating, but this video was so easy to follow (which never happens for me) I want to cry.
@Alice-at-Maven
@Alice-at-Maven 4 ай бұрын
You're welcome! I'm so happy to hear that ☺
@carlosserra1588
@carlosserra1588 8 ай бұрын
Great video on subqueries and window functions! @Alice Zhao, you have a knack for making complex concepts understandable. I especially appreciated how you broke down the window function. Looking forward to more content in this new format! #MavenAnalytics #SQL
@Alice-at-Maven
@Alice-at-Maven 8 ай бұрын
Thank you! We are working on it :)
@Morero1000
@Morero1000 4 ай бұрын
You explain so clearly and so well put. it just makes it so much easier to understand. Thank you!
@JhulanDey
@JhulanDey 2 ай бұрын
One of the best-in-class explanations!
@vivekprasad4747
@vivekprasad4747 28 күн бұрын
This video has the best explanation
@kikelomojaji2885
@kikelomojaji2885 3 ай бұрын
very straightforward and understandable in a simple format
@hiddenworld8280
@hiddenworld8280 2 ай бұрын
Loved the teaching style. Very simple yet effective explaination. Thanks!
@humzakhan766
@humzakhan766 4 ай бұрын
Just paused the video to say that you are just AMAZING. Thank you for such an eloquent explanation. God Bless you!
@Alice-at-Maven
@Alice-at-Maven 4 ай бұрын
Thank you! Glad you enjoyed the video ☺
@rodrigochavez7
@rodrigochavez7 8 ай бұрын
Always was difficult to me understand these concepts about Windows functions specifically but this video summarize a lot of videos with practical examples making easy to apply with confidence. Thank you Alice!
@Alice-at-Maven
@Alice-at-Maven 8 ай бұрын
You're welcome!
@sayowhatisuupmynaiba
@sayowhatisuupmynaiba 5 ай бұрын
Thank you for your videos, very insightful and easy to understand, straightforward without unnecessary talking.
@Alice-at-Maven
@Alice-at-Maven 5 ай бұрын
Glad you enjoyed it!
@rajeshantony74
@rajeshantony74 5 ай бұрын
crispy clear and to the point
@Yonathanmoure
@Yonathanmoure 2 ай бұрын
Brilliant Video! DENSE_RANK is just what I needed.
@graceoloche2129
@graceoloche2129 2 ай бұрын
I was having such a hard time grasping window functions, this really helped. Thank you
@souhardya1487
@souhardya1487 5 ай бұрын
your teaching style so good mam
@Alice-at-Maven
@Alice-at-Maven 5 ай бұрын
Thank you!
@Fin143
@Fin143 5 ай бұрын
The best explanation I've ever seen
@Alice-at-Maven
@Alice-at-Maven 5 ай бұрын
Thank you!
@AworexFX
@AworexFX Ай бұрын
Thank you, such a soothing video and straight to the point - More Grease !!!
@tauseefhashmi
@tauseefhashmi 5 ай бұрын
The best Window Function, Partition By and Row Number, Tried multiple videos and still couldn't understand properly, this video explains the concepts perfectly. Thank you so much @AliceZhao @MavenAnalytics 🙌🏻
@Alice-at-Maven
@Alice-at-Maven 5 ай бұрын
You're welcome!
@thepriestofvaranasi
@thepriestofvaranasi 2 ай бұрын
Best explanation ever. Also, the way you smile through the entire video is very cute lol. Love your smile.
@zewel9512
@zewel9512 17 күн бұрын
thanks for the explanation. Very thoroughly explained.
@shirinhashim
@shirinhashim 8 ай бұрын
Wow Alice. You have brilliantly explained window functions. I hope to see more content like this. Cheers
@Alice-at-Maven
@Alice-at-Maven 8 ай бұрын
Thank you! We are working on it, stay tuned!
@RoommateWiLLE
@RoommateWiLLE 4 ай бұрын
Straightforward and to the point! Thank you! I used to beat my head against the computer learning these years ago.
@Alice-at-Maven
@Alice-at-Maven 4 ай бұрын
You're welcome! Glad the video made it less painful this time around!
@mpholurking
@mpholurking 4 ай бұрын
Thanks for this simplified explanation, i had been having a hard time understanding window functions. I like that you give examples of a problem to answer.
@Alice-at-Maven
@Alice-at-Maven 4 ай бұрын
Glad it was helpful!
@rivalow2512
@rivalow2512 16 күн бұрын
Thanks, you made it easy to understand !
@Alice-at-Maven
@Alice-at-Maven 12 күн бұрын
Glad you found it helpful!
@muomer3318
@muomer3318 Ай бұрын
Thank you very much for your incredible effort
@jphd21
@jphd21 8 ай бұрын
Saving this video!! Fantastic explanation👏👏
@Alice-at-Maven
@Alice-at-Maven 8 ай бұрын
🙌
@gpisty8430
@gpisty8430 7 ай бұрын
Brava brava brava Alice! Very well done, clear and concise... also very useful and interesting
@Alice-at-Maven
@Alice-at-Maven 7 ай бұрын
Glad you enjoyed it!
@humemahkhalid891
@humemahkhalid891 Ай бұрын
That was such a sweet and simple explanation.May Allah bless you.
@marcelositonio2495
@marcelositonio2495 Ай бұрын
Great Summary!
@ordinaryBrownDad
@ordinaryBrownDad Ай бұрын
Thank you for covering the topic it helped me clear the concept of window function
@Alice-at-Maven
@Alice-at-Maven Ай бұрын
Glad to hear that!
@edieshaw7247
@edieshaw7247 7 ай бұрын
Finally understand window functions! Great tutorial.
@Alice-at-Maven
@Alice-at-Maven 6 ай бұрын
🙌
@sambeetpanda6919
@sambeetpanda6919 8 ай бұрын
Thanks so much for this ,finally understood the concept.
@Alice-at-Maven
@Alice-at-Maven 8 ай бұрын
Glad to hear that!
@stevenlomon
@stevenlomon 4 ай бұрын
Clear and amazing explanation, thank you so much!! 🙌
@Alice-at-Maven
@Alice-at-Maven 4 ай бұрын
You're welcome!
@pirate185
@pirate185 3 ай бұрын
Amazing explanations plus the smile 😄
@ajayhiremath629
@ajayhiremath629 Ай бұрын
Awesome Explaination🔥🔥
@laxmipraveen3083
@laxmipraveen3083 13 күн бұрын
Very helpful..loved it.
@Alice-at-Maven
@Alice-at-Maven 12 күн бұрын
Glad to hear that!
@roycemekolle7334
@roycemekolle7334 7 ай бұрын
She is a great teacher
@filipefrancelino8475
@filipefrancelino8475 22 күн бұрын
Nice content, thank you very much!
@lomidzedze
@lomidzedze Ай бұрын
Fun fact I was here just checking and I learned something )) Good explenation
@Gladieitor
@Gladieitor 9 күн бұрын
Muy bien explicado. Gracias.
@coolestviplov
@coolestviplov 2 ай бұрын
Awesome explanation 🙌🏻
@alihezarpisheh8350
@alihezarpisheh8350 3 ай бұрын
Solid Explanation! Thanks
@Alice-at-Maven
@Alice-at-Maven 3 ай бұрын
Glad you enjoyed it!
@sanjanashuklaa2031
@sanjanashuklaa2031 6 ай бұрын
amazingly explained
@jakubosiecki1796
@jakubosiecki1796 8 ай бұрын
If my wife would ever learned SQL she would love this dataset ;)
@Alice-at-Maven
@Alice-at-Maven 8 ай бұрын
Love this comment. It's one of my favorite data sets to work with!
@hypershadow9226
@hypershadow9226 2 ай бұрын
very informative. Thank you
@moody_moony123
@moody_moony123 3 ай бұрын
finally, I understand window functions, pitty I should have watech video before my last interview!!
@keagankemp6275
@keagankemp6275 4 ай бұрын
Wow, with your classes I will be a sql boss
@Alice-at-Maven
@Alice-at-Maven 4 ай бұрын
🙌
@TheSGOGS
@TheSGOGS 5 ай бұрын
Amazing explanation thank you
@Alice-at-Maven
@Alice-at-Maven 5 ай бұрын
Glad it was helpful!
@tomodachi7095
@tomodachi7095 2 ай бұрын
This helped me solve leetcode hard 185. Department Top Three Salaries
@vivektarab1959
@vivektarab1959 2 ай бұрын
0:03 - What are Windows Functions 0:53 - Descending se Popularity daalna h 2:36 - Now I wanna Pass Here 3:27 - Going down here 4:35 - First Value and Nth Value 4:40 - Lead and Lag
@mehdiabdennadher7407
@mehdiabdennadher7407 4 ай бұрын
thank you.
@martand_05
@martand_05 27 күн бұрын
Best video!
@Epic-so3ek
@Epic-so3ek 2 ай бұрын
super underrated
@aman-alytics
@aman-alytics 7 ай бұрын
Thanks for explanation ❤
@yosefbadwey1311
@yosefbadwey1311 4 ай бұрын
a lot of thanks, you so great, i got it, thankkkkks, i wish you a great day like you did mine,
@GenetSebehat
@GenetSebehat 8 ай бұрын
It is great explanation!
@shrishtimanja1849
@shrishtimanja1849 2 ай бұрын
how does one identify when to use the subquery? I thought limit by could have been used but instead the subquery was used. Could you explain that please?
@Alice-at-Maven
@Alice-at-Maven 2 ай бұрын
Great question! A LIMIT clause here would have only returned 3 rows overall, but in this case, we wanted to return the top 3 rows FOR EACH gender, which is why we used a subquery to be able to filter down the results.
@arneshguru4263
@arneshguru4263 6 ай бұрын
Nice explanation.
@codewkarim
@codewkarim 4 ай бұрын
CRYSTAL CLEAR, THANKS!
@Alice-at-Maven
@Alice-at-Maven 3 ай бұрын
You're welcome!
@konstantinvyacheslavovich8217
@konstantinvyacheslavovich8217 2 ай бұрын
Bro I stoped just to write thanks that is so cool how you explaining. thanks I have little more clear vision what is windows function.
@rss1322
@rss1322 Ай бұрын
just wow!
@smart7868
@smart7868 Ай бұрын
love it.
@williamdela8894
@williamdela8894 3 ай бұрын
please where is the dataset you used for the video
@Alice-at-Maven
@Alice-at-Maven 3 ай бұрын
Here you go! CREATE TABLE baby_names ( Gender VARCHAR(10), Name VARCHAR(50), Total INT ); INSERT INTO baby_names (Gender, Name, Total) VALUES ('Girl', 'Ava', 95), ('Girl', 'Emma', 106), ('Boy', 'Ethan', 115), ('Girl', 'Isabella', 100), ('Boy', 'Jacob', 101), ('Boy', 'Liam', 84), ('Boy', 'Logan', 73), ('Boy', 'Noah', 120), ('Girl', 'Olivia', 100), ('Girl', 'Sophia', 88);
@squidproxy136
@squidproxy136 7 ай бұрын
very useful, thanks
@omilkhouseo
@omilkhouseo 5 ай бұрын
GIRL THANK YOU better than this damn pluralsight course
@ChabPoha
@ChabPoha 5 күн бұрын
Wow loved this vid u have udemy courses ??
@MavenAnalytics
@MavenAnalytics 4 күн бұрын
Yep! Window functions are covered in Alice's Advanced SQL Querying course on Udemy: www.udemy.com/course/sql-advanced-queries/ It's also a part of the MySQL Specialist path on our Maven Analytics platform: mavenanalytics.io/path/mysql-specialist
@jiatongwu9903
@jiatongwu9903 2 ай бұрын
I love you you save my final
@thedatadonkeyy
@thedatadonkeyy Ай бұрын
Best explanation! Thank you for this tutorial @MavenAnalytics
@nik54610
@nik54610 2 ай бұрын
more videos on sql please
@MavenAnalytics
@MavenAnalytics 2 ай бұрын
They are in the works! In the meantime, check out our SQL tips playlist: kzbin.info/aero/PLGAnLqlBhx1F4pnuNANifJXth8YqDt4AY&feature=shared
@gurvindersingharora5301
@gurvindersingharora5301 8 ай бұрын
Hello Sir, Thank you for your useful videos on dax. Sir, when to combine ALL function with Calculate + Filter Function together in Dax ? Could you please make a video of it in detail soon 🙏
@rolipoli7601
@rolipoli7601 3 ай бұрын
I instantly understand subquery
@Alice-at-Maven
@Alice-at-Maven 3 ай бұрын
🙌
@iamstevenarmas
@iamstevenarmas 2 ай бұрын
Thank youuuuuuuuuuuu
@Alice-at-Maven
@Alice-at-Maven 2 ай бұрын
You're welcome!
@connectwithme3567
@connectwithme3567 4 ай бұрын
Very nice explanation, but where are lead and lag functions ?
@Alice-at-Maven
@Alice-at-Maven 4 ай бұрын
I briefly mention them at 4:31. They are two of many functions you can use when working with window functions. You can swap out the ROW_NUMBER() function with LEAD(Total) or LAG(Total) to get the next row's total and previous row's total values, respectively. I cover this more in depth in my Advanced SQL Querying course coming out next month on the Maven Analytics platform!
@lalopezcampeon3769
@lalopezcampeon3769 3 ай бұрын
wow
@Test-e1i
@Test-e1i 3 ай бұрын
so I'm going to add a new RRROowwrughhh. that low voice at the end
@sulthankhan2047
@sulthankhan2047 5 ай бұрын
Subscribed
@tusharsharma2359
@tusharsharma2359 6 ай бұрын
lovedthe video, hated the spoiled-newyork-cringe-Ahh-girl accent
Learn 12 Basic SQL Concepts in 15 Minutes (project files included!)
16:48
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
Learn 12 Advanced SQL Concepts in 20 Minutes (project files included!)
21:50
Querying 100 Billion Rows using SQL, 7 TB in a single table
9:07
Arpit Agrawal (Elastiq.AI)
Рет қаралды 59 М.
SQL Window Functions in 10 Minutes
10:13
Colt Steele
Рет қаралды 96 М.
SQL Crash Course for Beginners
45:52
Maven Analytics
Рет қаралды 15 М.
6 SQL Joins you MUST know! (Animated + Practice)
9:47
Anton Putra
Рет қаралды 250 М.
RANK, DENSE_RANK, ROW_NUMBER SQL Analytical Functions Simplified
9:42
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН