Total Number of Views per Tag

0

Please login or register to vote for this query.

(click on this box to dismiss)

Shows which tags bring in the most viewers

Raspberry Pi

Q&A for users and developers of hardware and software for Raspberry Pi

select t.tagName,(sum(p.ViewCount)/count(*)) as [Average Views], Count(*) AS [Question Count]
from Posts p
inner join PostTags pt on p.Id = pt.PostId
inner join Tags t on pt.TagId = t.Id
Group By t.tagName
Order by [Average Views] Desc

Enter Parameters

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