MYSQL limit offset

limit n,m is equivalent to limit m offset n
For example:
SELECT * from task limit 1,5;
SELECT * from task limit 5 OFFSET 1;
the query results are the same. Many articles have been copied and copied for a long time without explaining it clearly, so I will summarize it in a simple and clear way.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326931746&siteId=291194637