MySQL Forums
Forum List  »  InnoDB

Re: Sort (ORDER BY) by a comma-separated list of related fields using MySQL 4.1?
Posted by: Roland Bouman
Date: March 02, 2006 07:07PM

OK - thanks for the info (I'm running something like this on 5 - works).

what happens if you add an alias in the select list to tha group_concat expression and order by that:

select ...
, ...
, ...group_concat() aName
from....
where...
order by , ...
, ...group_concat( aName




Edited 1 time(s). Last edit at 03/02/2006 07:10PM by Roland Bouman.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Sort (ORDER BY) by a comma-separated list of related fields using MySQL 4.1?
2093
March 02, 2006 07:07PM


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.