How many users does this database contain?

0

Please login or register to vote for this query.

(click on this box to dismiss)

Computational Science

Q&A for scientists using computers to solve scientific problems

SELECT u.DisplayName, COUNT(b.Id) AS EnlightenedBadgeCount, u.Reputation
FROM Users u
JOIN Badges b ON u.Id = b.UserId
WHERE u.Location LIKE '%South Africa%'
AND b.Name = 'Enlightened'
AND YEAR(b.Date) = 2016
GROUP BY u.DisplayName, u.Reputation
ORDER BY u.Reputation DESC;

Enter Parameters

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