16.20 - MAVG - Teradata Database

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

prodname
Advanced SQL Engine
Teradata Database
vrm_release
16.20
created_date
March 2019
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