I'm looking for a mysql select statement which lets me select several id's in one go, not just one - like this:
(obviously that statement does not work).Code:SELECT * FROM mytable WHERE id = [2, 5, 11]
I would prefer to do it in one statement rather than creating a loop doing it in multiple statemnts.
Can someone help me out?
Kindly,
Jonas
Bookmarks