Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP Sybase SQL Anywhere 16.0 » SQL Anywhere Server - SQL Usage » Queries and data modification » Joins: Retrieving data from several tables » Inner and outer joins » Outer joins

 

Outer joins of views and derived tables

Outer joins can also be specified for views and derived tables.

The statement:

SELECT *
FROM V LEFT OUTER JOIN A ON (V.x = A.x);

can be interpreted as follows:

  • Compute the view V.

  • Join all the rows from the computed view V with A by preserving all the rows from V, using the join condition V.x = A.x.

 Example