Skip to Main Content
SAS Certified Professional Prep Guide
book

SAS Certified Professional Prep Guide

by SAS Institute
October 2019
Intermediate to advanced content levelIntermediate to advanced
430 pages
19h 4m
English
SAS Institute
Content preview from SAS Certified Professional Prep Guide

Understanding Set Operators

Introducing Set Operators

You can combine the results of two or more queries by using set operators. Each of the four set operators—EXCEPT, INTERSECT, UNION, and OUTER UNION—selects rows and handles columns in a different way, as described below.
Note: In the comparison below, Table 1 is the table that is referenced in the first query, and Table 2 is the table that is referenced in the second query.
Set Operator
Treatment of Rows
Treatment of Columns
Example
EXCEPT
Selects unique rows from the first table that are not found in the second table.
Venn Diagram, EXCEPT Operator
Overlays columns based on their position in the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

SAS Certified Specialist Prep Guide

SAS Certified Specialist Prep Guide

SAS Institute
SAS in Practice

SAS in Practice

Ekta Saraogi

Publisher Resources

ISBN: 9781642954692