Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
Use the FROM clause to specify which base tables, temporary tables, views or derived tables to join. The FROM clause can be used in SELECT or UPDATE statements. An abbreviated syntax for the FROM clause is as follows:
FROM table-expression, ...
table | view | derived table | joined table | ( table-expression, ... )
table or view:
[userid.] table-or-view-name [ [ AS ] correlation-name ]
( select-statement ) [ AS ] correlation-name [ ( column-name, ... ) ]
table-expression join-operator table-expression [ ON join-condition ]
[ KEY | NATURAL ] [ join-type ] JOIN | CROSS JOIN
INNER | FULL [ OUTER ] | LEFT [ OUTER ] | RIGHT [ OUTER ]
You cannot use an ON clause with CROSS JOIN.
For the complete syntax, see FROM clause.
For the syntax of the ON clause, see Search conditions.