We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
select A.hacker_id, B.name from Submissions A
Inner Join Hackers B on A.hacker_id = B.hacker_id
INNER JOIN Challenges C ON A.challenge_id = C.challenge_id
INNER JOIN Difficulty D ON C.difficulty_level = D.difficulty_level
Where A.score = D.score
Group by A.hacker_id, B.name
having count() > 1
order by COUNT() DESC, A.hacker_id ASC
Cookie support is required to access HackerRank
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 →
select A.hacker_id, B.name from Submissions A Inner Join Hackers B on A.hacker_id = B.hacker_id INNER JOIN Challenges C ON A.challenge_id = C.challenge_id INNER JOIN Difficulty D ON C.difficulty_level = D.difficulty_level Where A.score = D.score Group by A.hacker_id, B.name having count() > 1 order by COUNT() DESC, A.hacker_id ASC