I have a mysql table with salary field in it. How to get 5th Max value of salary in maximum. Please help me regarding this
Rank the results by Salary in descending order and add a Limit at the end to only retrieve the 5th result (as first record is 0 then its LIMIT 4, 1; at the end of the statement)