Questions with recent activity - including activity on answers

1

Please login or register to vote for this query.

(click on this box to dismiss)

Reverse Engineering Meta

Q&A about the site for researchers and developers who explore the principles of a system through analysis of its structure, function, and operation

SELECT TOP(##num?100##)
  coalesce(p.ParentId, p.Id) AS [Post Link],
---returns the id of the question
---For questions p.ParentId is NULL, so this returns p.Id
  MAX(p.LastActivityDate)
FROM Posts p
GROUP BY coalesce(p.ParentId, p.Id)
ORDER BY MAX(p.LastActivityDate) DESC

Enter Parameters

Options:
Switch to main site
loading Hold tight while we fetch your results