select * from (select a1.*,rownum rn from(select * from emp) a1 where rownum<=10) where rn>=6;