SELECT * FROM T1 WHERE id IN (1,2);
MySQL query to get Records in Result set
Question
I have table T1.
id | name | surname
1 AA XX
2 BB YY
3 CC ZZ
I want such query which will return
all data of rows, where id=1 & id =2
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow