[SQL] MySQL Solution
\nCREATE FUNCTION getNthHighestSalary(N INT) RETURNS INT\nBEGIN\nSET N = N - 1;\n  RETURN (\n      # Write your MySQL query statement below.\n      SELECT DISTI
```\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\n      FROM Employee\n      ORDER BY Salary DESC\n      LIMIT N, 1\n  );\nEND\n```
['MySQL']