Sur

0

Please login or register to vote for this query.

(click on this box to dismiss)

Christianity

Q&A for committed Christians, experts in Christianity and those interested in learning more

DECLARE @tagname varchar(20) = ##language:string##

SELECT
         Questions.CreationDate, 
         Questions.Title, 
         Tags.TagName,
         Answers.CreationDate as ResponseDate,
         DateDiff(minute, Questions.CreationDate, Answers.CreationDate) as ResponseTime
FROM Posts Questions
    join Posts Answers on Answers.id = Questions.AcceptedAnswerId
    join PostTags ON PostTags.PostId = Questions.Id
    join Tags on Tags.Id = PostTags.TagId
    WHERE Questions.CreationDate > convert(datetime, '01/01/2011', 101)  
                 and TagName = @tagname

Enter Parameters

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