Stack Overflow tag total views and questions

1

Please login or register to vote for this query.

(click on this box to dismiss)

Physical Fitness Meta

Q&A about the site for physical fitness professionals, athletes, trainers, and those providing health-related needs

select 
       TagName as Tag,
       row_number() over (order by Rate desc) as TotalRank,
       Rate as TotalQuestions,
       TotalViews,
       TotalComments,
       TotalAnswers
from

(select count(PostId) as Rate, TagName, sum(cast(ViewCount as bigint)) as TotalViews, sum(cast(CommentCount as bigint)) as TotalComments, count(AcceptedAnswerId) as TotalAnswers
from
  Tags, PostTags, Posts
where Tags.Id = PostTags.TagId and Posts.Id = PostId
group by TagName) as tq
where Rate > 50

Enter Parameters

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