Questions I've answerd and added to Favorites

0

Please login or register to vote for this query.

(click on this box to dismiss)

(that's how I mark answers I liked)

Stack Overflow

Q&A for professional and enthusiast programmers

-- Questions I've answerd and added to Favorites
-- (that's how I mark answers I liked)

DECLARE @UserId int = ##UserId##

select answer.Id as "Post Link"
from posts answer inner join votes v on answer.ParentId = v.PostId
where answer.OwnerUserId = v.UserId and answer.OwnerUserId = @UserId
order by answer.Score desc

Enter Parameters

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