Epic/Legendary Badges


Please login or register to vote for this query.

(click on this box to dismiss)

Tells you how often you hit the reputation cap (50 = Epic Badge, 150 Legendary Badge)

Stack Overflow на русском

Q&A for программистов

-- Enter Query Title
-- Enter Query Description

DECLARE @UserId int = 1338292;

WITH T as (SELECT COUNT(*) * 10      as Votes,
               Votes.CreationDate AS CreationDate
        FROM   Posts
               INNER JOIN Votes
                 ON Votes.PostId = Posts.Id
                    and VoteTypeId = 2
        WHERE  Posts.OwnerUserId = @UserId
               AND Posts.CommunityOwnedDate IS NULL
               GROUP  BY Votes.CreationDate)
               select * from T where Votes > 200

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results