MySQL数据库表结构设计
第 1-6 条, 共 6 条.
字段名称 | 字段类型 | 字段默认值 | 是否允许为空 | 字段描述 | 索引 | 字段数据示例 |
---|---|---|---|---|---|---|
score_schoolid | int(11) | 是 | 学生编号,学号 | 无索引 | ||
score_student | varchar(50) | 是 | 姓名 | 无索引 | ||
score_subject | int(3) | 是 | 科目分数 | 无索引 | ||
score_total | int(3) | 是 | 总分 | 无索引 | ||
score_average | int(3) | 是 | 平均分 | 无索引 | ||
score_rank | int(10) | 是 | 排名 | 无索引 |
MySQL建表SQL语句 免费MySQL数据库表结构设计
数据库结构:分数:https://open.yesapi.cn/tablelist/okayapi_score.html
-- 数据库大全:分数
-- 来源:YesApi.cn
CREATE TABLE `okayapi_score` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`score_schoolid` int(11) NULL COMMENT '学生编号,学号',
`score_student` varchar(50) NULL COMMENT '姓名',
`score_subject` int(3) NULL COMMENT '科目分数',
`score_total` int(3) NULL COMMENT '总分',
`score_average` int(3) NULL COMMENT '平均分',
`score_rank` int(10) NULL COMMENT '排名',
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT '分数';
复制后,到数据库执行,即可创建此数据库表。
猜你喜欢

