I want to get the name of the employee who has the minimum salary. Is there a way to do this using only one query? I have given my query below, it doesn\'t work because the
How about using ROWNUM?
ROWNUM
SELECT * FROM(SELECT first_name, salary FROM Employees ORDER BY salary ) WHERE ROWNUM = 1