Longest time to accept an answer

1

Please login or register to vote for this query.

(click on this box to dismiss)

Reverse Engineering Meta

Q&A about the site for researchers and developers who explore the principles of a system through analysis of its structure, function, and operation

select top 20 
p.Id as [Question], p.Title as [Title],
p2.CreationDate as [Answered], v.CreationDate as [Accepted],
DATEDIFF(day,p2.CreationDate,v.CreationDate) as [days passed]
from Posts as p 
join Posts as p2 on p.AcceptedAnswerId=p2.Id
join Votes as v on p2.Id=v.PostId
where p.PostTypeId = 1
and v.VoteTypeId = 1
order by DATEDIFF(day,p2.CreationDate,v.CreationDate) desc

Enter Parameters

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