Hay un error: ERROR: column "fitur" does not exist LINE 25: ...hapublicacion >= '2019-01-19 10:12:46' ) AND n.idnota =fitur ^