Mysql联级删除
Mysql联级删除
创建表的时候
-- 父表
create table test(
nam char(10) not null primary key,
age int
)ENGINE= InnoDB CHARACTER SET utf8;
-- 子表
create table test2(
ID int primary key,
nama char(10),
tel char(10),
fore...
原创
2020-04-23 21:12:23 ·
285 阅读 ·
0 评论