CREATE TABLE `student2`(
`StudentNo` INT(4) NOT null comment'學號',
`LoginPwd` VARCHAR(20),
`Student` VARCHAR(20) comment'學生姓名',
`Sex` tinyint(1) comment '性別,取值為0或1',
`GradeId`int(11) comment '年級編號',
`Phone`VARCHAR(50) not null DEFAULT'' comment'聯系電話,允許為空,即可選輸入',
`Address`varchar(255) not null DEFAULT'' comment'地址,允許為空,即可選輸入',
`BornDate`datetime comment '出生時間',
`Email`VARCHAR(50) not null DEFAULT'' comment'郵箱賬號,允許為空,即可選輸入',
`IdentityCard`VARCHAR(18) COMMENT'身份證號'
`StudentNo` INT(4) NOT null comment'學號',
`LoginPwd` VARCHAR(20),
`Student` VARCHAR(20) comment'學生姓名',
`Sex` tinyint(1) comment '性別,取值為0或1',
`GradeId`int(11) comment '年級編號',
`Phone`VARCHAR(50) not null DEFAULT'' comment'聯系電話,允許為空,即可選輸入',
`Address`varchar(255) not null DEFAULT'' comment'地址,允許為空,即可選輸入',
`BornDate`datetime comment '出生時間',
`Email`VARCHAR(50) not null DEFAULT'' comment'郵箱賬號,允許為空,即可選輸入',
`IdentityCard`VARCHAR(18) COMMENT'身份證號'
)
運行:
