Offset Limit
\nCREATE FUNCTION getNthHighestSalary(N INT) RETURNS INT\nBEGIN\n  DECLARE X INT;\n  SET X=N-1;\n  \n  RETURN (\n      SELECT Salary\n      FROM Employee\n     
```\nCREATE FUNCTION getNthHighestSalary(N INT) RETURNS INT\nBEGIN\n  DECLARE X INT;\n  SET X=N-1;\n  \n  RETURN (\n      SELECT Salary\n      FROM Employee\n      GROUP BY Salary\n      ORDER BY Salary DESC\n      LIMIT 1\n      OFFSET X\n  );\nEND\n```
[]