Questions and their answerers

0

Please login or register to vote for this query.

(click on this box to dismiss)

Ask Ubuntu Meta

Q&A about the site for Ubuntu users and developers

SELECT q.OwnerUserId, a.OwnerUserId, COUNT(*) AS count
FROM Posts q
INNER JOIN Posts a
ON q.AcceptedAnswerId = a.Id
WHERE q.ClosedDate is null and q.PostTypeId = 1
and q.AcceptedAnswerId is not null
GROUP BY q.OwnerUserId, a.OwnerUserId
ORDER BY count DESC

Enter Parameters

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