177_Nth Highest Salary
Write a SQL query to get thenthhighest salary from theEmployee
table.
For example, given the above Employee table, thenthhighest salary wheren= 2 is200
. If there is nonthhighest salary, then the query should returnnull
.
Solution
MySQL can only take numeric constants in the LIMIT syntax.
Last updated