SELECT TOP 100 d.Id AS [Duplicate Post ID], o.Id AS [Orig...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

SELECT TOP 100 d.Id AS [Duplicate Post ID],
  o.Id AS [Original Post ID]
  FROM PostLinks AS pl
  INNER JOIN Posts AS d
    ON pl.PostId = d.Id
  INNER JOIN Posts AS o
    ON pl.RelatedPostId = o.Id
  WHERE pl.LinkTypeId = 3
  AND d.Id = 18584
--SELECT * from PostHistory where PostID = 56760205

Enter Parameters

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