create table tablename (
id int(11) not null,
name varchar(256) not null,
school_id int(11) not null,
primary key(id),
foreign key(school_id) references school(id)
)
其中school为表名
create table tablename (
id int(11) not null,
name varchar(256) not null,
school_id int(11) not null,
primary key(id),
foreign key(school_id) references school(id)
)
其中school为表名
1万+
7622
1万+

被折叠的 条评论
为什么被折叠?
