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