【发布时间】:2020-05-26 10:51:50
【问题描述】:
这是我的查询
select * from table as a
where a.* not in
(select * from table B)
我想有两个表之间的差异有一个特定的功能?
【问题讨论】:
-
你可能在
EXCEPT之后。样本数据和预期结果将帮助我们在这里为您提供帮助。A* NOT IN (SELECT *...没有任何意义;您需要比较WHERE中的标量值
标签: sql tsql sql-server-2017