1
drop table #temp1
drop table #temp2
create table #temp1 (id int identity, A int, B int)
create table #temp2 (id int identity, A int, B int)
insert into #temp1 values (20, 1001)
insert into #temp1 values (20, 1001)
insert into #temp1 values (30, 1001)
insert into #temp2 values (20, 1001)
在SQL的帮助下,我需要找出#temp1中的第二行和第三行不存在于#temp2中。比较两个表的数据
如何找到它?
您正在使用哪些DBMS? –