我正进入(状态
ERROR 1064 (42000):您的 SQL 语法有错误;检查与您的 MySQL 服务器版本相对应的手册,以获取正确的语法,以便在 '' at line 1' 附近使用以下查询的错误
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)));
请帮我。