Median time to review tag wiki edits


Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

declare @today as DateTime = (select max(CreationDate) from Posts);

select distinct Percentile_Cont(.5)
  within group (order by datediff(minute, s1.CreationDate, coalesce(ApprovalDate,RejectionDate))*1.0) over () as "Median time-to-review"
from SuggestedEdits s1
inner join Posts p on = s1.PostId
  p.PostTypeId in (4, 5) and
  s1.CreationDate > @today-##LookbackDays?365##

Enter Parameters

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