M.201905171615875
M.201905171615875
全部文章
题解
归档
标签
去牛客网
登录
/
注册
M.201905171615875的博客
全部文章
/ 题解
(共2篇)
获取所有员工当前的manager
1.联结什么,部门一致 de.dept_no = dm.dept_no #找自己的经理当然是部门一致,不是员工号 2.限制条件是什么:两表的当前日期、当员工自己就是经理时,不显示自己的经理 de.to_date = '9999-01-01...
2020-11-26
1
462
选择不在另一张表中的数据
查找不在另一张表中的数据,思路: 1. not in + 子查询 select emp_no from employees where employees.emp_no not in (select emp_...
2020-11-26
1
490