select SUM(ViewCount), TagName from PostTags inner join (...

0

Please login or register to vote for this query.

(click on this box to dismiss)

elementary OS Meta

Q&A for developers and users of elementary OS and applications

select SUM(ViewCount), TagName
from PostTags inner join 
  (
    select top 5 *
    from Tags
    order by Tags.Count desc
  ) tags
on PostTags.TagId = tags.Id

inner join 
  (
    select *
    from Posts
    where CreationDate > '2015-11-11'
    and Score > 10
    and ViewCount > 100
    and AcceptedAnswerId > 0
  ) posts
on posts.Id = PostTags.PostId
group by TagName

Enter Parameters

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