Please login or register to vote for this query.

(click on this box to dismiss)


Q&A for active researchers, academics and students of physics

--accepted answer

/*select OwnerUserId as [User Link], count(1) shots
from (
select b.OwnerUserId,
row_number() over (partition by a.Id order by b.CreationDate) as r
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##
) as FG
where r = 1
group by OwnerUserId
having count(1) > 25
order by shots desc;*/

select a.ParentId, min(a.CreationDate)
from Posts a
where a.PostTypeId = 2
group by a.ParentId

Enter Parameters

Switch to meta site
loading Hold tight while we fetch your results