What the difference between UNION and UNIONALL?
Ask by Anonymous User
Updated 21 Sep 2020
Both commands combines the tables with common fields except ‘UNION’ displays all the rows from objects without looking at duplicate records whereas ‘UNION ALL’ looks for it and displays only unique records. Thus ‘UNION’ it slower than ‘UNION ALL’
Union will remove the duplicate rows from the result set while Union All doesn’t.