A common mistake with IN() is to assume that it means "parse whatever I pass in the ()s" when it's actually a compile-time shortcut for longer form of:
WHERE x = a OR x = b OR x = c ...
Thus, IN() cannot be use in a dynamic sense. A common approach, instead is to use an ad hoc query that runs...