Posts closed since 01/2012 by month

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 20 CONCAT ('http://gaming.stackexchange.com/q/', Posts.Id) as Question, Posts.Score, Posts.ViewCount, PostHistory.Comment as CloseReasonId 
FROM PostHistory
JOIN Posts ON Posts.Id = PostHistory.PostId
WHERE Posts.ClosedDate >= '2012-09-01' 
AND Posts.ClosedDate < '2012-12-01'
AND PostHistoryTypeId = 10
ORDER BY NEWID()

Enter Parameters

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