users with no posts in 2018

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

select count(*) from users left join posts
ON posts.OwnerUserId = users.Id
and (posts.CreationDate < '2018-01-01' or posts.CreationDate > '2019-01-01')
WHERE posts.Id is null

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results