Q&A for active researchers, academics and students of physics
--accepted answer select b.OwnerUserId, count(b.Id) 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## group by b.OwnerUserId order by 2 desc,1