LIMIT
Clause
Limit result amount
Limits record amount of result.
SQL
SELECT * FROM [table]
WHERE [filters]
ORDER BY [columns]
LIMIT [number]
1
2
3
4
2
3
4
Limit With Offset
This statement will skip the first amount of [offset]
records and finally return amount of [number]
from the top.
SQL
SELECT * FROM [table]
WHERE [filters]
ORDER BY [columns]
LIMIT [offset], [number]
1
2
3
4
2
3
4