You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE rondas.puntos_control_novedad=1
' at line 14
Guardia
Cliente - Sucursal
Fecha de Inicio
Fecha de Fin
Tiempo de Recorrido
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE rondas.puntos_control_novedad=1
AND STR_TO_DATE(r' at line 14