I have a MySQL query
Code:
SELECT `Id`, `Info`
FROM `tbl1`
WHERE `Id` = 5 OR `Id` = 1 OR `Id` = 3
I want it returned as
Code:
5, info5
1, info1
3, info3
Im not looking for
position - position looks at the order of
Id - Im looking for the value of
Id.
Is there any way to accomplish this ? Or would I need to execute 3 separate queries ?
Thanks