Hay un error: ERROR: column "inaugura" does not exist LINE 25: ...ublicacion >= '2019-05-26 04:55:08' ) AND n.idnota =inaugura ^