Check out example codes for "sql limit to 5 results". 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 ];
Learn ReactJs, React Native from akashmittal.com