with FPQA as --- first post Q answerers (select u.Id UI...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Science Fiction and Fantasy Meta

Q&A about the site for science fiction and fantasy enthusiasts

with FPQA as   --- first post Q answerers 
(select u.Id UID, u.CreationDate UCD, p1.Id FPID, p1.CreationDate FPCD , p2.ID FPAID
from Users u inner join Posts p1
on u.Id = p1.OwnerUserId
inner join Posts p2 on p2.ParentId = p1.Id
where p1.PostTypeId = 1
and p2.PostTypeId = 2
and p1.OwnerUserId = p2.OwnerUserId
and u.Creationdate >= '2019-01-01' and u.CreationDate < '2020-01-01'
) 
select  count (distinct fpqa.UID) 
from FPQA fpqa 
where not exists (select * from Posts p3 where p3.OwnerUserId = fpqa.UID and 
p3.PostTypeId in (1,2) and p3.CreationDate > fpqa.FPCD)

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results