Without the MEDIAN function, find each department's median salary using ROW_NUMBER and COUNT windows. Return dept_id and median_salary (departments with staff, not NULL).
5 rows with columns dept_id, median_salary
Run your code to see the output here.