in reply to Re^3: SQL GROUP BY Clause
in thread SQL GROUP BY Clause
I believe you should resist the urge of answering a clear homework question, as this node says.
However, if you really must, at least check that you are answering the right question. Which was about the order of columns in a GROUP BY clause, not the order of values in the result set.
In Section
Seekers of Perl Wisdom