I am getting
ERROR 1064 (42000): 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 ” at line 1′
error for the following query
update Stops set trip_flag = true,
route_type = (select route_type from Routes
where route_id = (select route_id from Trips
where trip_id = (select trip_id from Stop_Times
where stop_id = (select stop_id from Stops where location_type = 0)));
Please help me.
There is a missing closing bracket ) at the end.