Q&A for those interested in the geology, meteorology, oceanography, and environmental sciences
Select top 5 bgs.Name as Badge ,COUNT(usr.Id) From Users usr Inner Join Badges bgs On bgs.UserId = usr.Id Where Upper(usr.DisplayName) like 'ANDR%' Group by bgs.Name Order by COUNT(usr.Id) desc