How to find third or nth maximum salary from salary table(EmpID, EmpName, EmpSalary) in optimized way?
table(EmpID, EmpName, EmpSalary)
To get third highest value from table
SELECT * FROM tableName ORDER BY columnName DESC LIMIT 2, 1