Correlated subqueries cannot be evaluated independently,
but depend on the values passed to them by the outer query for their
results. Correlated subqueries are evaluated for each row in the outer
query and therefore tend to require more processing time than noncorrelated
subqueries.
Note: Usually, a PROC SQL join
is a more efficient alternative to a correlated subquery. You should
already be familiar with basic PROC SQL joins.