查询出 KING 所在部门的工作年限最大的员工名字
select e.ename, e.hiredate, e.deptno from emp e where e.hiredate = ( select min(hiredate) from emp where deptno in ( select deptno from emp where ename = 'KING' ) ) and e.deptno = ( select deptno from emp where ename = 'KING' );