View counts on answers by user by year


Please login or register to vote for this query.

(click on this box to dismiss)

Motor Vehicle Maintenance and Repair Meta

Q&A about the site for mechanics and DIY enthusiast owners of cars, trucks, and motorcycles

SELECT YEAR(Posts.CreationDate), SUM(Posts. ViewCount)
FROM Posts 
INNER JOIN PostTags ON PostTags.PostId = Posts.Id
INNER JOIN Tags ON PostTags.TagId = Tags.Id
INNER JOIN Posts AS Answers ON Answers.ParentId = Posts.Id
WHERE (Tags.TagName like 'firebase%' OR Tags.TagName like 'google-%')
  AND Answers.OwnerUserId = 209103
GROUP BY YEAR(Posts.CreationDate)
ORDER BY YEAR(Posts.CreationDate)

Enter Parameters

Switch to main site
loading Hold tight while we fetch your results