The UNION ALL keywords
By default, the UNION keyword excludes duplicate rows.
To retain the duplicate values, add the optional keyword ALL, as the
following query shows.
The query uses the UNION ALL keywords to unite two SELECT
statements and adds an INTO TEMP clause after the final SELECT to
put the results into a temporary table. It returns the same rows as Query but also
includes duplicate values.