* Nested Subquery: 내부 쿼리를 먼저
- The inner query executes first and finds a value
- The outer query executes once, using the value from the inner query
* Correlated Subquery: 외부 쿼리를 먼저
- Get a candidate row (fetched by the outer query)
- Execute the inner query using the value of the candidate row
- Use the values resulting from the inner query to qualify or disqualify the candidate
- Repeat until no candidate row remains
'Oracle > SQL Fundamentals II' 카테고리의 다른 글
14일차 # 6-12: Select Case (0) | 2012.04.23 |
---|---|
14일차 # 6-11: 상호관련 서브쿼리 (0) | 2012.04.23 |
14일차 # 6-7: Scalar Subquery (0) | 2012.04.23 |
14일차 # 6-3: Pairwise vs. Nonpairwise (컬럼 비교) (0) | 2012.04.23 |
14일차 # 5-28: Conversion functions (0) | 2012.04.23 |