mysql select top 10 code example
Example 1: mysql command line top 10
mysql> select *from DemoTable limit 0,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;
mysql> select *from DemoTable limit 0,10;
In MySQL, top 50 rows are displayed by using this following query:
SELECT * FROM
LIMIT 0, 50;