% of suggested edit reviews that are "correct"

0

Please login or register to vote for this query.

(click on this box to dismiss)

Skeptics

Q&A for scientific skepticism

SELECT 
    UserId,
    COUNT(*) AS TotalVotes,
    SUM(CASE 
            WHEN se.ApprovalDate IS NOT NULL THEN 1
            WHEN se.RejectionDate IS NOT NULL THEN 1
            ELSE 0
        END) AS ApprovedOrRejectedVotes,
    (SUM(CASE 
            WHEN se.ApprovalDate IS NOT NULL THEN 1
            WHEN se.RejectionDate IS NOT NULL THEN 1
            ELSE 0
         END) / COUNT(*)) * 100 AS ApprovalOrRejectionPercentage
FROM 
    SuggestedEditVotes AS sev
JOIN 
    SuggestedEdits AS se ON sev.SuggestedEditId = se.Id
GROUP BY 
    UserId;

Enter Parameters

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