用mysql建立第一张表student

来源:互联网 发布:淘宝一千零一夜观看 编辑:程序博客网 时间:2024/05/20 20:23
create table student
(
 zkzh     char(20)        not null primary key,
 name     char(8)         not null,
 major    char(20)        null,
 birth    date            not null,
 sex      tinyint(1)      not null default 1,
 score    tinyint(1)      null,
 address  char(60)        not null,
 phone    char(11)        not null,
 picture  longblob        null,
 note     text            null
);

原创粉丝点击