select u.displayname, u.reputation, count(*) 'No of badges'

0

Please login or register to vote for this query.

(click on this box to dismiss)

Mathematics Meta

Q&A about the site for people studying math at any level and professionals in related fields

select u.displayname, u.reputation, count(*) 'No of badges'
  from users u, badges b
 where u.id = b.userid
   and b.name = 'Enlightened'
   and u.location = 'South Africa'
   and year(b.date) = '2016'
 group by u.displayname, u.reputation
 order by u.reputation desc;

Enter Parameters

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