IN 술어

IN 술어는 값 하나를 값 세트에 비교합니다.

다음 두 가지 양식 중 하나를 가질 수 있습니다.
expression [NOT] IN  ( subselect )
expression [NOT] IN  ( value1, value2,  .... ) 

ValueN은 리터럴 값이나 입력 매개변수일 수 있습니다. 표현식은 참조 유형으로 평가될 수 없습니다.

예: IN 술어

e.salary IN ( 10000, 15000 )
은 다음과 동등합니다.
( e.salary = 10000  OR  e.salary = 15000 )
e.salary IN ( select  e1.salary from EmpBean e1 where e1.dept.deptno = 10)
은 다음과 동등합니다.
e.salary = ANY   ( select  e1.salary from EmpBean e1 where e1.dept.deptno = 10) 
e.salary NOT IN ( select  e1.salary from EmpBean e1 where e1.dept.deptno = 10)
은 다음과 동등합니다.
e.salary <> ALL    ( select  e1.salary from EmpBean e1 where e1.dept.deptno = 10)

주제 유형을 표시하는 아이콘 개념 주제



시간소인 아이콘 마지막 업데이트 날짜: last_date
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=cque_in
파일 이름:cque_in.html