我想查询50号及以上的所有记录.因此,我不想做LIMIT 49,99999这样的事情,而是想知道是否有正式方式.
最佳答案
不,对不起从MySQL Documentation:
原文链接:https://www.f2er.com/mysql/433861.htmlTo 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;