rllib tags

0

Please login or register to vote for this query.

(click on this box to dismiss)

Joomla

Q&A for Joomla! administrators, users, developers and designers

-- Most popular StackOverflow tags in 2020

select 
       num.TagName as Tag,
       row_number() over (order by rate.Rate desc) as Rank,
       rate.Rate as QuestionsIn2020

from

(select count(PostId) as Rate, TagName
from
  Tags, PostTags, Posts
where 
Tags.TagName in ('rllib')
and Tags.Id = PostTags.TagId 
and Posts.Id = PostId
and Posts.CreationDate > '2020-01-01'
group by TagName) as rate

INNER JOIN
-- select all tags posted more than 100 times
(select count(PostId) as Num, TagName
from
  Tags, PostTags, Posts
where Tags.Id = PostTags.TagId 
and Posts.Id = PostId
group by TagName having count(PostId) > 100)

as num ON rate.TagName = num.TagName
order by rate.rate desc
;

Enter Parameters

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