如果以以下方式写到NOT询问,两者之间有何区别。
SELECT iBatchID,COUNT(*) FROM #temp WHERE NOT iBatchID IN (1) GROUP BY iBatchID
SELECT iBatchID,COUNT(*) FROM #temp WHERE iBatchID NOT IN (1) GROUP BY iBatchID
如果使用<代码>,两者之间有何区别。 WHERE NOT iBatchID IN (1) and WHERE iBatchID NOT IN (1)
?