Accepted answers (excluding self-answers) to your questions

0

Please login or register to vote for this query.

(click on this box to dismiss)

Christianity Meta

Q&A about the site for committed Christians, experts in Christianity and those interested in learning more

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

SELECT
  *
FROM
  Votes AS v
INNER JOIN Posts AS p ON
  v.PostID = p.Id
INNER JOIN Posts AS mine ON
  p.ParentID = mine.Id AND
  mine.OwnerUserId = @UserId
WHERE
  p.OwnerUserId = @UserID AND
  v.VoteTypeID = 1 -- AcceptedByOriginator

Enter Parameters

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