Top users who accepted my answer

1

Please login or register to vote for this query.

(click on this box to dismiss)

Physical Fitness Meta

Q&A about the site for physical fitness professionals, athletes, trainers, and those providing health-related needs

DECLARE @UserID Int = ##UserID?9449426##

SELECT
  a.Id AS [Post Link],
  asker.Reputation [Asker Reputation],
  asker.DisplayName [Asker]
FROM Posts a
LEFT JOIN Posts q ON a.ParentId = q.Id
LEFT JOIN Users asker ON q.OwnerUserId = asker.Id
WHERE a.OwnerUserId = @UserID
  AND a.PostTypeId = 2
  AND q.PostTypeId = 1
  AND q.AcceptedAnswerId = a.Id
ORDER BY asker.Reputation DESC

Enter Parameters

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