In summary database knowledge (continually updated)

Multi-table database associated delete, delete data in the table behind the FROM, only appear after the USING table data will not be deleted.

DELETE FROM TABLE1 USING TABLE1 T1 INNER JOIN TABLE2 T2 ON T1.C_1 = T2.C_2

Guess you like

Origin www.cnblogs.com/situwang/p/12430163.html