7.9. Summary
When one or more relationships or connections between disparate pieces of data are needed, the PROC SQL join construct is used (see section 7.3.1).
You use a join to relate one table with another through a process known as column matching (see section 7.3.2).
You can assign table aliases to tables to minimize the number of keystrokes when referencing a table in a join query (see section 7.5.4).
When a query is placed inside the predicate of another query, it is called a subquery. Put another way, a subquery is a SELECT statement that is embedded in the WHERE clause of another SELECT statement (see section 7.7).
The IN predicate permits PROC SQL to pass multiple values from the subquery to the main query without producing an error (see ...
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.
Read now
Unlock full access