Questions closed for a specific reason

0

Please login or register to vote for this query.

(click on this box to dismiss)

See here for close reason types: http://data.stackexchange.com/stackoverflow/query/36599/show-all-types Note that if a question has been closed and reopened multiple times, all reasons will show up in the results.

Stack Overflow

Q&A for professional and enthusiast programmers

SELECT TOP ##topn:int?50##
  q.Id AS [Post Link]
--  h.Comment,
--  h.PostId
FROM Posts q
INNER JOIN PostTypes pt ON q.PostTypeId = pt.id
INNER JOIN CloseAsOffTopicReasonTypes cotrt ON cotrt.Id = pt.id
--INNER JOIN PostHistory h ON q.Id = h.PostId
--WHERE h.PostHistoryTypeId = 10
--  AND h.Comment=##reason:int?102##
--  AND q.ClosedDate IS NOT NULL
--ORDER BY score ASC

Enter Parameters

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