sql limit order by
snippet in sql

sql sort ascending limit

user6449

SELECT name
FROM column_names
ORDER BY name ASC
LIMIT 3;

sql limit order by

user9506

SELECT expressions
FROM tables
[WHERE conditions]
[ORDER BY expression [ ASC | DESC ]]
LIMIT number_rows [ OFFSET offset_value ];