Users having only the given badge with no post and with filled url

1

Please login or register to vote for this query.

(click on this box to dismiss)

Literature Meta

Q&A about the site for scholars and enthusiasts of literature

SELECT
  u.Id AS [User Link], u.CreationDate,
  b.Name,
  u.Reputation,
  u.WebsiteUrl, u.AboutMe
FROM Badges b INNER JOIN Users u ON b.UserId=u.Id 
  LEFT OUTER JOIN Posts p ON u.Id=p.OwnerUserId
WHERE 
  (p.Id IS NULL) AND (u.WebsiteUrl<>'') AND
  (b.Name='##name?Autobiographer##') AND (u.Id IN (SELECT us.Id
  FROM Badges ba INNER JOIN Users us ON ba.UserId=us.Id
  GROUP BY us.Id
  HAVING COUNT(ba.Id)=1
  ))  
ORDER BY u.Id DESC

Enter Parameters

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