select first_name, last_name, job_id

from employ a

where exists (select 1 from dual b

where a.job_id = 'IT_PROG');


EXISTS 다음 서브쿼리가 결과값을 가지면 보여진다.

'Oracle' 카테고리의 다른 글

실행계획  (0) 2017.03.06
START WITH CONNECT BY  (0) 2017.02.23
OVER PARTITION BY  (0) 2017.02.22
EXPLAIN PLAN FOR  (0) 2017.02.20
rowid  (0) 2017.02.14

+ Recent posts