Q&A about the site for administrators, end users, developers and designers for Craft CMS
SELECT Users.Id as [User Link], count(*) as c FROM Users JOIN Posts ON Users.Id = Posts.OwnerUserId JOIN PostTags ON PostTags.PostId = Posts.Id JOIN Tags ON Tags.Id = PostTags.TagId WHERE LOWER(Users.Location) LIKE '%france%' AND LOWER(Tags.TagName) = 'python' GROUP BY Users.Id ORDER BY c DESC;