Skip to content

178. Rank Scores 👍

1
2
3
4
SELECT
  score,
  DENSE_RANK() OVER(ORDER BY score DESC) AS `rank`
FROM Scores;