progress towards Self Learner badge

2

Please login or register to vote for this query.

(click on this box to dismiss)

Shows the scores for answers you've given to your own questions

Stack Overflow

Q&A for programmers

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
:records returned in :time ms:cached