你这个问题的前提是A和B是两个具有完全相同列结构的表。设她们都是只有两列,分别设为列1和列2.下面是SQL SERVER的查询语言insert into Bselect A.列1,A.列2 from A where not exist select * from B where A.列1=B.列1 and A.列2=B.列2