SQL Window Functions | Clearly Explained | PARTITION BY, ORDER BY, ROW_NUMBER, RANK, DENSE_RANK
Maven Analytics Maven Analytics
40.5K subscribers
3,860 views
0

 Published On Jun 5, 2024

SQL Pocket Guide author Alice Zhao breaks down each part of a window function, step-by-step.


🔗 Helpful Links:

👉 MySQL Specialist Learning Path:
https://mavenanalytics.io/path/mysql-...

👉 Follow Alice:
  / alicexzhao  

👉 Follow Maven Analytics:
  / maven-analytics  

👀 Looking to learn (Excel/SQL) this summer? Join our upcoming Immersives and build job-ready skils in just 10 weeks!
https://bit.ly/3wPwoPw

⏱️ Timestamps ⏱️
00:00 Intro
0:09: View the table
0:28: ORDER BY
1:18: Window function with ROW_NUMBER
1:40: OVER
2:36: Breaking down the window function
3:28: ROW_NUMBER vs RANK vs DENSE_RANK
5:13: PARTITION BY
6:52: Window function in a subquery

At Maven Analytics, we empower everyday people with life-changing data & AI skills.

Head to http://mavenanalytics.io and master in-demand tools like Excel, SQL, Power BI, Tableau, Python and more. Design your own personalized learning plan and get started for FREE!

Looking for more opportunities to sharpen your skills? Explore sample datasets and practice solving real business problems with unique, expert-led guided projects: https://mavenanalytics.io/guided-proj...

show more

Share/Embed