Hackerrank - Top Earners solution

Problem link

Solution one:

select months*salary as e,count(*) from employee group by e order by e desc limit 1;
Previous
Next