select userlist.uid, COUNT(se.Id) as se_count, datediff(m...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Android Enthusiasts

Q&A for enthusiasts and power users of the Android operating system

select userlist.uid, COUNT(se.Id) as se_count, datediff(month,cast('2015-03-01'as datetime), se.CreationDate) as month

from SuggestedEdits se,
(select p.OwnerUserId as uid 
from Posts p,  PostTags pt, Users u
where p.OwnerUserId=u.Id and p.Id=pt.PostId
and (pt.TagId=77858) 
and p.PostTypeid=1
and p.CreationDate>=cast('2012-07-01' as datetime) 
and p.CreationDate<=cast('2015-03-01' as datetime) 
group by p.OwnerUserId
) userlist

where userlist.uid=se.OwnerUserId and se.CreationDate>=cast('2015-03-01' as datetime) and se.CreationDate<=cast('2017-03-31' as datetime)
group by userlist.uid, datediff(month,cast('2015-03-01' as datetime), se.CreationDate)

Enter Parameters

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