Level 4 - Mid-LevelQuery-Based Questions
Department Median Salary (Window Approach)
Return department_id and median_salary using window numbering logic.
Schema Context
employees(id, department_id, salary)
Return department_id and median_salary using window numbering logic.
employees(id, department_id, salary)