Group by on two columns does not seem to order 2nd column
Posted: Thu Apr 07, 2011 11:21 pm
Hi Vladimir,
I have a simple mysql script like:
select column1,column2 from table group by column1, column2
There are several column2 records for each column1.
However, in the report, it only sorts by column1 and the column2 is not in order. Any reason why?
Regards,
I have a simple mysql script like:
select column1,column2 from table group by column1, column2
There are several column2 records for each column1.
However, in the report, it only sorts by column1 and the column2 is not in order. Any reason why?
Regards,