1.第一条SQL not in 的写法,不推荐,(有坑)
如果not in 里面
SELECT B.RELEVANT_ID FROM T_COMPANY_DECIDE B where B.PROCESS_STATUS ='newly' and B.IS_DEL = '0'
RELEVANT_ID 存在空的情况,查询记录会空
标签:RELEVANT,方式,ID,DEL,DECIDE,替换,SELECT From: https://www.cnblogs.com/wanqiang/p/17867180.html