27. SQL> select empno, ename, hiredate
2 from scott.emp
3 order by hiredate desc
4 fetch LAST 5 rows only;
fetch LAST 5 rows only
*
ERROR at line 4:
ORA-00905: missing keyword
27
28. SQL> select *
2 from (
3 select empno, ename, hiredate
4 from scott.emp
5 order by hiredate asc
6 fetch first 5 rows only
7 )
8 order by hiredate desc;
EMPNO ENAME HIREDATE
---------- ---------- ---------
7698 BLAKE 01-MAY-81
7566 JONES 02-APR-81
7521 WARD 22-FEB-81
7499 ALLEN 20-FEB-81
7369 SMITH 17-DEC-80 28