Calculates the number of days a user has with questions that have upvotes and there are no downvoted questions and displays progress toward each of the badges
Q&A for writers/artists using science, geography and culture to construct imaginary worlds and settings
select CONVERT(VARCHAR(10), creationDate, 111) as creationDay, sum(case when score > 0 then 1 else 0 end) as up, sum(case when score < 1 then 1 else 0 end) as down from Posts where OwnerUserId = ##userId## and PostTypeId = 1 group by CONVERT(VARCHAR(10), creationDate, 111)