Q&A about the site for expert genealogists and people interested in genealogy or family history
-- Step 1: Find the user SELECT TOP 1 OwnerUserId FROM Posts WHERE YEAR(CreationDate) = 2023 GROUP BY OwnerUserId ORDER BY SUM(ViewCount) DESC; -- Step 2: Retrieve badges for this user (replace `UserId` with the actual user ID from step 1) SELECT Name FROM Badges WHERE UserId = [UserId];