3. 아래의 서브 쿼리를 완성하시오.
select ename, sal
from emp
where sal > (select max(sal) from emp where deptno = 30);
select emp.ename, emp.deptno, dept.dname from emp, dept where emp.deptno = dept.deptno;
select emp.ename, dept.dname, dept.loc from emp, dept where comm is not null and emp.deptno = dept.deptno;
select emp.ename, emp.job, dept.dname, emp.sal, salgrade.grade from emp, dept, salgrade where emp.deptno = dept.deptno and emp.sal between salgrade.losal and salgrade.hisal;
select max(sal) as Maximum, min(sal) as Minimum, sum(sal) as Sum, avg(sal) as Average from emp;