Problem 569 · Hard

Median Employee Salary

Write a SQL query to find the median salary of each company, returning the id, company and salary of the median row(s) per company.

Open the interactive visualisation