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

Code Example 1

$sql = "SELECT * FROM Orders LIMIT 30";

Code Example 2

SELECT * FROM `members` LIMIT 1, 2;

Code Example 3

SELECT * FROM Orders LIMIT 10 OFFSET 15
else
SELECT * FROM Orders LIMIT 15, 10
//Notice that the numbers are reversed when you use a comma.
/*
Akbarali yozgan. Bunda 16 yozudan olishni boshlab jami 10 ta yozuvni oladi
*/

Learn ReactJs, React Native from akashmittal.com