Accepted answers (excluding self-answers) to your questions

0

Please login or register to vote for this query.

(click on this box to dismiss)

Mathematics

Q&A for people studying math at any level and professionals in related fields

-- UserId: User ID
DECLARE @UserId int = ##UserId:int##;

SELECT
  answers.Id as [Post Link]
FROM
  Votes AS v
INNER JOIN Posts AS answers ON
  v.PostID = answers.Id
INNER JOIN Posts AS questions ON
  answers.ParentID = questions.Id
WHERE
  questions.OwnerUserId = @UserId AND
  answers.OwnerUserId != @UserID AND
  v.VoteTypeID = 1 -- AcceptedByOriginator

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results