MYSQL:

select salaries.*,dept_manager.dept_no 
from salaries join dept_manager
on salaries.emp_no=dept_manager.emp_no
order by salaries.emp_no;

 

posted on 2021-10-12 08:11  Sempron2800+  阅读(29)  评论(0编辑  收藏  举报