Hay un error: ERROR: column "manzanero" does not exist LINE 25: ...blicacion >= '2019-03-24 23:40:53' ) AND n.idnota =manzanero ^