Unsung heroes with exactly 10 zero score accepted answers


Please login or register to vote for this query.

(click on this box to dismiss)

Computational Science

Q&A for scientists using computers to solve scientific problems

select u.Id
  Users u
  join Badges b on u.Id = b.UserId
  join (Posts q inner join Posts a on a.Id = q.AcceptedAnswerId) on u.Id = a.OwnerUserId
where b.Name = 'Unsung Hero'
  and q.OwnerUserId != a.OwnerUserId
  and a.PostTypeId = 2
  and b.Date > a.CreationDate
  group by (u.Id)
  having sum(case when a.Score = 0 then 1 else 0 end) = 10

Enter Parameters

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