A Left Outer is a join that shows:
In some databases, LEFT JOIN is called LEFT OUTER JOIN.
table1 (inner set) | table2 (outer set) |
|
---|---|---|
Column ID | Column ID | Column ID_2 |
A | A | |
B | B | A |
D | C | C |
select table1.id "ID_table1", table2.id "ID_table2"
from table1 LEFT OUTER JOIN table2
on table1.id = table2.id;
ID_table1 ID_table2
---------- ----------
A A
B B
D
All the data from the table1 appears even if for the value D, we don't have any match with the table1.