closed posts time

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Apps

Q&A for apps, scripts, and development with the Stack Exchange API

select
  -- count(closeddate),
  avg(year(creationdate)),
  avg(datediff(minute, creationdate, closeddate )*1.0) as life_time
  
from Posts
where 
  score < 0
  and closeddate is not Null
  and datediff(minute, creationdate, closeddate )*1.0 < 365*24*60
group by
  year(creationdate)

Enter Parameters

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