Outer Joins - Teradata Database

SQL Data Manipulation Language

Product
Teradata Database
Release Number
15.10
Language
English (United States)
Last Update
2018-10-06
dita:id
B035-1146
lifecycle
previous
Product Category
Teradata® Database

The outer join is an extension of the inner join that includes both rows that qualify for a simple inner join as well as a specified set of rows that do not match the join conditions expressed by the query.

Because outer joins are as complicated to code correctly as they are to interpret, this section studies them in detail, including a carefully thought out case study and series of recommendations contributed by a Teradata database administrator.

There are three types of outer joins:

•     LEFT OUTER JOIN (see “Left Outer Join” on page 247)

•     RIGHT OUTER JOIN (see “Right Outer Join” on page 249)

•     FULL OUTER JOIN (see “Full Outer Join” on page 251)