O SQL Oracle tira apenas os últimos resultados
select * from table_name ORDER BY primary_id DESC FETCH FIRST 1 ROWS ONLY;
Jimmy McGill
select * from table_name ORDER BY primary_id DESC FETCH FIRST 1 ROWS ONLY;