Q&A about the site for mechanics and DIY enthusiast owners of cars, trucks, and motorcycles
SELECT TOP 100 USERS.ID, USERS.DISPLAYNAME, COUNT(POSTS.ID) FROM POSTS RIGHT JOIN USERS ON USERS.ID = POSTS.OWNERUSERID GROUP BY USERS.ID, USERS.DISPLAYNAME, POSTS.POSTTYPEID HAVING POSTS.POSTTYPEID = 1 AND COUNT(POSTS.ID) = 0