Answers close to a necromancer badge

0

Please login or register to vote for this query.

(click on this box to dismiss)

All my answers on the site

Moderators

Q&A for community managers, administrators, and moderators

DECLARE @UserId int = ##UserId##

SELECT 
    a.Id AS [Post Link], 
    a.Score
FROM
    Posts q
  INNER JOIN
    Posts a ON q.Id = a.ParentId
WHERE
    a.OwnerUserId = @UserId
  AND
    a.PostTypeId = 2
  AND
    a.score <= 4
  AND
    DATEDIFF(d, q.creationdate, a.creationdate) >= 60
ORDER BY
    a.score DESC

Enter Parameters

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