select datediff(mi, p1.CreationDate, p2.CreationDate) AAD...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Android Enthusiasts Meta

Q&A about the site for enthusiasts and power users of the Android operating system

select datediff(mi, p1.CreationDate, p2.CreationDate) AADelay, count (*) K , min (p1.Id), min (p2.Id)
from Posts p1 inner join Posts p2 on p1.AcceptedAnswerId = p2.Id
where p1.PostTypeId = 1 and p2.PostTypeId = 2 and p2.ParentId = p1.Id
and p1.OwnerUserId is not null and p2.OwnerUserId is not null
group by  datediff(mi, p1.CreationDate, p2.CreationDate)  
having datediff(mi, p1.CreationDate, p2.CreationDate) > 0 
order by  datediff(mi, p1.CreationDate, p2.CreationDate)

Enter Parameters

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