Number of Posts in 2017

0

Please login or register to vote for this query.

(click on this box to dismiss)

The Workplace Meta

Q&A about the site for members of the workforce navigating the professional setting

--SELECT TOP 10 TagName
--FROM (SELECT b.TagName,
--            b.Count AS TagCount
--      FROM Posts AS a
--      INNER JOIN Tags as b
--      ON a.Tags LIKE CONCAT('%','<',b.TagName,'>','%')
--      WHERE YEAR(a.CreationDate) = 2017) AS Sel1
--      ORDER BY TagCount
      
SELECT b.TagName,
            b.Count AS TagCount
      FROM Posts AS a
      INNER JOIN Tags as b
      ON a.Tags LIKE CONCAT('%','<',b.TagName,'>','%')
      WHERE YEAR(a.CreationDate) = 2017

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results