IN versus EXISTS - are they the same?
Database by Doug
0:00 / 0:00
IN versus EXISTS - are they the same?
7 494 просмотра · 7 лет назад
Database by Doug
8,49 тыс. подписчиков
7 494 просмотра · 7 лет назад
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.