percentile_disc ( fraction double precision ) WITHIN GROUP ( ORDER BY anyelement ) → anyelementComputes the discrete percentile, the first value within the ordered set of aggregated argument values whose position in the ordering equals or exceeds the specified
fraction. The aggregated argument must be of a sortable type.