Inandjo:
The LIMIT clause, as hos2 has said, can return a number of rows, starting with a given position. But keep in mind that MySQL starts counting rows from 0.
So something like "LIMIT 10, 5" will return the 11th through 15th records. Think of the first number as being the number of records to skip.
Also, "LIMIT 0, 10" ("return 10 rows, skipping 0 rows" or "return the first 10 rows" can be abbreviated "LIMIT 10".
The LIMIT clause is documented as part of the SELECT query documentation:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.