How close am I to being Unsung?

0

Please login or register to vote for this query.

(click on this box to dismiss)

SharePoint

Q&A for SharePoint enthusiasts

SELECT
 COUNT(a.Id) as [Accepted Answers],
 SUM((a.Score))
 AS [Answers till Unsung]
FROM Posts q
INNER JOIN Posts a on a.Id = q.AcceptedAnswerId
WHERE a.CommunityOwnedDate IS NULL
AND a.OwnerUserId = ##UserId##
AND q.OwnerUserId != ##UserId##
AND a.PostTypeId = 2

Enter Parameters

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