–对比查询
–临时表 :把要匹配的数据导入进去 和目标表进行比对,
对应数据字段关联
select * from 临时表 a
where not EXISTS (select 1 from rsas_spm.目标表 b where a.orderno=b.orderno )
– not EXISTS 可以查询出来,哪些没有匹配上的。
11-20
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交