Skip to content

MEDIAN

MEDIAN(COLUMN_EXPRESSION)

Compute the median over the column/group/window. Supported on all numeric types.

Returns NULL if the input is all NULL or empty.