Q&A about the site for expert genealogists and people interested in genealogy or family history
SELECT Users.Id, Users.Location, Badges.Name, MAX(Posts.CreationDate) FROM Badges, Users, Posts, PostTypes Where Users.Id = Badges.UserId and Users.Id = OwnerUserId and Posts.PostTypeId = PostTypes.Id and Users.Location like '%Latvia%' and Badges.Name = 'Editor' and PostTypes.Name = 'Question' GROUP BY Users.Id, Users.Location, Badges.Name Order BY Users.Id ASC