Informatics Practices

Are UNION and UNION ALL the same ? Why ?

SQL Joins & Grouping

1 Like

Answer

No, UNION and UNION ALL are not same. UNION ALL will retain all the duplicate rows from tables in the final output while UNION will remove the duplicate rows from the final output.

Answered By

2 Likes


Related Questions