SELECT COUNT(p.Id) as numPosts, c.UserId FROM Posts p JOI...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Travel Answers Meta

Q&A about the site for road warriors and seasoned travelers

SELECT COUNT(p.Id) as numPosts, c.UserId
FROM Posts p JOIN COMMENTS c ON p.id = c.PostId
GROUP BY c.UserId
HAVING COUNT(p.ID) = 50;

Enter Parameters

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