Selecione a alternativa que indica a quantidade de regist...
drop table teste;
create table teste (
val NUMBER,
descricao varchar2(15)
);
insert all
into teste
into teste
SELECT level,
SUBSTR(dbms_random.string(‘U’,10),1,10)
from dual connect by level < 10;
commit;
SELECT val
FROM teste
WHERE val < 10 and val > 5
ORDER BY val DESC
FETCH FIRST 5 ROWS WITH TIES;