Suggested Edit Stats

0

Please login or register to vote for this query.

(click on this box to dismiss)

Shows various statistics about your suggested edits.

Stack Overflow en español

Preguntas y respuestas para programadores y profesionales de la informática

SELECT
    COUNT(DISTINCT se.Id) AS [Count],
    CASE WHEN RejectionDate IS NOT NULL
            THEN 'Rejected'
        WHEN ApprovalDate IS NOT NULL
            THEN 'Approved'
        ELSE
            'Pending'
        END AS [Action]
FROM
    SuggestedEdits se,
    SuggestedEditVotes v
WHERE
    se.OwnerUserId = ##UserId##
    AND v.SuggestedEditId = se.Id
GROUP BY
    CASE WHEN RejectionDate IS NOT NULL
            THEN 'Rejected'
        WHEN ApprovalDate IS NOT NULL
            THEN 'Approved'
        ELSE
            'Pending'
        END

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results