select Comments.Id as [Comment Link], Comments.Score, Com...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Health Meta

Q&A about the site for professionals in medical and allied health fields, students of those professions, related academics, and others with a sound understanding of medicine and healthcare-related sciences

select
  Comments.Id as [Comment Link],
  Comments.Score,
  Comments.CreationDate as CommentDate,
  a.CreationDate as PostDate,
  datediff(day, a.CreationDate, Comments.CreationDate) as Diff,
  Comments.Text
from Comments
join Posts a on Comments.PostId = a.Id inner join Posts q ON a.ParentId = q.Id
where datediff(day, a.CreationDate, Comments.CreationDate) > 365 
and q.ViewCount > 1000 
and not Comments.UserId = a.OwnerUserId 
order by Comments.CreationDate desc

Enter Parameters

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