DECLARE @user INT = ##UserID:int## select Answer.Id as [...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Christianity

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

DECLARE @user INT = ##UserID:int##

select
    Answer.Id as [Post Link],
    Answer.Score
from Posts as Answer
LEFT JOIN Posts as Question on Question.Id=Answer.ParentId
WHERE Answer.PostTypeId=2
    and Answer.OwnerUserId=@user
    and Question.OwnerUserId=@user
ORDER BY Score DESC

Enter Parameters

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