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.
Oracle Solution:
select h.hacker_id, h.name from hackers h
left join submissions s on s.hacker_id = h.hacker_id
left join challenges c on c.challenge_id = s.challenge_id
inner join difficulty d on d.difficulty_level = c.difficulty_level and d.score = s.score
group by h.hacker_id, h.name having count(c.challenge_id) >1 order by count(c.challenge_id) desc,h.hacker_id;
Reach me for an clarifications.
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 →
Oracle Solution: select h.hacker_id, h.name from hackers h left join submissions s on s.hacker_id = h.hacker_id left join challenges c on c.challenge_id = s.challenge_id inner join difficulty d on d.difficulty_level = c.difficulty_level and d.score = s.score group by h.hacker_id, h.name having count(c.challenge_id) >1 order by count(c.challenge_id) desc,h.hacker_id; Reach me for an clarifications.