Job category:Data Science & Analytics

SQL Ranking Functions: ROW_NUMBER, RANK, DENSE_RANK, and NTILE

Learn to select one row per entity, compare ranking functions when values tie, find top-selling products within each category, and segment customers into spend quartiles. By the end, you can use window-based rankings to solve common online-shop reporting problems.
SQL
4 lessons
12 practices
2 hours
Badge for SQL and NoSQL Data Querying,

Course details

Selecting First Customer Orders
Build Order History Report
Build First Order Report
Find Latest Customer Orders

Turn screen time into skills time

Practice anytime, anywhere with our mobile app.
Sign up

Join the 1M+ learners on CodeSignal

Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal