You are viewing a single comment's thread. Return to all comments →
Just optimized solution-
select (salary * months) as earnings, count(*) from employee group by 1 desc limit 1;
Seems like cookies are disabled on this browser, please enable them to open this website
Top Earners
You are viewing a single comment's thread. Return to all comments →
Just optimized solution-
select (salary * months) as earnings, count(*) from employee group by 1 desc limit 1;