MAVG

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

Purpose

Computes the moving average of a value expression for each row in a partition using the specified value expression for the current row and the preceding width-1 rows.

Type

Teradata-specific function.

Syntax