select top 500 Id, CreationDate, Score, Title, Tags, ( da...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Audio-Video Production Meta

Q&A about the site for engineers, producers, editors, and enthusiasts spanning the fields of video, and media creation

select top 500 Id, CreationDate, Score, Title, Tags, 
(
  datediff(minute, question.creationDate, firstAnswerDate)
) as answerDiff
from (
  select *,
  (
    select min(answer.CreationDate) from Posts answer
    where
      answer.PostTypeId = 2
      and answer.DeletionDate is null
      and answer.parentId = question2.id
  ) as FirstAnswerDate
  from Posts question2
  where
    question2.Score > 20
    and question2.PostTypeId = 1
) question
where
  question.FirstAnswerDate is not null
order by FirstAnswerDate asc;

Enter Parameters

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