Q&A for teachers and students of the Esperanto language
SELECT top(5) b.Name, COUNT(b.id) as skaits FROM Users as u INNER JOIN Badges as b ON b.userid = u.id where u.DisplayName like 'Andr%' group by b.Name order by skaits desc