J
jeremy
Video
NOT EXISTS Correlated Subquery Versus LEFT JOIN for Finding Unmatched Rows in T-SQL
The anti-join — selecting rows of one table that have no matching row in another — can be expressed either as an outer join filtered on a null on the unmatched side, or as a `NOT EXISTS` correlated s…