Unselfish - Those who answer and never ask.

0

Please login or register to vote for this query.

(click on this box to dismiss)

Query of users who answer but never asked a question. Sorted by number of answers for a user.

Amateur Radio

Q&A for amateur radio enthusiasts

SELECT 
  u.DisplayName,
  (SELECT count(*) FROM Posts WHERE OwnerUserId = u.id AND PostTypeId = 2) [Answers]
FROM
  Users u
WHERE
  (SELECT count(*) FROM Posts WHERE OwnerUserId = u.id AND PostTypeId = 2) != 0
  AND (SELECT count(*) FROM Posts WHERE OwnerUserId = u.id AND PostTypeId = 1) = 0
ORDER BY
  Answers DESC

Enter Parameters

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