Q&A for Drupal developers and administrators
SELECT TOP 100 a.OwnerUserId AS [User Link], Count(*) AS [Count], v.CreationDate AS [Date] FROM Votes v, Posts q, Posts a WHERE v.VoteTypeId = 1 AND v.PostId = a.Id AND q.AcceptedAnswerId = a.Id AND q.OwnerUserId <> a.OwnerUserId GROUP BY v.CreationDate, a.OwnerUserId ORDER BY Count(*) DESC, v.CreationDate ASC