stack people

0

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 t1.tagname, max(t1.amount), t1.creat_date
FROM (
  SELECT
      Tags.TagName as tagname,
      count(Tags.Id) as amount,
      FORMAT(CreationDate,'MM.yy') as creat_date
  FROM Tags
      INNER JOIN PostTags ON PostTags.TagId = Tags.id
      INNER JOIN Posts ON Posts.Id = PostTags.PostId
  WHERE PostTypeId = 1 -- type: question
  GROUP BY  Tags.TagName, FORMAT(CreationDate,'MM.yy')
) as t1 GROUP BY t1.tagname, t1.creat_date;

Enter Parameters

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