IT科技资讯

IT科技资讯

Oraclesqlnotin多字段比对示例

时间:2018.11.22 编辑:AG88

Oraclesqlnotin多字段比对示例
select * from (select 网易新闻t2.cadastralno parcelid,t1.pkid taxpayerid,t2.taxtype taxtype,t1.booktype taxpayertype,
t2.cadastralno parcelCadastralno,t2.landuser parcelLanduser,t1.payername taxpayerPayername
from grid_sysdb.bss_taxpayers t1,grid_sysdb.bbs_parcel t2,grid_sysdb.djsw_tddjxx t3
where t3.nsrdzdah = t1.pkid and t1.payername = t2.landuser)

where (parcelid,taxpayerid) not in(select p.parcelid,p.taxpayerid from bss_parceltaxpayerrel p)

not in多个字段

http://www.bkjia.com/oracle/879155.htmlwww.bkjia.comtruehttp://www.bkjia.com/oracle/879155.htmlTechArticleOraclesqlnotin多字段比对示例 select * from (select t2.cadastralno parcelid,t1.pkid taxpayerid,t2.taxtype taxtype,t1.booktype taxpayertype, t2.cadastralno parcelCadastralno,t...

本文源自: 环亚AG娱乐

上一篇:NoSQL常见存储方式 下一篇:没有了