select a.dept_no, a.emp_no, b.salary from dept_emp a,salaries b where a.emp_no = b.emp_no and (a.dept_no, b.salary) in( select de.dept_no, max(salary) over (partition by de.dept_no) as maxSalary from dept_emp de, salaries sa where de.emp_no = sa.emp_no) order by a.dept_no
1

相关推荐

微风不断:兄弟,你把四旋翼都做出来了那个挺难的吧
点赞 评论 收藏
分享
牛客网
牛客企业服务