Find linked posts in my posts

0

Please login or register to vote for this query.

(click on this box to dismiss)

Science Fiction and Fantasy

Q&A for science fiction and fantasy enthusiasts

SELECT
  p.Id, p.Id AS [Post Link], p.CreationDate, l.RelatedPostId AS [Post Link]
  FROM Posts as p
    INNER JOIN PostLinks as l ON p.Id = l.PostId
  WHERE OwnerUserId = ##UserId##
    AND (
             Body LIKE '%/a/%'
          OR Body LIKE '%/q/%'
        )
  ORDER BY p.CreationDate

Enter Parameters

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