trainingtrains Logo

91-9990449935

 0120-4256464

Oracle SELF JOIN

Self Join is a specific type of Join. In Self Join, a table is joined with itself (Unary relationship). A self join simply specifies that each rows of a table is combined with itself and every other row of the table.

Syntax

Oracle SELF JOIN Example

Let's take a table "customers".

Oracle Self Join

Join this table using SELF JOIN as follows:

Output

Oracle Self Join 2
Next TopicOracle CROSS JOIN