select P1.Id as [Id Post], P2.Score, P2.CreationDate as A...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Computational Science

Q&A for scientists using computers to solve scientific problems

select
  P1.Id as [Id Post],
  P2.Score,
  P2.CreationDate as AnswerDate,
  P1.CreationDate as PostDate,
  datediff(day, P1.CreationDate, P2.CreationDate) as Diff,
  P2.Body
from Posts P1
join Posts P2 on P1.Id = P2.ParentId 
where datediff(day, P1.CreationDate, P2.CreationDate) > 365 
and P1.ViewCount > 1000 
and not P1.OwnerUserId = P2.OwnerUserId 
order by P2.CreationDate desc

Enter Parameters

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