orcale 查询两个不同的条件的结果的差值(minus)

来源:互联网 发布:宁波java培训班 编辑:程序博客网 时间:2024/05/29 16:01
 select * from gongysb where id in (986771048, 1101771007,1101771002 )   minus   select * from gongysb where id in (986771048, 1101771007);--用途:insert gongysb  select * from gongysb where id in (986771048, 1101771007,1101771002 )   minus   select * from gongysb where id in (986771048, 1101771007)

1 0
原创粉丝点击