What is the difference between UNION and UNION ALL?
UNION
UNION ALL
In very simple words the difference between UNION and UNION ALL is that UNION will omit duplicate records whereas UNION ALL will include duplicate records.