MySQL Forums
Forum List  »  Docs

document mistake?
Posted by: Jarod Liu
Date: August 30, 2007 09:52PM

http://dev.mysql.com/doc/refman/5.0/en/select.html

in the limit clause description block:
Quote

If LIMIT occurs within a subquery and also is applied in the outer query, the outermost LIMIT takes precedence. For example, the following statement produces two rows, not one:

(SELECT ... LIMIT 1) LIMIT 2;

in my test the result is 1 row

Options: Reply• Quote


Subject
Views
Written By
Posted
document mistake?
5240
August 30, 2007 09:52PM
3221
August 31, 2007 04:30AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.