Q&A about the site for administrators, end users, developers and designers for Craft CMS
SELECT u.Id AS [User Link], COUNT(*) AS effectif FROM Users u JOIN Posts p ON u.Id = p.OwnerUserId JOIN Posts q ON q.Id = p.ParentId JOIN PostTags pt ON q.Id = pt.PostId JOIN Tags t ON t.Id = pt.TagId WHERE LOWER(t.TagName) = 'python' AND LOWER(u.Location) LIKE '%france%' AND p.PostTypeId=2 AND p.CreationDate >= '20190901' GROUP BY u.Id ORDER BY effectif DESC;