Simple outer join on two tables
The following query uses the same Projection clause, tables,
and comparison condition as the preceding example, but this time it
creates a simple outer join in HCL®
OneDB® extension
syntax.
The addition of the keyword
OUTER
before
the cust_calls table makes it the subservient table. An outer
join causes the query to return information on all customers, whether
or not they have made calls to customer service. All rows from the
dominant customer table are retrieved, and NULL values are
assigned to columns of the subservient cust_calls table, as
the result shows.