Autumn Offers - hours only!Up to 80% off on all courses and bundles.-Close
Ranking functions
Selecting n-th row


Perfect! It's now time to do an exercise where you will use all of the functions together and notice the subtle differences between them.


For each game, show its name, genre and date of release. In the next three columns, show RANK(), DENSE_RANK() and ROW_NUMBER() sorted by the date of release.

Stuck? Here's a hint!

An example ranking function from this query:

RANK() OVER(ORDER BY released)