TOP 10 Frequent

0

Please login or register to vote for this query.

(click on this box to dismiss)

Emacs

Q&A for those using, extending or developing Emacs

SELECT TOP 10 
    q.Id AS [Post Link],
    q.Title,
    COUNT(DISTINCT a.OwnerUserId) AS [Accepted Answer Editor Count]
FROM Posts q
INNER JOIN Posts a ON q.AcceptedAnswerId = a.Id
WHERE q.PostTypeId = 1
GROUP BY q.Id, q.Title, a.OwnerUserId
HAVING COUNT(DISTINCT a.OwnerUserId) > 2
ORDER BY COUNT(DISTINCT a.OwnerUserId) DESC;

Enter Parameters

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