testing

0

Please login or register to vote for this query.

(click on this box to dismiss)

Mythology

Q&A for enthusiasts and scholars of mythology and folklore

SELECT p.ParentId, p.Id as [Post Link], p.Title, pp.Title
FROM Posts p
JOIN Posts pp ON p.ParentId = pp.Id
JOIN PostHistory ph on ph.PostId = pp.Id 
WHERE p.PostTypeId = 2 -- answer
AND p.OwnerUserId = ##userid?8620333##
AND ph.PostHistoryTypeId = 10 -- closed
AND ph.Comment = 101 -- as duplicate
AND p.closeddate is not null

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results