Number of nondeleted answers in the last year

0

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(*) FROM Posts
WHERE CreationDate > DATEADD(year,-1,GETDATE())
-- Answers are 2
AND PostTypeId = 2
-- Ignore Community user
AND OwnerUserId > -1

Enter Parameters

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