16.20 - AS correlation_name - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL Data Definition Language Syntax and Examples

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Published
March 2019
Content Type
Programming Reference
Publication ID
B035-1144-162K
Language
English (United States)
Last Update
2019-05-24

An alias name for the user base table that is referenced by table_name.

The AS keyword preceding correlation_name is optional.

Correlation names are used to name table expressions and must always be specified for a self-join operation on the table.

Correlation names are also referred to as range variables.