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 h.name,s.hacker_id,s.score from Submissions s
join Challenges c on s.challenge_id = c.challenge_id
join Difficulty d on d.difficulty_level = c.difficulty_level
join Hackers h on h.hacker_id = s.hacker_id
where d.score = s.score
group by s.hacker_id,s.score,h.name
having count(s.hacker_id) > 1
order by s.score desc,s.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 h.name,s.hacker_id,s.score from Submissions s join Challenges c on s.challenge_id = c.challenge_id join Difficulty d on d.difficulty_level = c.difficulty_level join Hackers h on h.hacker_id = s.hacker_id where d.score = s.score group by s.hacker_id,s.score,h.name having count(s.hacker_id) > 1 order by s.score desc,s.hacker_id asc;