MySQL Forums
Forum List  »  Newbie

Re: equivalent for rownum in mysql
Posted by: Andrew Gilfrin
Date: July 15, 2005 06:28AM

Can't remember is there is one. What do you want to use it for?

If it's to limit the number of rows returned you can use the limit clause

select * from emps limit 2;

Andrew Gilfrin
------------------
http://gilfster.blogspot.com
My MySQL related Blog

http://www.mysqldevelopment.com
MySQL Stored Procedure,Trigger, View.... (Just about most things these days) Information

Options: ReplyQuote


Subject
Written By
Posted
Re: equivalent for rownum in mysql
July 15, 2005 06:28AM


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.