How to find all answers that a certain person has answered me?


Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

;with answers as 
     , a.owneruserid 
from posts q 
inner join posts a on = a.parentid
where q.owneruserid = ##userid:int?3577745##

select as [Post Link]
     , a.owneruserid as [User Link]
     , (select count(*) 
        from answers ans 
        where a.owneruserid = ans.owneruserid) as [# tot answers]
from answers a
order by 3 desc , 2

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results