When I select a set of rows from a table using IN, e.g.
SELECT x.y, x.z FROM x WHERE x.id IN (23, 55, 44, 12)
is there an SQL trick to get them back in the order given in the IN set?
So in the example, assuming x has rows with ids 23, 55, 44 and 12, those four rows would be returned in that order.