现在的位置: 首页 > 综合 > 正文

sqlserver中插入不重复的数据!

2013年08月13日 ⁄ 综合 ⁄ 共 83字 ⁄ 字号 评论关闭

insert into a(a,b,c,d)  select a,b,c,d from b where not exists(select * from a where a.a=b.a) 

抱歉!评论已关闭.