MySQL Forums
Forum List  »  Newbie

Re: select max sum
Posted by: Umesh Shastry
Date: June 01, 2005 08:11AM

Hi!!

Try this..

SELECT col1,col2,col3 FROM tableName ORDER BY total DESC LIMIT 3

Or just want to know top 3...

SELECT total FROM tableName ORDER BY total DESC LIMIT 3

Regards,
Umesh Shastry
http://www.blogger.com/profile/02551756983528645221

Options: ReplyQuote


Subject
Written By
Posted
June 01, 2005 04:41AM
Re: select max sum
June 01, 2005 08:11AM


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.