1. 程式人生 > >davinci 刪除路線站點關系

davinci 刪除路線站點關系

city select raw info lec sql inf 由於 cit

刪除路線站點關系

DELETE FROM tb_station_info_draw WHERE id in (SELECT stationId FROM tb_road_station_relation_draw WHERE cityId=283 AND roadId=46);

DELETE FROM tb_road_station_relation_draw WHERE cityId=283 AND roadId=46;

由於sql分開,要先執行1,再執行2。

davinci 刪除路線站點關系