select count(distinct Id) as count, eomonth(CreationDate)...


Please login or register to vote for this query.

(click on this box to dismiss)

Role-playing Games

Q&A for gamemasters and players of tabletop, paper-and-pencil role-playing games

  count(distinct Id) as count,
  eomonth(CreationDate) as CreationMonth
from Posts
group by eomonth(CreationDate)
order by eomonth(CreationDate) desc


select count(distinct Id) as count, CreationYear, CreationMonth
from (

select Id,
substring(cast(CreationDate as nvarchar), 8, 4) as CreationYear,
substring(cast(CreationDate as nvarchar), 1, 3) as CreationMonth
from Users
where Id in(
  select OwnerUserId
  from Posts
  select UserId
  from Comments
) as alias

group by CreationYear, CreationMonth


Enter Parameters

Switch sites:
loading Hold tight while we fetch your results