Duplicates of my questions

1

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 pl.PostId AS [Post Link]
FROM PostLinks pl
JOIN Posts q ON pl.RelatedPostId = q.Id
WHERE
pl.LinkTypeId = 3
AND q.OwnerUserId = @UserId

Enter Parameters

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