Q&A for Ubuntu users and developers
SELECT COUNT(*) AS 'AsAtElection', OwnerUserId FROM PostsWithDeleted WHERE (PostTypeId = 2) AND CreationDate BETWEEN '2008-01-01' AND '2012-06-04' AND OwnerUserId IN (16587, 19679, 298479) Group by OwnerUserId