Pular para o conteúdo

Fóruns SQL e PL/SQL [Dúvida] – Pegar última linha da tablela [Dúvida] – Pegar última linha da tablela

#87576
VINI85
Participante

    VALEU MONTEI UM SUBSELECT E FUNCIONOU…
    ABRAÇOS

    [quote=”RodrigoMesquita”:1emcihwp]Faz assim

    SELECT * FROM OWNER.TABELA TB
    WHERE TB1.FUNCIONARIO = ‘A’
    and rownum = 1
    order by 1 desc[/quote]