MEDIAN Function | VantageCloud Lake - MEDIAN - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
Language
English (United States)
Last Update
2024-04-03
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905

For numeric values, returns the middle value or an interpolated value that is the middle value after the values are sorted. Nulls are ignored in the calculation.

The function returns the same data type as the data type of the argument.

ANSI Compliance

This statement is a Teradata extension to the ANSI SQL:2011 standard.

Type

MEDIAN is an aggregate function.