Error executeSQL: ERROR: syntax error at or near "AND" LINE 30: n.id_noticia = AND n.estado='Publicada' LIMIT 1 ^