You are viewing a single comment's thread. Return to all comments →
Cleaned one that works
SELECT s.hacker_id, h.name FROM Submissions S JOIN Challenges C ON S.challenge_id = C.challenge_id JOIN Difficulty D ON C.difficulty_level = D.difficulty_level JOIN Hackers H ON S.hacker_id = H.hacker_id WHERE S.score = d.score GROUP BY h.hacker_id, h.name HAVING COUNT(s.hacker_id) > 1 ORDER BY COUNT(s.hacker_id) DESC, s.hacker_id
Seems like cookies are disabled on this browser, please enable them to open this website
Top Competitors
You are viewing a single comment's thread. Return to all comments →
Cleaned one that works