177. Nth Highest Salary
```\nCREATE FUNCTION getNthHighestSalary(N INT) RETURNS INT\nBEGIN\n\nSET N = N-1;\n\n  RETURN ( SELECT DISTINCT Salary \n           FROM Employee \n           
```\nCREATE FUNCTION getNthHighestSalary(N INT) RETURNS INT\nBEGIN\n\nSET N = N-1;\n\n  RETURN ( SELECT DISTINCT Salary \n           FROM Employee \n           ORDER BY Salary DESC LIMIT N, 1);\n  \nEND
['MySQL']