SELECT SUM(Posts.Score), Posts.OwnerUserId FROM Posts WH...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Cardano Meta

Q&A for users and developers of the Cardano cryptocurrency ecosystem

--How many users have a score above 1000, if you only include their posts 
--with a comment count of greater than or equal to ten? 

-- How many users have posts with scores that sum to > 1000
-- with a comment count of >= 10
SELECT SUM(Posts.Score), Posts.OwnerUserId FROM Posts
WHERE CommentCount >= 10
GROUP BY Posts.OwnerUserId
HAVING SUM(Posts.Score) > 1000

Enter Parameters

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