I need to select some records from a table where a column value is equal to any of the values in a list.
This can be done using either IN operator (like WHERE column IN (v1, v2, ...)) or multiple OR operators (like WHERE column = v1 OR column = v2, ...).
When should I use either of these ways?
There’s no benefit, MySQL will transform an IN-Clause to these or-statements in parsing and optimizing this query;)
IN() is simply for shorter and more readable querys, use it when possible.