AS expression_alias - Teradata VantageCloud Lake

Lake - Working with SQL

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Published
February 2025
ft:locale
en-US
ft:lastEdition
2025-11-21
dita:mapPath
jbe1714339405530.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
jbe1714339405530

A required unique alias for a SUM, COUNT, MIN, MAX, or extracted year or month expression.

The keyword AS preceding expression_alias is optional.

All expressions specified in the select list must be aliased. Otherwise, Vantage returns an error to the requestor.

This name permits further use of the result as the grouping key for a GROUP BY clause or the ordering key for an ORDER BY clause.