Histogram of number of users enacting closures

1

Please login or register to vote for this query.

(click on this box to dismiss)

Produces a histogram of the number of users involved in closing questions as a duplicate (ruling out OP-accepted duplicates and gold-badge closures) over the past three years

Stack Overflow

Q&A for professional and enthusiast programmers

SELECT
NumberOfUsersClosing,
COUNT(*)
FROM 
(
SELECT
  LEN(Text)-LEN(REPLACE(Text,'"Id"','"d"')) AS NumberOfUsersClosing
FROM PostHistory
WHERE Comment = '105'
  AND CreationDate > DATEADD(year,-1,GETDATE())
  AND Text NOT LIKE '%GoldTagBadge%'
  AND Text NOT LIKE '%DuplicateApprovedByAsker%'
) AS counts
GROUP BY NumberOfUsersClosing
ORDER BY NumberOfUsersClosing

Enter Parameters

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