Percentage of questions in given tags per month

1

Please login or register to vote for this query.

(click on this box to dismiss)

Software Engineering

Q&A for professionals, academics, and students working within the systems development life cycle

select eomonth(p.creationdate) [date]
     , count(p.id) as [count]
 --    , sum(case when t.tagname = value then 1 else 0 end) [tagcount]
from posts p
inner join posttags pt on pt.postid = p.id
inner join tags t on t.id = pt.tagid
inner join string_split(##tags:string?statistics,probability##,',') ts 
             on ts.value = t.tagname
where p.creationdate between ##date1:string?2016-01-01##
                         and ##date2:string?2018-09-01##
group by eomonth(p.creationdate)
order by eomonth(p.creationdate)

Enter Parameters

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