반응형
[Oracle SQL] SELECT 실습_ DISTINCT
I DISTINCT
▶ 중복 제거
1. UNIQUE는 ORACLE 고유 SQL v. DISTINCT는 ANSI-SQL 표준
SELECT UNIQUE JOB FROM EMP;
SELECT DISTINCT JOB FROM EMP;
2. DISTINCT : NULL
SELECT DISTINCT COMM FROM EMP;
반응형
'ORACLE SQL > 01_SELECT 실습' 카테고리의 다른 글
[Oracle SQL] SELECT 실습_ ROWNUM (0) | 2018.12.31 |
---|---|
[Oracle SQL] SELECT 실습_ DECODE, CASE (0) | 2018.12.31 |
[Oracle SQL] SELECT 실습_ ORDER BY (0) | 2018.12.31 |
[Oracle SQL] SELECT 실습_ NULL (0) | 2018.12.31 |
[Oracle SQL] SELECT 실습_ DUAL (0) | 2018.12.26 |