When a column-name refers to values of a column, exactly one object table must include a column with that name.
The following conditions are considered errors:
Avoid ambiguous references by qualifying a column-name with a uniquely defined table designator.
If the column is contained in several object tables with different names, the table names can be used as designators.
In the case that two or more of the object tables are instances of the same table and have the same name, you can use correlation-names to designate, unambiguously, the particular instances of the table.
For example, in the following FROM clause, X and Y are defined to refer, respectively, to the first and second instances of the table NAMETBL.
.
.
FROM NAMETBL X, NAMETBL Y
.
.
|
Copyright © 2014 CA.
All rights reserved.
|
|