Q&A about the site for committed Christians, experts in Christianity and those interested in learning more
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