Invalid query: 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 6
Whole query: SELECT substr(area_geo, instr(area_geo, '-')+1) as area_lat, substr(area_geo, 1, instr(area_geo, '-')-1) as area_lng FROM exportAreaInfo JOIN exportRouteInfo ON exportAreaInfo.area_id= exportRouteInfo.area_id WHERE exportRouteInfo.route_id=