Outer Join
Description
Oracle ANSI syntax
[ query_partition_clause ] [ NATURAL ]
outer_join_type JOIN table_reference
[ query_partition_clause ]
[ ON condition
| USING ( column [, column ]...)
]outer_join_type
{ FULL | LEFT | RIGHT } [ OUTER ]column_expression (+)Snowflake ANSI syntax
Sample Source Patterns
1. ANSI syntax
Left Outer Join On
Oracle
Snowflake
Right Outer Join On
Oracle
Snowflake
Full Outer Join On
Oracle
Snowflake
2. Natural Outer Join
Natural Left Outer Join
Oracle
Snowflake
Natural Right Outer Join
Oracle
Snowflake
3. Basic Outer Join with USING
Left Outer Join Using
Snowflake
4. (+) Operator
Left Outer Join with (+) operator
Oracle
Snowflake
Right Outer Join with (+) operator
Oracle
Snowflake
Single table joined with multiple tables with (+)
Oracle
Snowflake
Using (+) operator with a column from a not-joined table and a non-column value
Oracle
Snowflake
Known issues
1. Converted Outer Joins to ANSI syntax might reorder de columns
Oracle
Snowflake
2. Outer joined between predicate with an interval with multiple tables
Oracle
Snowflake
Related EWIs
Last updated