--查询相同数据
select [字段名]或[*]
from [表名称1]
intersect
select [字段名]或[*]
from [表名称2]
--查询不同数据
select [字段名]或[*]
from [表名称1]
except
select [字段名2]或[*]
from [表名称]
时间: 2024-10-12 01:14:01
--查询相同数据
select [字段名]或[*]
from [表名称1]
intersect
select [字段名]或[*]
from [表名称2]
--查询不同数据
select [字段名]或[*]
from [表名称1]
except
select [字段名2]或[*]
from [表名称]