How to request a few lines selectively?

Good day, tell me solution, I want to query multiple data tables so she brought them to me at go
Here is a query for the 1st time SELECT * FROM `name` WHERE `id`='2'
And how can you make so I can't specify the ID 1 and several for example 55 142 210
March 23rd 20 at 18:39
2 answers
March 23rd 20 at 18:41
Solution
SELECT * FROM `name` WHERE `id` IN (55, 142, 210);
March 23rd 20 at 18:43
Solution
SELECT * FROM `name` WHERE `id` IN (55, 142, 210)

Find more questions by tags MySQL