You are viewing a single comment's thread. Return to all comments →
From my HackerRank solutions.
SELECT salary * months AS earnings, COUNT(*) FROM Employee GROUP BY earnings ORDER BY earnings DESC LIMIT 1;
Let me know if you have any questions.
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 →
MySQL solution
From my HackerRank solutions.
Let me know if you have any questions.