Need the result set of the SQL query in the order of the param values what i gave in the in function order.
mysql> select * from state where state_name in ("UP","AP","Orissa","MP");
+------------+
| state_name |
+------------+
| AP |
| MP |
| UP |
| Orissa |
+------------+
4 rows in set (0.00 sec)
Please suggest a solution that can help without using any extra insertions and creations.