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