Presentation is loading. Please wait.

Presentation is loading. Please wait.

SQL set operators and modifiers.

Similar presentations


Presentation on theme: "SQL set operators and modifiers."— Presentation transcript:

1 SQL set operators and modifiers.
5 SQL set operators and modifiers.

2 Basic Syntax proc sql; select * from t1 intersect from t2 ; quit;
EXCEPT UNION OUTER UNION

3 Types of Set Operators Set operators vertically combine rows from two result sets. There are four set operators: Except Union Intersect Outer Union

4 Default Behavior of Set Operators
Columns are matched by position and must be the same data type. Column names in the final result set are determined by the first result set. INTERSECT EXCEPT UNION All columns from both result sets are selected. OUTER UNION


Download ppt "SQL set operators and modifiers."

Similar presentations


Ads by Google