select * from (
select distinct product_id A, product_id as seq
from product_inf A
where
A.PRODUCT_GUBUN='L'
minus
select distinct product_id as A, SUBSTR(B.brd_seq,2, 13) as seq
from product_inf A, brd_list1_set B
where
SUBSTR(B.brd_seq,0,1) = 'L'
and A.product_id = SUBSTR(B.brd_seq,2, 13)
'Infra > DataBase' 카테고리의 다른 글
[SQL] nls_parameters 확인 (0) | 2009.10.09 |
---|---|
오라클 버젼확인 (0) | 2009.10.09 |
[SQL] 쿼리롹인 (0) | 2009.10.09 |
[SQL] 다중업데이트 (0) | 2009.10.09 |
DataBase 커낵션코드 (0) | 2009.10.09 |
댓글