select a.id,a.oacode,a.custid,a.custname,a.xsz,a.salename,a.communicationtheme,a.communicationproperty,a.communicationtime,a.productmanager,'' creator,a.creator oaCreator,a.createdate,case when a.oastate='正常结束' then 3 else 0 end status from reception_flow a where (1=1) and (a.oastate='正常结束' or a.oastate='反馈中' or a.oastate='已反馈') and (select count(1) as num from technology_support s where s.oacode=a.oacode)=0
SQL存在一个表而不在还有一个表中的数据
转载本文章为转载内容,我们尊重原作者对文章享有的著作权。如有内容错误或侵权问题,欢迎原作者联系我们进行内容更正或删除文章。
下一篇:c语言中结构体指针
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章