Skip to content
RED SAGSkills
hard20 pts · first answer countswindow-functionssql

Median per department in PostgreSQL

An analyst writes PERCENTILE_CONT(0.5) WITHIN GROUP (ORDER BY salary) OVER (PARTITION BY dept) in PostgreSQL and gets an error. Why?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions