Questions closed for a custom reason

1

Please login or register to vote for this query.

(click on this box to dismiss)

This does not work because PendingFlags only has pending close votes, not votes that succeeded.

Stack Overflow

Q&A for professional and enthusiast programmers

SELECT TOP 20
  q.ViewCount AS Views,
  q.Score as score,
  q.Id AS [Post Link]
FROM Posts q
INNER JOIN PostHistory h ON q.Id = h.PostId
WHERE h.PostHistoryTypeId = 10
  AND h.Comment=103
  AND q.ClosedDate IS NOT NULL
ORDER BY score DESC

Enter Parameters

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