Shouldn't the inner join between x and b ( sub query and comment ) include
both the date and the ticketid?
David J.
--
View this message in context: http://postgresql.1045698.n5.nabble.com/Help-with-a-JOIN-tp5812094p5812526.html
Sent from the PostgreSQL - novice mailing list archive at Nabble.com.