Sélectionnez les 10 premières lignes de SQL
SELECT TOP 10 * FROM Customers;
Nimorum
SELECT TOP 10 * FROM Customers;
syntax -> SELECT column_name(s)
FROM table_name
WHERE ROWNUM <= number
////example///
SELECT *
FROM Persons
WHERE ROWNUM <=5
In MySQL, top 50 rows are displayed by using this following query:
SELECT * FROM
LIMIT 0, 50;