I am using the following SQL to select records from MySQL database:
SELECT * FROM cms_product WHERE id IN (3,22,1);
The results order equals "ORDER BY id ASC", so as in example records 1,3,22 are returned. How can I get them ordered in the exact way as typed in IN clause? So ordered as 3,22,1 ? Thank you.