Uzdevums 1

0

Please login or register to vote for this query.

(click on this box to dismiss)

Open Source Meta

Q&A about the site for people organizing, marketing or licensing open source development projects

SELECT TOP 10
  Badges.UserId,
  COUNT(Badges.Id) AS Badge_Amount,
  Users.Location
FROM Badges
LEFT JOIN Users
  ON Users.Id = Badges.UserId
WHERE Users.Location LIKE '%Latvia%'
GROUP BY Badges.UserId, Users.Location
HAVING COUNT(Badges.Id) > 100
ORDER BY Badge_Amount DESC;

Enter Parameters

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