Antijoin
Last updated
Last updated
An antijoin returns rows from the left side of the predicate for which there are no corresponding rows on the right side of the predicate. It returns rows that fail to match (NOT IN) the subquery on the right side. Antijoin transformation cannot be done if the subquery is on an
OR
branch of theWHERE
clause. ().
No special transformation is performed for this kind of Join since Snowflake supports the same syntax.
The result of the query will have the same content in both database engines but the order might be different if no Order By clause is defined in the query.
SSC-EWI-0108: This subquery matches a pattern considered invalid and may cause compilation errors.