Q&A about the site for expert genealogists and people interested in genealogy or family history
SELECT TOP 100 Users.Id, Users.Location, PostNotices.CreationDate, COUNT(Badges.Id) AS Badge_Count FROM Badges, PostNotices, Users Where Users.Id = Badges.UserId and Users.iD = PostNotices.OwnerUserId and Users.Location like '%Latvia%' GROUP BY Users.Id, Users.Location, PostNotices.CreationDate ORDER BY Badge_Count DESC