Q&A about the site for software engineers working on automated testing, continuous delivery, service integration and monitoring, and building SDLC infrastructure
SELECT * FROM (SELECT T.TagName, Year(a.creationDate) yr, DateName(m,Month(a.creationDate)) mh, SUM(a.score) Total FROM Posts a INNER JOIN Posts q ON a.ParentID = q.id INNER JOIN postTags pt ON q.id = pt.PostId INNER JOIN Tags t ON Pt.TagiD = t.id WHERE a.owneruserID = ##UserID## GROUP BY t.TagName, Year(a.creationDate) , DateName(m,Month(a.creationDate)) ) SourceTable