In MySQL, how do I select only rows with certain values for a given column?

Let’s say I have this table…

user_id | first_name | last_name

How would I go about selecting the contents of the rows which correspond to the user_id’s 1, 2, & 3?
I want to use these rows later to display their contents in a list to the user.

Leave a Reply


Hire Me
Follow Me!
Most Popular Articles & Pages
Because your vote is Important
Sorry, there are no polls available at the moment.