Top Earners

  • + 0 comments

    MS-SQL

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