Yes, of course, perhaps in MYSQL:
The LIMIT clause can be used to limit the number of rows returned by the SELECT statement. LIMIT takes one or two numeric arguments, which must be non-negative integer constants (except when prepared statements are used).
With two arguments, the first argument indicates the offset of the first row to return, and the second indicates the maximum number of rows to return. The start line offset is 0 (not 1):
SELECT * FROM tbl LIMIT 5,10; # Retrieve rows 6-15
To get all rows from a specific offset to the end of the result set, you can use some large number for the second parameter. This statement extracts all rows from the 96th row to the last:
SELECT * FROM tbl LIMIT 95,18446744073709551615;
Using one argument, the value indicates the number of rows returned from the beginning of the result set:
SELECT * FROM tbl LIMIT 5; # Retrieve first 5 rows
In other words, LIMIT row_count is equivalent to LIMIT 0, row_count.
source share