with uab19morethan1Q as ( select u.Id, count (*) K from U...

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 uab19morethan1Q as (
select u.Id, count (*) K from Users u inner join Posts p on u.Id = p.OwnerUserId 
where u.CreationDate >= '2019-01-01' and u.CreationDate < '2020-01-01'
and p.PostTypeId = 1 and p.CreationDate < '2020-06-01'
group by (u.Id) )
select count (*) from uab19morethan1Q

Enter Parameters

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