Posts edited post 2.5


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 Count(Id) as Total,
       Sum(Case when LastEditDate >= '2011-4-8' then 1 else 0 end) as Edited,
       Sum(Case when LastEditDate < '2011-4-8' or LastEditDate is null then 1 else 0 end) NotEdited
From Posts
Where CreationDate < '2011-04-08'
  AND DeletionDate is null
  AND PostTypeId in (1,2)

Enter Parameters

Switch to meta site
loading Hold tight while we fetch your results