select top 10 rows in mysql code example
Example 1: top 10 rows in mysql
select * from table_name ORDER BY id LIMIT 10;
Example 2: How to display top 50 rows?
In MySQL, top 50 rows are displayed by using this following query:
SELECT * FROM
LIMIT 0, 50;