Hay un error: ERROR: column "llenamarisela" does not exist LINE 25: ...licacion >= '2019-04-24 13:08:29' ) AND n.idnota =llenamaris... ^