Users with their own Gold Tag Badges

0

Please login or register to vote for this query.

(click on this box to dismiss)

Drones and Model Aircraft Meta

Q&A for experienced flyers, pilots, and builders of drones and model aircraft

SELECT B.Name, B.UserId AS [User Link],
(SELECT COUNT(B2.Name) FROM Badges B2
    WHERE B2.Name = B.Name
    AND B2.Class = 1
    AND B2.TagBased = 1)
FROM Badges B
WHERE Class = 1
AND TagBased = 1
GROUP BY B.Name, B.UserId
ORDER BY B.Name

Enter Parameters

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