Hay un error: ERROR: column "bici" does not exist LINE 25: ...chapublicacion >= '2019-05-23 16:14:30' ) AND n.idnota =bici ^