Speeding up SQL queries by orders of magnitude using UNION – Foxhound Systems

SQL’s UNION operation isn’t usually regarded as a way to optimize query performance, but in many cases it can be used to achieve massive improvements in speed.