Percent of closed questions over time


Please login or register to vote for this query.

(click on this box to dismiss)


Q&A for people studying math at any level and professionals in related fields

select max(h.t), h.pc as 'Percent of closed questions over time' from (
  select q.t as t, ntile(100) over (order by q.t) as pc
  from (
    select ClosedDate - CreationDate as t
    from Posts
    where PostTypeID = 1 and ClosedDate is not null
  ) as q
) as h
where h.t <= '23:59:59'
group by h.pc
order by h.pc

Enter Parameters

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