SELECT s1.Score,
(SELECT COUNT(DISTINCT s.Score) FROM Scores s WHERE s.Score >= s1.Score) AS Rank
FROM Scores s1
ORDER BY s1.Score DESC;
SELECT s1.Score,
(SELECT COUNT(DISTINCT s.Score) FROM Scores s WHERE s.Score >= s1.Score) AS Rank
FROM Scores s1
ORDER BY s1.Score DESC;