开发者

Offset MySQL Without Limit [duplicate]

开发者 https://www.devze.com 2023-01-05 10:33 出处:网络
This question already has answers here: Clos开发者_如何学JAVAed 12 years ago. Possible Duplicate:
This question already has answers here: Clos开发者_如何学JAVAed 12 years ago.

Possible Duplicate:

Mysql Offset Infinite rows

Is it possible to specify a query in MySQL with a 'offset' but without a 'limit'. For example:

SELECT * FROM countries OFFSET 2

Fails, but:

SELECT * FROM COUNTRIES LIMIT 8 OFFSET 2

Works fine. I'd like to just specify the offset. Thanks!


Basically, no. Limit must be supplied. See this SO question for a solution.

0

精彩评论

暂无评论...
验证码 换一张
取 消