How Many of My Answers Have Been Accepted?

1

Please login or register to vote for this query.

(click on this box to dismiss)

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

Stack Overflow

Q&A for programmers

-- Enter Query Title
-- Enter Query Description

select count(*) as [# of Accepted Answers]
from Posts q
inner join Posts a on q.AcceptedAnswerId=a.Id
where a.OwnerUserId=##UserId##

Enter Parameters

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