select rownum,last_name,salary from(select rownum,last_name,salary from employees order by salary desc) where rownum>=6 and rownum<=10;
这条语句为什么查询不到任何结果
select rownum,last_name,salary from(select rownum,last_name,salary from employees order by salary desc) ;
这条语句查询到的结果是

加了条件就查询不到结果了,但是我将条件改下
select rownum,last_name,salary from(select rownum,last_name,salary from employees order by salary desc) where rownum>=1 and rownum<=5;
这样却可以查到结果,结果如下

这是为什么?