--- IS NULL 연산자
select ename, sal, comm
from emp
where comm is null;  -- null은 존재하지 않는 값이기 때문에 수식기호를 사용 할 수가 없다.

select ename, sal, comm
from emp
where not comm is null; -- 부정표현 not column is null 또는 column is not null 로 표현할 수 있다.

'Program... > Oracle' 카테고리의 다른 글

Oracle Order By 절  (0) 2009.03.13
연산자 우선순위 규칙  (0) 2009.03.13
Oracle LIKE 연산자  (0) 2009.03.13
Oracle IN 연산자  (0) 2009.03.13
Oracle Between 연산자  (0) 2009.03.13
Posted by Duritz

공지사항

Yesterday
Today
Total
05-06 01:46

달력

 « |  » 2024.5
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31