medium 난이도의 문제 문제에서 원하는 바는 challenge 별 최고 값의 합을 hacker_id 기준으로 나타내는 것이다. 1. 먼저 hacker_id , challenge_id 기준으로 max(score) 값을 구하여 챌린지별 최상위 스코어를 구함. 2. 1번을 서브쿼리화 하여 최종적인 답을 구하면 된다. select hacker_id , name , sum(max_score) as total_scorefrom ( SELECT h.hacker_id as hacker_id , h.name as name , s.challenge_id as challenge_id , max(score) as max_score ..