posts closed since 2012 with reasons

0

Please login or register to vote for this query.

(click on this box to dismiss)

Woodworking

Q&A for professional and amateur woodworkers

SELECT TOP 20 CONCAT ('http://superuser.com/q/', Posts.Id) as Question
FROM PostHistory
JOIN Posts ON Posts.Id = PostHistory.PostId
WHERE Posts.ClosedDate >= '2012-01-01' 
--AND Posts.ClosedDate < '2012-12-01'
AND PostHistoryTypeId = 10
AND PostHistory.Comment != 1
ORDER BY NEWID()

Enter Parameters

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