GET TOP 10 ROWS SQL code example
Example 1: select top 10 rows in sql
SELECT TOP 10 * FROM Customers;
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;
SELECT TOP 10 * FROM Customers;
In MySQL, top 50 rows are displayed by using this following query:
SELECT * FROM
LIMIT 0, 50;