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)

Bicycles

Q&A for people who build and repair bicycles, people who train cycling, or commute on bicycles

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 P1.CreationDate desc

Enter Parameters

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