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

0

Please login or register to vote for this query.

(click on this box to dismiss)

History of Science and Math

Q&A for people interested in the history and origins of science and mathematics

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