-- 1. 가장 오래 근무한 사원에 관한 모든 데이터를 검색하라 select * from employee where title = '사원' and hiredate = 2; -- 13. 직급이 대리인 사원이 적어도 2명 이상 속한 부서의 이름을 검색하라. select deptname from department, employee where title = '대리' and dno = deptno group by deptname having count(*) >= 2; -- 14. 모든 부서에 대해서 이름, 층, 각 부서에 근무하는 사원 수를 검색하라 사원이 없는 부서도 포함시켜라. select deptname, floor, count(dno) from department left join employee on ..