Questions which are closed and were in the HNQ

1

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for programmers

SELECT p.Id AS [Post Link],
  concat('site://posts/',
          p.Id,
          '/revisions'
          ) [Revisions Link],
  p.OwnerUserId AS [User Link]
FROM PostHistory ph INNER JOIN Posts p ON ph.PostId=p.Id  
WHERE ph.PostHistoryTypeId=52 AND p.ClosedDate IS NOT NULL
ORDER BY p.Id DESC
---52 = Question became hot network question

Enter Parameters

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