Swapping doesn't matter - AND operator is commutative and optimizer usually picks the least costly part to evaluate first.
Try with index on a.col3 or a.col4.
------ heisenbug: A bug that disappears or alters its behavior when one attempts to probe or isolate it schroedinbug: A bug that doesn't appear until someone reads source code and realizes it never should have worked, at which point the program promptly stops working for everybody until fixed.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.