union clause in sql code example Example: union in sql UNION: COMBINES THE RESULT OF 2 QUERY AND REMOVES DUPLICATE ROWS AND SORTS BY FIRST COLUMN