DECLARE @StartDate datetime = '2013-09-30 00:00:00.000' s...

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 @StartDate datetime = '2013-09-30 00:00:00.000'
select p.Id as [Post Link], p.Score, p.ViewCount, p.CreationDate
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.ParentId is null 
and p.AcceptedAnswerId is not null
AND p.CreationDate > @StartDate

order by CreationDate desc, Score desc

Enter Parameters

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