标签:select man table sub 领导 code and sql 部门
SELECT s.*, d.dept_no FROM salaries AS s , dept_manager AS d WHERE s.to_date=‘9999-01-01‘ AND d.to_date=‘9999-01-01‘ AND s.emp_no=d.emp_no;
SQL实战——03. 查找各个部门当前(to_date='9999-01-01')领导当前薪水详情以及其对应部门编号dept_no
标签:select man table sub 领导 code and sql 部门
原文地址:https://www.cnblogs.com/sinodragon21/p/12673956.html