Q&A for professional and enthusiast programmers
SELECT datepart(yyyy, CreationDate) as 'year', avg(Score) as 'average' FROM Posts WHERE PostTypeId = 2 and CommunityOwnedDate is null and ClosedDate is null and Score > 10 GROUP BY datepart(yyyy, [CreationDate])