<br /> Hi!<br /><br /> I'm trying to order a list in which the first parameter to order is a specific field, and the
secondshould vary depending on a specific condition. More explicit, I would like to do something like:<br /><br /> -
ORDERBY a.column1, [b.column2 if c.value != 19 || c.column2 if c.value==19]<br /><br /> That is to say, use a column if
avalue on each row isn't 19, OR use a different column if it isn't. How could I solve this? I've got to have a global
orderover my query, so I cannot separate it into two queries, etc :-? <br /><br /> Thank you!<br /><br /><br />