I have a table like this:
ID KEY
15 hello
16 world
17 done
I want to select rows 15 and 17. I tried this:
SELECT * FROM USERSMETA where ID=15,17
But it’s not working. What can I do instead?
Try this
SELECT * FROM USERSMETA where ID in(15,17);
OR
SELECT * FROM USERSMETA where ID=15 OR ID=17;
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments