.

0

Please login or register to vote for this query.

(click on this box to dismiss)

Moderators

Q&A for community managers, administrators, and moderators

select 
eomonth(creationdate) as mth,

count(*) as cnt
--,
--round(1.0*count(*)/day(max(creationdate)),1) as qpd
from postswithdeleted
where posttypeid=1
--and creationdate > convert(datetime,'2013-01-01') --between convert(datetime,'2017-01-01') and convert(datetime,'2018-01-01')
group by eomonth(creationdate) 
order by eomonth(creationdate)

Enter Parameters

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