Q&A about the site for developers and end users of the Sitecore CMS and multichannel marketing software
with otp as
(select OwnerUserId, count (OwnerUserId) as K
from posts p where (PostTypeId = 1 or PostTypeId = 2) and p.CreationDate < '2014-09-27'
group by (p.OwnerUserId) having count (p.OwnerUserId) = 1)
select count (otp.OwnerUserId) from otp inner join Users u on otp.OwnerUserId = u.Id
where u.CreationDate < '2014-03-27'