MySQL Forums
Forum List  »  Newbie

Re: Do anyone know 2 find nth max or min
Posted by: Nick Roper
Date: August 12, 2004 07:34AM

Hi,

Your could try using a LIMIT clause, e.g:

Select ..........
ORDER BY sal DESC
LIMIT 4,1; (skips first 4 rows, returns next 1 row)

Nick

--
Nick Roper

Options: ReplyQuote


Subject
Written By
Posted
Re: Do anyone know 2 find nth max or min
August 12, 2004 07:34AM


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.