Top Earners

  • + 1 comment

    Sql server:

    select top 1 months * salary as earnings, count (*) from employee group by months * salary order by 1 desc