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 functions together 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 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)