select Top 50 TagName as Tag, avg(ViewCount) as AverageVi...

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 Top 50 TagName as Tag, avg(ViewCount) as AverageViews, sum(ViewCount) as TotalViews, sum(Score) as Scores, sum(FavoriteCount) as Favorites, count(Posts.Id) as Posts
from posts 
inner join PostTags on PostTags.PostID = Posts.Id 
inner join Tags on Tags.Id = PostTags.TagID 
where tags LIKE '%<oracle>%' and tags LIKE '%<python>%'
and posts.CreationDate >= cast('2021-06-01' as datetime)
and posts.CreationDate <= cast('2021-11-01' as datetime)
group by TagName 
order by count(Posts.Id) DESC

Enter Parameters

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