get top 10 rows mysql code example Example: top 10 rows in mysql select * from table_name ORDER BY id LIMIT 10;