一、跨表删除
根据多个关联表删除表中的记录,SQL语句如下: 方式一:
DELETE t1.*, t2.*
FROM 表一 t1, 表二 t2
WHERE t1.表一ID =
t2.表二ID(注:该ID与表一的ID关联,表一...
【mysql】 【SQL】 【join】 【null】 【update】 …
Community journal
Follow the feed
The latest from the MySQL community
Ideas, releases, practical guides, and perspectives from the people building with MySQL.
Showing entries 1 to 3 of 3
« Previous |
Next »
Nov
13
2016
Nov
06
2016