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

Ok, how about some practice?

Exercise

Show the Name, Size, and the rank (based on size) for each game. Use DENSE_RANK() and name the new column Ranking.

Stuck? Here's a hint!

Use the previous example as a guide:

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