You are viewing a single comment's thread. Return to all comments →
I write the below query and it is giving the same answer but why it is wrong ?
select h.hacker_id, h.name, sum(s.score) as sc from hackers h INNER JOIN submissions s ON h.hacker_id=s.hacker_id group by h.hacker_id,h.name having sc>0 order by sc desc,h.hacker_id
Seems like cookies are disabled on this browser, please enable them to open this website
Contest Leaderboard
You are viewing a single comment's thread. Return to all comments →
I write the below query and it is giving the same answer but why it is wrong ?