Most accepted answers in a day

0

Please login or register to vote for this query.

(click on this box to dismiss)

Drupal Answers

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

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results