Vicious Dog based on Accepts


Please login or register to vote for this query.

(click on this box to dismiss)

Genealogy and Family History Meta

Q&A about the site for expert genealogists and people interested in genealogy or family history

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, apc.AnswererPosts, qpc.QuestionerPosts, (COUNT(*)/qpc.QuestionerPosts)*100 as PercentSuspicious
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
inner join (select COUNT(*) as AnswererPosts, OwnerUserId from Posts GROUP BY OwnerUserId) apc on apc.OwnerUserId=au.Id
inner join (select COUNT(*) as QuestionerPosts, OwnerUserId from Posts GROUP BY OwnerUserId) qpc on qpc.OwnerUserId=qu.Id
where qu.Id != au.Id
and au.Reputation>15
group by q.OwnerUserId, a.OwnerUserId, au.Reputation, qu.Reputation, apc.AnswererPosts, qpc.QuestionerPosts
having COUNT(*)>4 and au.Reputation<=5000
order by LastOccurance desc

Enter Parameters

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