Back to Browse

UNION Operator (SQL) - Combining Results (UNION, UNION ALL)

4.6K views
Oct 6, 2022
1:22

In SQL, the UNION and UNION ALL operators combine results from two or more SELECT statements. However, when doing so, it requires that those results have the same columns in the same order with similar datatypes. Also, as a note, UNION will only include unique values, whereas UNION ALL will include duplicates.

Download

1 formats

Video Formats

360pmp41.6 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

UNION Operator (SQL) - Combining Results (UNION, UNION ALL) | NatokHD