Introduction
Ranking functions
Selecting n-th row
Revision

Instruction

Ok, how about some practice?

Exercise

Use DENSE_RANK() and for each game, show name, size and the rank in terms of its size.

Stuck? Here's a hint!

Use the previous example to help you:

SELECT
  name,
  platform,
  editor_rating,
  DENSE_RANK() OVER(ORDER BY editor_rating)
FROM game;

Console

Code editor

Result

TableConsole