Hello,
I have made a select statement from a database and wonder if there is any possibillity to have two different 'order by'. If the first one doesn´t fit, the second one will be used.
Someting like: order by ($sortBy $order or 1)
Thank you for any answer
/Fumac
I have made a select statement from a database and wonder if there is any possibillity to have two different 'order by'. If the first one doesn´t fit, the second one will be used.
Someting like: order by ($sortBy $order or 1)
Thank you for any answer
/Fumac