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)

SharePoint

Q&A for SharePoint enthusiasts

-- 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 to meta site
loading Hold tight while we fetch your results