开发者

Offset MySQL Without Limit [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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜