I have a MySQL query that searches for rows with a column value belonging to a very large set:
SELECT * FROM table
WHERE col IN (someVal1, someVal2, someVal2, ...);
and the set with someVal1, someVal2, someVal3, ...
contains thousands of entries. This makes the query pretty difficult to read because that line takes up so much space. Is there a better way to check if a column value is in this set without writing the full set directly into the query?