mysql3表联合删除

 

delete  bus_line_log,bus_stop_log  from  bus_line_log,bus_stop_log,zhouwenjun
 where
bus_line_log.citycode=zhouwenjun.citycode
 and 
bus_line_log.busname=zhouwenjun.busname
and
bus_stop_log.busid=bus_line_log.busid

你可能感兴趣的:(3表联合删除)