find nth max salary from any table.