MySQL偏移无限行

我想构建一个查询,在表中显示所有结果,但从表的开头偏移5.据我所知,MySQL的LIMIT需要一个限制和一个偏移量.有没有办法做到这一点?
最佳答案
MySQL Manual on LIMIT

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;

转载注明原文:MySQL偏移无限行 - 代码日志