Self Join
Some parts in the output codes are omitted for clarity reasons.
Description
A self join is a join of a table to itself. This table appears twice in the
FROM
clause and is followed by table aliases that qualify column names in the join condition. (Oracle SQL Language Reference Self Join Subsection)
Sample Source Patterns
Order by clause added because the result order may vary between Oracle and Snowflake.
Check this section to set up the sample database.
Basic Self Join case
Oracle
IN -> Oracle_01.sql
Snowflake
OUT -> Oracle_01.sql
As proved previously the self join in Oracle is functionally equivalent to Snowflake.
Known Issues
No issues were found.
Related EWIs
No related EWIs.
Last updated