Median time to review tag wiki edits

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow en español

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

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 p.id = s1.PostId
where
  p.PostTypeId in (4, 5) and
  s1.CreationDate > @today-##LookbackDays?365##

Enter Parameters

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