Which of My Answers Have Been Accepted?

0

Please login or register to vote for this query.

(click on this box to dismiss)

Returns all the accepted answers for a given User ID on Stack Overflow.

Stack Overflow

Q&A for programmers

-- Which of My Answers Have Been Accepted?
-- Returns all the accepted answers for a given User ID on Stack Overflow.

select a.Id as [Post Link]
from Posts q
inner join Posts a on q.AcceptedAnswerId=a.Id
where a.OwnerUserId=##UserId##
order by a.CreationDate desc

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results
:records returned in :time ms:cached