Hacker News new | ask | show | jobs
by Sesse__ 2 days ago
It certainly could, and MySQL has a number of such rewrites, just not that specific one AFAIK. (You'd need to worry about things like picking out the IN part from a series of tests within the OR trees if there are other conditions in there, but it's certainly possible.)