WITH

Teradata Vantageā„¢ SQL Functions, Expressions, and Predicates

brand
Software
Teradata Vantage
prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
category
Programming Reference
featnum
B035-1145-162K

Using the WITH clause, you can specify all Pivot columns using an asterisk (*) or a subset of columns on which the aggregation function needs to perform.

aggr_fn
An aggregate function.
column_list
A list of one or more columns. If the list contains more than one column, separate them with commas.
*
Option to include all the Pivot columns without specifying columns explicitly.
alias
Name of the aggregate result column.