LIMIT в MySQL

puzer

Новичок
LIMIT в MySQL

Как указать что бы поиск производился от заданной позиции, до бесконечности

LIMIT 10, 10000000 - можно конечно так, но должен же быть более правильный вариант ....
 

ZN

Новичок
To retrieve all rows from a certain offset up to the end of the result set, you can use some large number for the second parameter. This statement retrieves all rows from the 96th row to the last:

SELECT * FROM tbl LIMIT 95,18446744073709551615;
 
Сверху