Users with highest percentage of approved edits

1

Please login or register to vote for this query.

(click on this box to dismiss)

Ask Different

Q&A for power users of Apple hardware and software

;  with perc_cte as
(
SELECT 
  OwnerUserId AS uid,
  COUNT(Id) AS Total,
  COUNT(ApprovalDate) AS Approved,
  COUNT(RejectionDate) AS Rejected,
  ROUND((COUNT(ApprovalDate))*100.0/(COUNT(Id)),2) AS PercApproved,
  ROUND((COUNT(RejectionDate))*100.0/(COUNT(Id)),2) AS PercRejected
FROM SuggestedEdits
GROUP BY OwnerUserId
)

SELECT TOP(##num?100##)
  uid AS [User Link],
  PercApproved, PercRejected,
  Approved, Rejected, Total
FROM perc_cte
WHERE Total>=##min?10##
ORDER BY PercApproved DESC

Enter Parameters

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