SELECT name FROM mydb ORDER BY score DESC LIMIT 10;
The query above will return the first 10 ranks.
How to modify the LIMIT, o
LIMIT
SET @rank = 0; SELECT rank, name, score FROM ( SELECT @rank := @rank +1 AS rank, name, score FROM mydb ORDER BY score DESC LIMIT 100 ) X WHERE rank >= 10;