select distinct postid from comments minus select c.posti...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Webmasters

Q&A for pro webmasters

select distinct postid
from comments
minus
select c.postid
      from comments c
           left join comments cb
                  on c.postid = cb.postid
                 and c.creationdate < cb.creationdate
     where cb.creationdate is null
     order by 1;

Enter Parameters

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