Let’s assume the table has 110 rows. The following skips the first 10 rows and returns the other 100:
SELECT ... FROM ... ORDER BY ... LIMIT 10, 100
Is there a way to replace 100
by whatever is left?
Desired pseudo-code:
SELECT ... FROM ... ORDER BY ... LIMIT 10, *
3
Answers
Not sure about the execution time though.
This is returning the number of available rows
SELECT Statement