DECLARE @endw52 datetime = '2013-12-30 00:00:00.000' DECL...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

DECLARE @endw52 datetime = '2013-12-30 00:00:00.000'
DECLARE @w40 datetime = '2013-09-29 00:00:00.000'
SELECT distinct p.Title, p.Id as [Post Link], p.CreationDate, p.AnswerCount
FROM Posts p
INNER JOIN PostTags pt ON pt.PostId = p.Id
INNER JOIN Tags t ON t.Id = pt.TagId
WHERE t.TagName in ('prism', 'prism-2', 'prism-4')
  AND p.CreationDate < @endw52
  AND p.CreationDate > @w40
ORDER BY p.Title DESC, p.AnswerCount ASC

Enter Parameters

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