Q&A for Ubuntu users and developers
SELECT COUNT(*) AS 'AsAtElection', OwnerUserId FROM PostsWithDeleted WHERE (PostTypeId = 2) AND CreationDate BETWEEN '2008-01-01' AND '2015-04-06' AND OwnerUserId IN (1114, 100297, 229044, 444991, 1252759) Group by OwnerUserId