SELECT PostId , COUNT(*) FROM PostTags GROUP BY PostId

0

Please login or register to vote for this query.

(click on this box to dismiss)

Sitecore Meta

Q&A about the site for developers and end users of the Sitecore CMS and multichannel marketing software

-- Enter Query Title
-- Enter Query Description

--SELECT Id
--, PostTypeId
--, CreationDate
--, Score
--, ViewCount
--, Tags
--, AnswerCount
--, FavoriteCount
--FROM Posts
--WHERE YEAR(CreationDate) = '2019' 
--AND PostTypeId = 1
SELECT PostId
, COUNT(*)
FROM PostTags
GROUP BY PostId

Enter Parameters

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