选择联合:
select * from table1 union select * from table1_backup
选择交叉点的查询是什么?
在SQL Server中交叉
select * from table1 intersect select * from table1_backup
SELECT * FROM table1 WHERE EXISTS (SELECT * FROM table1_backup WHERE table1.pk = table1_backup.pk)
作品