Questions from the list ordered by last activity - including activity on answers


Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow Meta en español

Preguntas y respuestas sobre el sitio para programadores y profesionales de la informática

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
FROM Posts p
WHERE coalesce(p.ParentId, p.Id) in (##list?3349,3910,4543,2657,3311,3271,4426,3178,599,1241,2798,1297,121,828,402,1338,1911,1852,4376,1253,730,3030,275,439,3065,2409,3014,808,1604,655,3317,3142,1113##)
GROUP BY coalesce(p.ParentId, p.Id)
ORDER BY MAX(p.LastActivityDate) DESC

Enter Parameters

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