a_horse_with_no_name the answer is good,
but just so that you understand why you are doing the 1st request and your second is not:
, Oracle rownum , , rownum , , , - rownum 1 . - .
, rownum, :
SELECT *
FROM (SELECT * , rownum rn
FROM (SELECT salary, first_name
FROM employees
ORDER BY salary ) )sq
WHERE sq.rn >= 3;
a_horse_with_no_name , ...
EDIT: , :
with t as (
select 'a' aa, 4 sal from dual
union all
select 'b' aa, 1 sal from dual
union all
select 'c' aa, 5 sal from dual
union all
select 'd' aa, 3 sal from dual
union all
select 'e' aa, 2 sal from dual
order by aa
)
select sub.*, rownum main_rn
from (select t.*, rownum sub_rn from t order by sal) sub
where rownum < 4
sub rownum rownum, .,