My favorites with answers of a given user

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

DECLARE @UserId int = ##UserId##

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

Enter Parameters

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