Closed ReOpened After LastEdit By Owner After Closed

1

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for programmers

SELECT COUNT(*) AS ReOpened 
FROM Posts p, PostHistory ph
WHERE 
    p.LastEditDate >= p.ClosedDate
    AND p.LastEditorUserId = p.OwnerUserId
    AND p.Id = ph.postId
    AND ph.PostHistoryTypeId = 11

Enter Parameters

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