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.
what am I doing wrong I am getting No response on stdout
SELECT h.hacker_id,h.name FROM Hackers h JOIN Challenges c
ON h.hacker_id = c.hacker_id JOIN difficulty d
ON c.difficulty_level = d.difficulty_level JOIN Submissions s
ON c.challenge_id = s.challenge_id
WHERE s.score = d.score
GROUP BY h.hacker_id,h.name
HAVING COUNT(DISTINCT s.challenge_id) > 1 ORDER BY COUNT(DISTINCT s.challenge_id) DESC, h.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 →
what am I doing wrong I am getting No response on stdout
SELECT h.hacker_id,h.name FROM Hackers h JOIN Challenges c ON h.hacker_id = c.hacker_id JOIN difficulty d ON c.difficulty_level = d.difficulty_level JOIN Submissions s ON c.challenge_id = s.challenge_id WHERE s.score = d.score GROUP BY h.hacker_id,h.name HAVING COUNT(DISTINCT s.challenge_id) > 1 ORDER BY COUNT(DISTINCT s.challenge_id) DESC, h.hacker_id ASC