https://solvesql.com/problems/multiple-medalist/ https://solvesql.com/problems/multiple-medalist/ solvesql.com[풀이]SELECT a.nameFROM records r LEFT JOIN athletes a ON r.athlete_id = a.idLEFT JOIN teams t ON r.team_id = t.idLEFT JOIN games g ON r.game_id = g.idWHERE g.year >= 2000 AND r.medal IS NOT NULLGROUP BY a.idHAVING COUNT(DISTINCT t.id) >= 2ORDER BY a.name*주의: group by를 unique key값인 id로 하지 ..