在 MySql 中,内联同时删除多表可以使用这样的语法:
DELETE t1,t2
FROM table1 AS t1
INNER JOIN table2 t2 ...
INNER JOIN table3 t3 ...
refs
http://*.com/questions/783726/how-do-i-delete-from-multiple-tables-using-inner-join-in-sql-server
2022-11-27 15:24:04
在 MySql 中,内联同时删除多表可以使用这样的语法:
DELETE t1,t2
FROM table1 AS t1
INNER JOIN table2 t2 ...
INNER JOIN table3 t3 ...
http://*.com/questions/783726/how-do-i-delete-from-multiple-tables-using-inner-join-in-sql-server