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