Q&A about the site for software engineers working on automated testing, continuous delivery, service integration and monitoring, and building SDLC infrastructure
SELECT TOP 100 CONCAT ('http://stackoverflow.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 AND PostHistory.Comment != 1 ORDER BY NEWID()