MySQL - Simple solution using only LIMIT, OFFSET
```\nCREATE FUNCTION getNthHighestSalary(N INT) RETURNS INT\nBEGIN\nSET N = N -1;\n  RETURN (\n      # Write your MySQL query statement below.\n      SELECT DIS
```\nCREATE FUNCTION getNthHighestSalary(N INT) RETURNS INT\nBEGIN\nSET N = N -1;\n  RETURN (\n      # Write your MySQL query statement below.\n      SELECT DISTINCT Salary AS \'getNthHighestSalary\'\n      FROM Employee\n      ORDER BY Salary DESC\n      LIMIT 1 OFFSET N\n  );\nEND
[]