select count(distinct u.id) from users u left join posts ...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Role-playing Games

Q&A for gamemasters and players of tabletop, paper-and-pencil role-playing games

select count(distinct u.id) from users u left join posts p on u.id=p.owneruserid 
where (p.posttypeid<>1 and year(p.CreationDate)=2018) 
or (p.posttypeid is null and p.CreationDate is null)

Enter Parameters

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