Q&A about the site for administrators and users of the CiviCRM Constituent Relationship Management software
SELECT Name, COUNT(Id) AS TotalAwarded from Badges GROUP BY Name ORDER BY TotalAwarded DESC