Q&A for active researchers, academics and students of physics
--accepted answer select top 10 a.*,b.* from Posts a inner join Posts b on a.PostTypeId = 1 and b.PostTypeId = 2 and b.ParentId = a.Id and DATEDIFF(mi,a.CreationDate,b.CreationDate) < ##MaxDuration##