Why would an IN condition be slower than "=" in sql?

Viewed 7866

Check the question This SELECT query takes 180 seconds to finish (check the comments on the question itself).
The IN get to be compared against only one value, but still the time difference is enormous.
Why is it like that?

4 Answers
Related