Q&A for Ubuntu users and developers
SELECT COUNT(*) AS 'AsAtElection', OwnerUserId FROM PostsWithDeleted WHERE (PostTypeId = 2) AND CreationDate BETWEEN '2008-01-01' AND '2013-02-25' AND OwnerUserId IN (59303, 168175, 208809, 237838, 246246, 707111) Group by OwnerUserId