Vicious Dog based on Accepts

8

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 COUNT(*), q.OwnerUserId as [User Link], qu.Reputation as AskerReputation, a.OwnerUserId as [User Link], au.Reputation as AnswererReputation
from Posts q
inner join Posts a on q.AcceptedAnswerId=a.Id
inner join Users qu on qu.Id = q.OwnerUserId
inner join Users au on au.Id = a.OwnerUserid
where qu.Id != au.Id
group by q.OwnerUserId, a.OwnerUserId, au.Reputation, qu.Reputation
order by COUNT(*) desc

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results