Master SQL Window Functions | ROW NUMBER with Example Use-case

preview_player
Показать описание
SQL Window Functions Explained In-Depth | A must-know topic for anyone preparing for SQL interviews!

🔍 What you’ll learn:
What are Window Functions
Use of ROW_NUMBER
Syntax of Window Functions
Role of Group By
Role of PARTITION BY
Role of ORDER BY
PARTITION BY on multiple columns
ORDER BY on multiple columns
Window Function Summary
Find top salary by department
Group By vs Window Functions
ROW_NUMBER with Example
Use case for Row number on retail_db tables

📝 Notes

👍 Like the video if it helped, and subscribe for more!

💬 Drop your questions in the comments

🔗 Follow me on different platforms!

Рекомендации по теме
Комментарии
Автор

Hi Sumit,

This was a useful video.
But it would be even better if you can provide the retail_db DDLs and the data to be inserted.


Regards,
Deepak.

vizdeep
Автор

Hi sir, could you please provide the link for database ?

sumitbisht
Автор

I have been using window functions for more than 3 years but I still face issue in doing the partition. For single partition its fine for me but whenever its multiple partitions I fumble. Could you please show examples where partitions for multiple columns are required at once

debojitmukherjee
Автор

Hi @Sumit Mittal Sir, can you provide retal_db DDLs as well as data inserted so it will help to others understand better.

ravikushwah
welcome to shbcf.ru