Q&A for community managers, administrators, and moderators
SELECT OwnerUserId AS UserId, COUNT(Id) AS NumberOfPosts FROM Posts GROUP BY OwnerUserId