오라클 집합 연산자
SET Operators 를 집합 연산자라고 하는 것 같다.
집합 연산자의 종류
1. UNION
- All distinct rows selected by either query
- 합집합, 결과값의 중복 제거
2. UNION ALL
- All rows selected by either query, including duplicates
- 합집합, 결과값의 중복 허용
3. INTERSECT
- All distinct rows selected by both queries
- 교집합, 결과값의 중복 제거
4. INTERSECT ALL
- All rows selected by both queries including duplicates
- 교집합, 결과값의 중복 허용
5. MINUS
- All distinct rows selected by ther first query but not the second
- 차집합, 결과값의 중복 제거
6. MINUS ALL
- All rows selected by the first query but not the second including duplicates
- 차집합, 결과값의 중복 허용
7. EXCEPT
- All distinct rows selected by the first query but not the second
- 차집합, 결과값의 중복 제거
8. EXCEPT ALL
- All rows selected by the first query but not the second including duplicates
- 차집합, 결과값의 중복 허용
* MINUS 와 EXCEPT , MINUS ALL 과 EXCEPT ALL 의 차이점은 아직 잘 모르겠다.