MySQL Forums
Forum List  »  Newbie

Re: A simple but nasty query ... (group by line order)
Posted by: Peter Heiberg
Date: August 12, 2004 08:52AM

What should happen to the c?

If it doesn't matter the query below would do:
SELECT a, MAX(b), c
FROM test
GROUP BY A;

And in that case I don't see the point in returning c.

Regards,
Peter

Options: ReplyQuote


Subject
Written By
Posted
Re: A simple but nasty query ... (group by line order)
August 12, 2004 08:52AM


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.