Q&A for Ubuntu users and developers
SELECT COUNT(*) AS 'AsAtElection', OwnerUserId FROM PostsWithDeleted WHERE (PostTypeId = 2) AND CreationDate BETWEEN '2008-01-01' AND '2011-11-07' AND OwnerUserId IN (2598, 50776, 105971, 106224, 396458) Group by OwnerUserId