When you speak
the columns are the same
which means
number of columns and data types and their length and order
should be the same.
UNION
will include duplicate entries only once as a result and
UNION ALL
will include all duplicate entries.
source
share