What is my Archaeologist badge progress?

1

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

-- How close are you to getting the Archaeologist badge?
--  "Edited 100 posts that were inactive for 6 months"


DECLARE @UserId int = ##UserId##

SELECT distinct p.Id AS [Post Link], p.CreationDate, 
       p.LastEditDate
FROM Posts p
--INNER JOIN Posts a on a.ParentId = p.Id
WHERE p.LastEditDate > DATEADD(month, 6, p.CreationDate)
  and p.LastEditorUserId = @UserId
  and p.OwnerUserId <> @UserId
ORDER BY  p.LastEditDate desc

Enter Parameters

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