with otp as (select OwnerUserId, count (OwnerUserId) as K...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Sitecore Meta

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'

Enter Parameters

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