Sector file // sql
SQLDECODED.
Joins, indexes & queries
82 Questions56.6k Views3.4k Upvotes
15 easy51 med16 hard
Medium
3 questionsTop-N per group with RANK() OVER (PARTITION BY) โ how do you get top 2 per department without collapsing rows?
DSA ยท 1.2k views ยท window-functions, rank, partition
Views:1.2kLikes:74
What is the difference between ROW_NUMBER, RANK, and DENSE_RANK?
DSA ยท 741 views ยท window, ranking
Views:741Likes:7
What are window functions?
DSA ยท 479 views ยท window-functions
Views:479Likes:78
Hard
1 questionSeen a SQL question that is not here? Add it and help the next candidate.
Share a question