MySQL Forums
Forum List  »  Newbie

Re: How to get only one row per person?
Posted by: Roland Bouman
Date: July 27, 2005 03:32AM

I think

select person, testnumber, max(grade)
from marks
group by person, testnumber

is what you need

Options: ReplyQuote


Subject
Written By
Posted
Re: How to get only one row per person?
July 27, 2005 03:32AM


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.