Automatically protected questions


Please login or register to vote for this query.

(click on this box to dismiss)

Meta Stack Exchange

Q&A for meta-discussion of the Stack Exchange family of Q&A websites

select distinct PostId as [Post Link]
from PostHistory
where PostHistoryTypeId=19
and PostId not in 
 (select p.PostId 
  from PostHistory p
  join PostHistory up on up.PostId=p.PostId
  where p.PostHistoryTypeId=19
   and up.PostHistoryTypeId=20
  group by p.PostId
  having max(up.CreationDate) > max(p.CreationDate))
 and UserId = -1

Enter Parameters

Switch sites
loading Hold tight while we fetch your results