Q&A for Data science professionals, Machine Learning specialists, and those interested in learning more about the field
--in the name of god select UserId , sum(score) as score---- from comments where UserId in ( select UserId from comments except select ownerUserId from posts where PostTypeId=1) group by UserId having count(*)>10 order by sum(score) desc