Oracle
 sql >> Base de Dados >  >> RDS >> Oracle

Usando a função MIN na cláusula having


Que tal usar ROWNUM ?
SELECT *
FROM(SELECT first_name, salary
     FROM Employees
     ORDER BY salary
) WHERE ROWNUM = 1