Syntax
Syntax
table-reference join-type table-reference
Vertica supports only equi-joins based on a primary key-foreign key relationship between the joined tables. See Adding Primary Key and Foreign Key Constraints in the Database Administrator's Guide for more information.
Syntax
column-reference
=
column-reference
Syntax
[ tablename. ] columnname
Semantics
tablename |
is one of:
|
columnname |
is the name of a column that must be unique across all the tables being used in a query |
Notes
Syntax
[ tablename. ] columnname
Semantics
tablename |
is one of:
|
columnname |
is the name of a column that must be unique across all the tables being used in a query |
Notes
Semantics
column-reference |
refers to a column of one the tables specified in the FROM clause. |
Notes
Semantics
table-reference |
is a table-primary or another joined-table. |
join-type |
is one of the following: INNER JOIN LEFT [ OUTER ] JOIN RIGHT [ OUTER ] JOIN |
join-predicate |
for an INNER JOIN, an equi-join based on a PRIMARY KEY-FOREIGN KEY constraint relationship between the joined tables. for an OUTER JOIN: an equi-join based on a PRIMARY KEY-join key relationship between the joined tables that does not involve a FOREIGN KEY constraint. |
Notes
Note to reviewers: "anchor table" may not be the right term. See note in Outer Joins.
Syntax
{ table-name [ AS ] alias
[ ( column-alias [ , ...] ) ] [ , ...] ]
| ( joined-table ) }
Syntax
table-reference join-type table-reference
Vertica supports only equi-joins based on a primary key-foreign key relationship between the joined tables. See Adding Primary Key and Foreign Key Constraints in the Database Administrator's Guide for more information.
Syntax
column-reference
=
column-reference
Syntax
[ tablename. ] columnname
Semantics
tablename |
is one of:
|
columnname |
is the name of a column that must be unique across all the tables being used in a query |
Notes
Syntax
[ tablename. ] columnname
Semantics
tablename |
is one of:
|
columnname |
is the name of a column that must be unique across all the tables being used in a query |
Notes
Semantics
column-reference |
refers to a column of one the tables specified in the FROM clause. |
Notes
Semantics
table-reference |
is a table-primary or another joined-table. |
join-type |
is one of the following: INNER JOIN LEFT [ OUTER ] JOIN RIGHT [ OUTER ] JOIN |
join-predicate |
for an INNER JOIN, an equi-join based on a PRIMARY KEY-FOREIGN KEY constraint relationship between the joined tables. for an OUTER JOIN: an equi-join based on a PRIMARY KEY-join key relationship between the joined tables that does not involve a FOREIGN KEY constraint. |
Notes
Note to reviewers: "anchor table" may not be the right term. See note in Outer Joins.
Semantics
table-name |
specifies a table in the logical schema. Vertica selects a suitable projection to use. |
alias |
specifies a temporary name to be used for references to the table. |
column-alias |
specifies a temporary name to be used for references to the column. |
joined-table |
specifies an outer join. |
Semantics
table-primary |
specifies an optionally qualified table name with optional table aliases, column aliases, and outer joins. |
joined-table |
specifies an outer join. |