Answer the question
In order to leave comments, you need to log in
Do I need an index on multiple WHERE IN() conditions?
The query will always take into account all fields, but it will look something like this:
SELECT * FROM someTable
WHERE
someId1 IN (0, findId1)
AND
someId2 IN (0, findId2)
AND ...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question