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
you may use offset
SELECT name FROM mydb ORDER BY score DESC LIMIT 10 OFFSET 10
here, offset indicates that from where next 10 data will show. you may also use below :
SELECT name FROM mydb ORDER BY score DESC LIMIT 10, 10