instruction: Questions with [tag] closed as duplicate.
response: SELECT YEAR(ClosedDate) AS "year", COUNT(*) AS "questions" FROM Posts LEFT JOIN PostHistory AS PH ON PH.PostId = Posts.Id WHERE STR_POSITION(Tags, @tag) > 0 AND PostTypeId = 1 AND NOT ClosedDate IS NULL AND Comment = '101' GROUP BY YEAR(ClosedDate)