Where table-ref can be a table-name, view-name, or alternate-join-type. If table-ref is a table-name or view-name, it names:
If table-ref is an alternate-join-type, see the information about joins in Left Outer Joins.
You can reference up to 20 tables in a FROM clause of a query when you are performing a join. For example, if a view is based on five tables, you can name that view in the FROM clause and up to 15 other tables. The names must be separated by commas.
The intermediate result table contains all possible combinations of the rows of the named tables or views. Each row of the result is a row from the first table or view concatenated with a row from the second table or view, concatenated in turn with a row from the third, and so on. The number of rows in the result is the product of the number of rows in all the named tables or views.
The list of names in the FROM clause must conform to these rules:
The 1- to 18-byte correlation-name applies to the table or view named by the immediately preceding table-name or view-name. The correlation name can be used elsewhere in the statement to designate that table or view. Use a blank to separate the correlation name from the table-name or view-name.
|
Copyright © 2014 CA.
All rights reserved.
|
|