SELECT salary * months, count(*)
FROM employee
GROUP BY salary * months DESC
LIMIT 1;

(문제 출처 - https://www.hackerrank.com/domains/sql)

+ Recent posts