select t.TagName, count(t.TagName) as numberOfQuestion, s...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Vegetarianism

Q&A for those committed to a vegan or vegetarian lifestyle and anyone interested in learning more

select t.TagName, count(t.TagName) as numberOfQuestion, sum(CAST(p.ViewCount AS BIGINT)) as numberOfView
from PostTags pt
join Posts p
  on pt.PostId = p.Id
join Tags t
  on pt.TagId = t.Id
group by t.TagName
order by numberOfView desc

Enter Parameters

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