Q&A for professional and enthusiast programmers
select S.Id as [Post Link] from PostLinks L inner join PostsWithDeleted T on T.Id = L.RelatedPostId inner join Posts S on S.Id = L.PostId where T.Id = ##TargetPostId##