median(expression: numeric or duration) -> expression

Return the fast approximate median value of one column.

Domain

This is an aggregate function (aggregates rows over a group in aggregate verbs).

This is a window function (calculates over a group of multiple input rows using windowing).

Categories