+ 立即免费创建此表 返回数据库大全

MySQL建表SQL语句

数据库结构:分数: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 '分数';

复制后,到数据库执行,即可创建此数据库表。


MySQL数据库表结构设计

第 1-6 条, 共 6 条.
字段名称字段类型字段默认值是否允许为空字段描述索引字段数据示例
score_schoolidint(11)学生编号,学号无索引
score_studentvarchar(50)姓名无索引
score_subjectint(3)科目分数无索引
score_totalint(3)总分无索引
score_averageint(3)平均分无索引
score_rankint(10)排名无索引

猜你喜欢

MySQL数据库设计 学生表模板

MySQL数据库设计 课程

MySQL数据库设计 学校

MySQL数据库设计 社团组织经费记录表

MySQL数据库设计 毕业表



回到顶部 ↑