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