
IN versus EXISTS - are they the same?
6,744 views
121________
Intermediate level video on Structured Query Language.
The IN and EXISTS operators are sometimes viewed as "equivalent". They serve a similar purpose and are sometimes used to produce the same records. However, their underlying mechanisms are quite different. This example using the Northwind database demonstrates how NULLs are treated differently when using NOT IN versus NOT NULL.
コメント