select Users.DisplayName, COUNT(Badges.NAME) from Users, ...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

select Users.DisplayName, COUNT(Badges.NAME) from Users, Badges
where Reputation=(select max(Reputation) from Users where Location = 'South Africa')
AND Badges.Name = 'Enlightened' AND Badges.Date >= '2016-01-01' AND Badges.Date < '2017-01-01'
GROUP BY Users.DisplayName

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results