select datediff(minute, p1.CreationDate, p2.CreationDate)...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Philosophy Meta

Q&A about the site for those interested in the study of the fundamental nature of knowledge, reality, and existence

select datediff(minute, p1.CreationDate, p2.CreationDate) , count (*) K 
from Posts p1, Posts p2 
where p1.PostTypeId = 1 and p2.PostTypeId = 2 and p2.ParentId = p1.Id
group by datediff(minute, p1.CreationDate, p2.CreationDate) 
order by datediff(minute, p1.CreationDate, p2.CreationDate) desc

Enter Parameters

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