Duplicates of my questions


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
pl.LinkTypeId = 3
AND q.OwnerUserId = @UserId

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results