Check out example codes for "sql limit order by". It will help you in understanding the concepts better.

Code Example 1

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

Code Example 2

SELECT name
FROM column_names
ORDER BY name ASC
LIMIT 3;

Learn ReactJs, React Native from akashmittal.com