Showing posts with label SQL UNION Operator. Show all posts
Showing posts with label SQL UNION Operator. Show all posts

Wednesday, June 26, 2013

SQL UNION Operator

SQL UNION Operator

The UNION operator is used to combine the result-set of two or more SELECT statements.

SELECT column_name(s) FROM table1
UNION
SELECT column_name(s) FROM table2;