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 u.Id AS [User Link], CONCAT('https://stackoverflow.com/users/', u.Id) AS [Profile Link], u.DisplayName, u.Location, u.WebsiteUrl, u.AboutMe, u.Views, u.UpVotes, u.DownVotes, answers.AnswersPosted FROM Users u JOIN ( SELECT DISTINCT UserId FROM Badges WHERE LOWER(Name) IN ('react-native', 'node.js') AND Class IN (1, 2) AND TagBased = 1 ) tag_badges ON tag_badges.UserId = u.Id LEFT JOIN ( SELECT OwnerUserId, COUNT(*) AS AnswersPosted FROM Posts JOIN PostTypes ON PostTypes.Id = Posts.PostTypeId WHERE PostTypes.Name = 'Answer' GROUP BY Posts.OwnerUserId ) answers ON answers.OwnerUserId = u.Id WHERE LOWER(Location) LIKE '%bangkok%' OR LOWER(Location) LIKE '%india%'