Re: Simple question: Does MySQL support top(n) function?
Posted by: Sammy Age
Date: February 14, 2005 04:57PM

Top is not supported in mySQL, you can use SELECT * FROM table LIMIT 5 to get the top 5 records

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

hope that helps

Options: ReplyQuote


Subject
Written By
Posted
Re: Simple question: Does MySQL support top(n) function?
February 14, 2005 04:57PM


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.