SELECT t.dept_no, t.emp_no, t.salary from ( SELECT de.dept_no, de.emp_no, s.salary, DENSE_RANK() over ( PARTITION by de.dept_no order by s.salary desc ...