Q&A for participants in team and individual sport activities
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