Q&A for professional and enthusiast programmers
select count(*) as bar from posts where OwnerUserId = ##UserId## and PostTypeId = 2 union select count(*) as foo from posts where OwnerUserId = ##UserId## and Score = 0 and PostTypeId = 2