Q&A for people who like playing board games, designing board games or modifying the rules of existing board games
;WITH USER_BY_TAG AS ( SELECT ROW_NUMBER() OVER(ORDER BY COUNT(*) DESC) Rank, u.Id AS [User Link], COUNT(*) AS UpVotes FROM Tags t INNER JOIN PostTags pt ON pt.TagId = t.id INNER JOIN Posts p ON p.ParentId = pt.PostId INNER JOIN Votes v ON v.PostId = p.Id and VoteTypeId = 2 INNER JOIN Users u ON u.Id = p.OwnerUserId WHERE LOWER(Location) LIKE '%united kingdom%' AND TagName = 'android' GROUP BY u.id, TagName ) SELECT * FROM USER_BY_TAG WHERE rank <= 1000 ORDER BY upvotes DESC ;