create table temp AS SELECT salary from EMPLOYEE where rownum<3 order by salary desc;
select sum(salary) from TEMP;
SALARY ---------- 21000 16500
SALARY ---------- 21000 18000
EMP_NAME Salary Bonus -------------- --------------------