Top Earners

  • + 1 comment

    select salary*months, count(*) from employee where salary*months = (select max(salary*months) from employee) GROUP BY SALARY*MONTHS THIS IS OPTIMAL