Q&A for serious players and enthusiasts of poker
DECLARE @YearNum int = ##YearNum## select year(creationdate) , PostTypeId , count(PostTypeId) type_count from posts where year(creationdate) = @YearNum group by year(creationdate) , PostTypeId order by count(PostTypeId)