R versus Python tags

1

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

select
  cast(yr as varchar(4))+cast(mnth as varchar(2)) as dt_char
from
(
  select
    month(CreationDate) as mnth
    ,year(CreationDate) as yr
    ,count(*) as mnth_count
  from
    posts
  where tags like '%<r>%'
  group by month(CreationDate), year(CreationDate)
) as t
order by yr asc, mnth asc

Enter Parameters

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