Q&A for Ubuntu users and developers
SELECT COUNT(*) AS 'AsAtElection', OwnerUserId FROM PostsWithDeleted WHERE (PostTypeId = 2) AND CreationDate BETWEEN '2008-01-01' AND '2016-11-07' AND OwnerUserId IN (476, 541136, 4099593) Group by OwnerUserId