highest salary of a table code example
Example 1: nth highest salary
SELECT salary FROM Employee ORDER BY salary DESC LIMIT N-1, 1
Example 2: FIND OUT THE NAME HIGHEST SALARY SQL
SELECT FIRST_NAME FROM EMPLOYEES
WHERE SALARY = (SELECT MAX(SALARY) FROM EMPLOYEES);