progress towards Research Assistant badge


Please login or register to vote for this query.

(click on this box to dismiss)

Counts the number of distinct tag wikis that you've edited.

Stack Overflow

Q&A for professional and enthusiast programmers

    COUNT(DISTINCT Posts.Id) as TagWikisEdited,
    CAST(CONVERT(DECIMAL(5,2), COUNT(DISTINCT Posts.Id) * 2.0)  as VARCHAR(6)) + '%' as Progress
from SuggestedEdits as Edit
LEFT JOIN Posts on Edit.PostId=Posts.Id
WHERE Edit.OwnerUserId=##UserID:int##
AND Posts.PostTypeId in (4,5)
AND Edit.ApprovalDate is not null

Enter Parameters

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