select rownum as RANK, last_name,salary from (select last_name,salary from employees order by salary desc) where rownum <= 3 ;