SELECT AVG(u1.Reputation) FROM Users u1 WHERE u1.Id IN (S...

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 AVG(u1.Reputation) FROM Users u1 WHERE u1.Id IN
(SELECT DISTINCT u.Id
  FROM Posts p
  INNER JOIN Users u ON p.OwnerUserId = u.Id
  INNER JOIN PostTags pt ON p.Id = pt.PostId
  INNER JOIN Tags t ON pt.TagId = t.Id
WHERE
  p.PostTypeId = 1
)

Enter Parameters

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