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.
can you please check how my query is different from yours?
select h.hacker_id,h.name
from hackers h
join Submissions s on s.hacker_id =h.hacker_id
join challenges c on c.hacker_id =h.hacker_id
join difficulty d on d.difficulty_level = c.difficulty_level where s.score = d..score
group by h.hacker_id,h.name
Having
count(h.hacker_id)>1
order by h.hacker_id desc,
h.name 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 →
can you please check how my query is different from yours? select h.hacker_id,h.name from hackers h join Submissions s on s.hacker_id =h.hacker_id join challenges c on c.hacker_id =h.hacker_id join difficulty d on d.difficulty_level = c.difficulty_level where s.score = d..score group by h.hacker_id,h.name Having count(h.hacker_id)>1 order by h.hacker_id desc, h.name asc;