Introduction
Ranking functions
Selecting n-th row
Summary

Instruction

Let's practice using RANK().

Exercise

For each game, show its name, genre, the date of the most recent update, and its rank based on the date of update. Use RANK() and name the new column Ranking.

Stuck? Here's a hint!

The previous example might help:

SELECT
  Name,
  Platform,
  EditorRating,
  RANK() OVER(ORDER BY EditorRating ASC) AS Ranking
FROM Game;