Q&A about the site for researchers and developers who explore the principles of a system through analysis of its structure, function, and operation
SELECT TOP 100
au.Id as "UserId",
au.DisplayName AS "Answerer",
count(a.Id) as "Answers"
FROM Posts p
JOIN Posts a ON p.AcceptedAnswerId = a.Id
JOIN Users au ON a.OwnerUserId = au.Id
WHERE p.AcceptedAnswerId IS NOT NULL
and p.Tags like '%##tag##%'
and au.Location LIKE '##location##'
GROUP BY au.Id, au.DisplayName, au.WebsiteURL, au.Reputation
ORDER BY Answers DESC