Q&A about the site for serious players and enthusiasts of poker
select userlist.uid, COUNT(v.Id) as fav_count, datediff(month,cast('2015-03-01' as datetime), v.CreationDate) as month from Votes v, (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=81490 or pt.TagId=82977 or pt.TagId=16712) and p.PostTypeid=1 and p.CreationDate>=cast('2015-03-01' as datetime) and p.CreationDate<=cast('2017-03-31' as datetime) group by p.OwnerUserId ) userlist where userlist.uid=v.UserId and v.VoteTypeId=5 and v.CreationDate>=cast('2015-03-01' as datetime) and v.CreationDate<=cast('2017-03-31' as datetime) group by userlist.uid, datediff(month,cast('2015-03-01' as datetime), v.CreationDate)