SQL Server Set Operators: UNION, INTERSECT, and EXCEPT

Did you know you can do set-based math with SQL Server? With the UNION, INTERSECT, and EXCEPT set operators, you can compare one result set to another and add or subtract results, called a compound query. This can be a handy tool for your toolbox. This is very similar to Oracle Set Operators: UNION, INTERSECT and MINUS … Continue reading SQL Server Set Operators: UNION, INTERSECT, and EXCEPT

Oracle Set Operators: UNION, INTERSECT and MINUS

Did you know you can do set-based math with Oracle? With the UNION, INTERSECT and MINUS set operators, you can compare one result set to another and add or subtract results, called a compound query. This can be a handy tool for your toolbox. First, a couple of things to keep in mind. The number of … Continue reading Oracle Set Operators: UNION, INTERSECT and MINUS