燃气热水器
燃气热水器
全部文章
分类
题解(5)
归档
标签
去牛客网
登录
/
注册
燃气热水器的博客
全部文章
(共5篇)
嘿,小伙伴
声明: 不知道为啥 不能使用右外连接,本打算驱动表放前面 select a.last_name, a.first_name, b.dept_no from employees as a left join dept_emp as b on a.emp_no =...
2021-03-19
1
407
嘿嘿嘿·
select a.emp_no, a.salary, a.from_date, a.to_date, b.dept_no from dept_manager as b join salaries as a on b.emp_no = ...
2021-03-19
1
450
嘿嘿嘿
方案一 同上一条select * from employees a where a.hire_date in ( select distinct hire_date from employees order by hire_date desc limit 2,1 ) 方案二 有漏...
2021-03-19
1
372
嘿嘿嘿
方案一 先查询最晚入职时间,再根据最晚入职时间比对进而得出最晚入职的员工信息select * from employees as a where a.hire_date = (select max(hire_date) from employees) 方案二 使用limit语句(此方案具有局...
2021-03-19
12
785
获取当前(to_date='9999-01-01')薪水第二多的员工的emp_no以及其对应的薪水salary
求解:获取当前(to_date='9999-01-01')薪水第二多的员工的emp_no以及其对应的薪水salary建表语句:CREATE TABLE salaries (emp_no int(11) NOT NULL,salary int(11) NOT NULL,from_date date N...
2020-09-28
0
687