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.
Not sure if i am correct but if you have a hacker which submitted multiple times to the same competition with a full score then with this query you will falsely select him in the top positions right?
Wouldn't it be better if in the same exact query we had
HAVING COUNT(DISTINCT s.challenge_id)>1 instead?
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 →
Not sure if i am correct but if you have a hacker which submitted multiple times to the same competition with a full score then with this query you will falsely select him in the top positions right? Wouldn't it be better if in the same exact query we had HAVING COUNT(DISTINCT s.challenge_id)>1 instead?