Skip to content

Top Earners

1. 문제

문제 확인하기

2. 정답 코드 (MySQL)

SELECT (MONTHS*SALARY) AS EARN, COUNT(*)
FROM EMPLOYEE
GROUP BY EARN
ORDER BY EARN DESC LIMIT 1;