INNER JOIN条件和WHERE CLAUSE条件之间的性能差异

时间:2018-05-10 10:22:27

标签: sql-server performance inner-join where-in

我在以下两个条件中查询了哪种情况执行

SELECT EXISTS(SELECT * FROM USER WHERE UserID = 20070022)

Scenario 1

INNER JOIN [BigTable] b ON a.[BigTableID] = b.[BigTableID] AND b.[Condition] IN ('A','B','C')

Scenario 2

0 个答案:

没有答案