Quality of Question by Tag

0

Please login or register to vote for this query.

(click on this box to dismiss)

Christianity Meta

Q&A about the site for committed Christians, experts in Christianity and those interested in learning more

DECLARE @tagname varchar(50) = ##tagname:string##

-- Quality of Question by Tag
-- Measured by Reputation of User who created a Question with this tag

SELECT 
cast(datepart(y, p.CreationDate) as nvarchar(max)) + ' ' + cast(datepart(m, p.CreationDate) as nvarchar(max))
, count(1) 
FROM Tags t 
 INNER JOIN PostTags pt ON pt.TagId = t.Id
 INNER JOIN Posts p ON p.ParentId = pt.PostId
WHERE t.TagName = @tagname
group by cast(datepart(y, p.CreationDate) as nvarchar(max)) + ' ' + cast(datepart(m, p.CreationDate) as nvarchar(max))

order by 1 asc

Enter Parameters

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