nth highest salary in sql using correlated subquery code example Example: n highest salary in sql SELECT salary FROM Employee ORDER BY salary DESC LIMIT N-1, 1