select parent.id, parent.Title, Posts.Title, Comments.Text

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

select  parent.id, parent.Title, Posts.Title, Comments.Text
  from Comments 
    inner join Posts on Posts.id = Comments.Postid
    inner join Posts as parent on Posts.parentid = parent.id
  where UserId = 125734 and Comments.Text like '%corrected%'
  order by Comments.id desc

Enter Parameters

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