Q&A about the site for information security professionals
Select DisplayName,MAX(Reputation) AS MostRep, Count(Badges.Name) AS BadgesQuantity from users join badges on users.AccountId = badges.UserId where Location = 'South Africa' and name = 'Enlightened' and Badges.Date >= '2016-01-01 00:00:01' and Badges.date <= '2016-12-31 00:00:00' GROUP BY DisplayName;