MEDIAN

    Aggregate functions

    Syntax

    MEDIAN( value )
    

    Description

    Returns the median value.

    Argument types:

    • valueAny

    Return type: Same type as (value)

    Examples

    MEDIAN([Profit])
    

    Data source support

    Materialized Dataset, ClickHouse 1.1