select c.postid, c.text as lastcomment from comments c le...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Webmasters

Q&A for pro webmasters

select c.postid, c.text as lastcomment
      from comments c
           left join comments cb
                  on c.postid = cb.postid
                 and c.creationdate < cb.creationdate
     where cb.creationdate is null
       and c.postid = 143567
     order by 1;

Enter Parameters

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