SELECT distinct p.Id AS [Post Link], p.CreationDate FROM ...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Gardening and Landscaping

Q&A for gardeners and landscapers

SELECT distinct p.Id AS [Post Link], p.CreationDate
  FROM Posts AS p
 INNER JOIN PostTags AS pt ON pt.PostId = p.Id 
  INNER JOIN Tags AS tn ON pt.TagId = tn.Id AND tn.TagName = '##tagname##'
  WHERE p.PostTypeId = 1 
    AND p.ClosedDate is null 
    AND p.AcceptedAnswerId is null
    AND p.Score < 1 AND (p.Score = 0 OR p.AnswerCount = 0)
    AND p.CreationDate < DATEADD(dd, -37, GETDATE()) 
    AND (p.AnswerCount = 0)
  ORDER BY p.CreationDate DESC

Enter Parameters

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