select userid , sum(score) from comments where userid <>...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Engineering Meta

Q&A about the site for professionals and students of engineering

--in the name of god
select  userid , sum(score)
from comments 
where userid <>all(select ownerUserId from posts )
group by userid
having count(*)>10
order by sum(score) desc

Enter Parameters

Options:
Switch to main site
loading Hold tight while we fetch your results