MYSQL || Easy approach
Here is my MYSQL code for this problem.\n\n# Code\n\nCREATE FUNCTION getNthHighestSalary(N INT) RETURNS INT\nBEGIN\ndeclare x int;\nset x=N-1;\n  RETURN (\n    
Here is my MYSQL code for this problem.\n\n# Code\n```\nCREATE FUNCTION getNthHighestSalary(N INT) RETURNS INT\nBEGIN\ndeclare x int;\nset x=N-1;\n  RETURN (\n      # Write your MySQL query statement below.\n      select salary from Employee group by salary order by salary desc limit x,1\n  );\nEND\n```
['MySQL']