Pracownicy, ktorych zarobki sa wyzsze niz maks. pensja
z departamentu 'SALES';


select ename, job, sal
from emp
where sal> (select max(sal)
            from emp
            where deptno= (select deptno
 			from dept
			where dname='SALES'));

