Qualifying for Archaeologist badge progress


Please login or register to vote for this query.

(click on this box to dismiss)

exclude posts created by user

Amateur Radio

Q&A for amateur radio enthusiasts

SELECT DISTINCT p.Id AS [Post ID], p.Id AS [Post Link], ph.CreationDate AS [Revision Date] 
FROM Posts p INNER JOIN PostHistory ph ON p.Id = ph.PostId
  ph.PostHistoryTypeId IN (3,4,5) AND
  ph.UserID = ##UserID## AND
  ph.CreationDate > ALL (
    SELECT DATEADD(MONTH, 6, pph.CreationDate) FROM PostHistory pph WHERE (
      ph.PostID = pph.PostID AND
      ph.CreationDate > pph.CreationDate
ORDER BY ph.CreationDate DESC

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results