34,590
社区成员
发帖
与我相关
我的任务
分享
delete from wxq,t_wxq_lastmonthdata_old b
where wxq.intyear=b.intyear and wxq.intmonth=b.intmonth and wxq.itemnum=b.itemnum and wxq.deptnum=b.deptnum
delete from wxq where exists (select b.* from t_wxq_lastmonthdata_old b
where wxq.intyear=b.intyear and wxq.intmonth=b.intmonth and wxq.itemnum=b.itemnum and wxq.deptnum=b.deptnum)