Question stats by tag


Please login or register to vote for this query.

(click on this box to dismiss)

Science Fiction and Fantasy

Q&A for science fiction and fantasy enthusiasts

select TagName, count(*) N, avg(ViewCount) avg_views 
from Posts p
     join PostTags on p.Id = PostId
     join Tags t on t.Id = TagId
where PostTypeId = 1
      and TagName in (##tag##)
group by TagName

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results