Back to Playground Home

Return the value at the Nth percentile

select percentile(int_field, 50),
       percentile(long_field, 50),
       percentile(double_field, 50),
       percentile(float_field, 50)
FROM users