how to pull 3rd maximum record sql code example Example: n highest salary in sql SELECT salary FROM Employee ORDER BY salary DESC LIMIT N-1, 1