Q&A for people who build and repair bicycles, people who train cycling, or commute on bicycles
SELECT COUNT(case VoteTypeId when 2 then 1 else null end) as [Posts with upvotes], COUNT(case VoteTypeId when 3 then 1 else null end) as [Posts with downvotes] FROM Votes GROUP BY PostId, VoteTypeId