MySQL Forums
Forum List  »  PHP

Re: How to select only the first 10 rows on the database?
Posted by: Jay Pipes
Date: September 23, 2005 07:45AM

The LIMIT expression is *almost* equivalent to SQL Server's TOP command. Note, however, that the MySQL LIMIT expression supports an offset, which TOP does not, and that SQL Server's TOP command supports the WITH TIES expression, which MySQL's LIMIT does not.

Jay Pipes
Community Relations Manager, North America, MySQL Inc.

Got Cluster? http://www.mysql.com/cluster
Personal: http://jpipes.com

Options: ReplyQuote




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.