(no title)
methodover | 6 years ago
It’s extremely common to want to OR a small set of items. It feels like the compiler would be smart enough to use an index (presuming one exists matching the searches fields), but it doesn’t. UNION makes it use the index.
It’s a nice tool to have in your kit.
(At least not in 5.6 or 5.7.)
No comments yet.