时间:2021-07-01 10:21:17 帮助过:16人阅读
创建班级表:
create table classes( id int unsigned auto_increment primary key not null, name varchar(10) );
创建学生表:
create table students( id int unsigned primary key auto_increment not null, name varchar(20) default ‘‘, age tinyint unsigned default 0, height decimal(5,2), gender enum(‘男‘,‘女‘,‘人妖‘,‘保密‘), cls_id int unsigned default 0 )
---恢复内容结束---
MySQL(二)
标签:column def databases com image 数据库 end default now()