Q&A for scholars and enthusiasts of literature
select userlist.uid, COUNT( distinct p.Id) as bounty_q_count, avg(v.BountyAmount) as avg_bounty, datediff(month,cast('2015-03-01' as datetime), p.CreationDate) as month from Posts p, Votes v, PostTags pt, (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=100570 or pt.TagId=40102 or pt.TagId=109466 or pt.TagId=116033 or pt.TagId=113994 or pt.TagId=24100 or pt.TagId=99347 or pt.TagId=132868) 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=p.OwnerUserId and p.CreationDate>=cast('2015-03-01' as datetime) and p.CreationDate<=cast('2017-03-31' as datetime) and v.CreationDate>=cast('2015-03-01' as datetime) and v.CreationDate<=cast('2017-03-31' as datetime) and p.PostTypeId=1 and v.UserId = userlist.uid and v.PostId = p.Id and v.BountyAmount > 0 and pt.PostId = p.Id and (pt.TagId=112144 or pt.TagId=115813 or pt.TagId=108695 or pt.TagId=111832 or pt.TagId=118937 or pt.TagId=124253 or pt.TagId=92230 or pt.TagId=122685 or pt.TagId=100570 or pt.TagId=40102 or pt.TagId=109466 or pt.TagId=116033 or pt.TagId=113994 or pt.TagId=24100 or pt.TagId=99347 or pt.TagId=132868) group by userlist.uid, datediff(month,cast('2015-03-01' as datetime), p.CreationDate)