[SQL 문제풀이]
https://www.hackerrank.com/challenges/earnings-of-employees/problem?isFullScreen=true 최고 소득자 | 해커랭크 직원이 버는 최대 금액과 최고 소득자(해당 금액을 버는 사람)의 수를 찾으십시오. www.hackerrank.com 문제 – 아래 표를 이용하여 가장 높은 연봉(월 x 급여)과 그 연봉을 받는 직원 수를 보고하십시오. # WHERE절 서브쿼리 사용 select months*salary as earnings ,count(employee_id) from Employee where (months * salary) = (select max(months*salary) from Employee) group by … Read more