views:

33

answers:

1

Is it possible to do SET OPERATIONS using more than one column in the SELECT clause?

For example:

SELECT NAME, AGE FROM tableA
MINUS
SELECT NAME, AGE from tableB
+3  A: 

Yes - see the MINUS example.

They operate on the column(s) in the SELECT clause, and require the data types, not the column names, to match in order to work.

OMG Ponies