AS expression_alias - Teradata Database

SQL Data Definition Language Syntax and Examples

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Teradata Database
Release Number
20.00
Publication Date
June 2025
Content Type
SQL Reference
Publication ID
B035-1144-200K
ft:locale
en-US
ft:lastEdition
2026-09-23
dita:mapPath
mbm1747160743883.ditamap
dita:ditavalPath
jlp1749501702948.ditaval
ft:sourceId
dita
dita:id
mdr1472255012272
lifecycle
latest

A mandatory 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, the system 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.