Median
SQL
SELECT min(score), ROUND(PERCENTILE_CONT(0.50) WITHIN GROUP(ORDER BY score)::numeric, 2)::float AS median, max(score) FROM result;
6
5
4
4
4