Is there a command akin to:
2nd highest salary from tbl_salary or
2nd highest salary from tbl_salary
4th highest salary from tbl_salary ?
4th highest salary from tbl_salary
// for highest salary of table
select salary from table order by salary desc limit 0,1
// for second highest salary
select salary from table order by salary desc limit 1,1
Using this query you get nth number of salary from table....