Gerald B. answered 05/13/19
Experienced Statistics Tutor
If you have a lot of items to compare, IN is faster than OR. Even better is to save your long list of values in a temporary table and use a JOIN.
Gerald B. answered 05/13/19
Experienced Statistics Tutor
If you have a lot of items to compare, IN is faster than OR. Even better is to save your long list of values in a temporary table and use a JOIN.
Keenan R. answered 04/29/19
Experienced tutor in Computer Science
IN performs a binary search on the parameters given. OR evaluates parameters one by one in no particular order. Therefore, IN will always be faster in most situations.
Get a free answer to a quick problem.
Most questions answered within 4 hours.
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.