select eomonth(CreationDate) from Posts /* select count...


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

select eomonth(CreationDate)
from Posts


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