Q&A about the site for Joomla! administrators, users, developers and designers
select a.OwnerUserId as Answerer_ID, sum(a.score) as Sum_Answerer_Score
from posts as q join posts as a on q.Id = a.ParentId
where q.CreationDate < '2021-09-01 00:00:00'
and q.CreationDate >= '2021-05-01 00:00:00'
and q.PostTypeId = 1
and a.PostTypeId = 2
and q.OwnerUserId IS NOT NULL
and a.OwnerUserId IS NOT NULL
and q.AcceptedAnswerId IS NOT NULL
and q.Tags LIKE '%python%'
group by a.OwnerUserId