My code: SELECT * from flights;
How do I select exactly 10 rows from the ‘flights’ table??
You can use LIMIT
.
SELECT column_name(s)
FROM table_name
LIMIT number;
For example:
SELECT *
FROM Persons
LIMIT 5;
1 Like