1、新建一个查询,用以下SQL语句
select 表1.字段1, 表1.字段2, 表1.字段3 from 表1
where not exists (select 1 from 表2 where 表1.字段1 = 表2.字段1 and 表1.字段2 = 表2.字段2 and 表1.字段3 = 表2.字段3)
union all
select 表2.字段1, 表2.字段2, 表2.字段3 from 表2
where not exists (select 1 from 表1 where 表1.字段1 = 表2.字段1 and 表1.字段2 = 表2.字段2 and 表1.字段3 = 表2.字段3)
2、可以利用宏,做一个导出 Excel 功能,选择导出来源为上面的查询就可以