Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Ranking functions
Selecting n-th row
Summary

Instruction

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

Exercise

For each game, show its name, genre, and date of release. In the next three columns, show each game's RANK(), DENSE_RANK() and ROW_NUMBER() sorted by the date of release. Name these columns Rank, DenseRank, and RowNumber

Stuck? Here's a hint!

Here's an example ranking function for this query:

RANK() OVER(ORDER BY ReleaseDate ASC)