select top 50 Id, CreationDate, Score, Title, Tags, ( sel...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Programming Puzzles and Code Golf

Q&A for programming puzzle enthusiasts and code golfers

select top 50 Id, CreationDate, Score, Title, Tags,
(
  select min(answer.CreationDate) from Posts answer
  where
    answer.PostTypeId = 2
    and answer.parentId = question.id
) as firstAnswerDate,
(
  select datediff(minute, question.creationDate, min(answer.CreationDate)) from Posts answer
  where
    answer.PostTypeId = 2
    and answer.parentId = question.id
) as answerDiff
from Posts question
where
  PostTypeId = 1
  and tags like '%<code-golf>%'
  and AnswerCount > 0
order by answerDiff desc;

Enter Parameters

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