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(*), MAX(a.CreationDate) as LastOccurance, 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
and au.Reputation>15
group by q.OwnerUserId, a.OwnerUserId, au.Reputation, qu.Reputation
having COUNT(*)>4 and au.Reputation<=5000
order by LastOccurance desc

Enter Parameters

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