菜题送上 select distinct * from table1 where num not in (select distinct num from table2) 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select * into #t1 from table1delete #t1 from table2 where table2.num = #t1.numselect distinct * from #t1 select distinct * from table1 left outer join table2on table1.num = table2.numwhere table2.num is null; 找位机器上有SQL2008的朋友帮我改一下数据库结构 冰天雪地 裸体 跪求sql 触发器不触发的原因如何分析? 如何阻止删除表中记录 如何用一个SQL语句,把某月所有的天数列出来。 触发器同步两个数据库的问题 模糊查询 请教大家一个WEB开发中的数据分页问题 两个游标是否可以同时使用 这个是不是 sql server2012 order by 的bug ? 请问怎么学习数据库呀 如何將多個 text型態的字段相加後賦給另一個text型字
delete #t1 from table2 where table2.num = #t1.num
select distinct * from #t1
left outer join table2
on table1.num = table2.num
where table2.num is null;