( SELECT t4.var_3, t4.var_6, t5.var_4, t5.var_5 FROM tabla_4 t4 INNER JOIN tabla_5 t5 ON t5.var_4 = t4.var_4 WHERE t4.var_3 >= '2017-10-01'