mysql 一条语句 删除多个表数据

我想用一条mysql语句删除多个关联表的数据为啥执行成功,但是没有删除数据,该怎么写?下面我写的不行 delete r,q,a from st_resource r left join st_question q on r.res_id = q.qu_res_id left join st_answer a on q.qu_id = a.ans_q_id where q.qu_res_id=?

阅读 3.3k
推荐问题