Top Competitors

  • + 0 comments

    SELECT S.hacker_id,H.name FROM Submissions as S LEFT JOIN Challenges as C on C.challenge_id=S.challenge_id LEFT JOIN Difficulty as D on C.difficulty_level=D.difficulty_level LEFT JOIN Hackers as H on H.hacker_id=S.hacker_id Where S.score=D.score Group by S.hacker_id,H.name having Count()>1 Order by Count() desc, S.hacker_id asc