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

MySQL建表SQL语句

数据库结构:考试-提交:https://open.yesapi.cn/tablelist/yesapi_exam_submit.html


-- 数据库大全:考试-提交
-- 来源:YesApi.cn
CREATE TABLE `yesapi_exam_submit` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `student_id` bigint(20) NULL COMMENT '学生ID',
    `exam_id` bigint(20) NULL COMMENT '考试ID',
    `exam` varchar(30) NULL COMMENT '考试名称',
    `question` bigint(20) NULL COMMENT '问题编号',
    `created` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
    `exe_time` int(11) NULL COMMENT '执行时间',
    `message` varchar(255) NULL COMMENT '错误提示',
    `yesapi_exam_submit_status` smallint(6) NULL DEFAULT '0' COMMENT '状态:0-提交 1-已分配执行器 2-执行成功 >2执行失败',
    `yesapi_exam_submit_code` varchar(2000) NULL COMMENT '提交的代码',
    `console` text NULL COMMENT '控制台',
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT '考试-提交';

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


MySQL数据库表结构设计

第 1-10 条, 共 10 条.
字段名称字段类型字段默认值是否允许为空字段描述索引字段数据示例
student_idbigint(20)学生ID无索引
exam_idbigint(20)考试ID无索引
examvarchar(30)考试名称无索引
questionbigint(20)问题编号无索引
createdtimestampCURRENT_TIMESTAMP创建时间无索引CURRENT_TIMESTAMP
exe_timeint(11)执行时间无索引
messagevarchar(255)错误提示无索引
yesapi_exam_submit_statussmallint(6)0状态:0-提交 1-已分配执行器 2-执行成功 >2执行失败无索引0
yesapi_exam_submit_codevarchar(2000)提交的代码无索引
consoletext控制台无索引

猜你喜欢

MySQL数据库设计 考试-账号

MySQL数据库设计 考试-凭证

MySQL数据库设计 考试-代码

MySQL数据库设计 考试-学生

MySQL数据库设计 考试-考试

MySQL数据库设计 考试-题目

MySQL数据库设计 考试-考试题目

MySQL数据库设计 考试-考试说明

MySQL数据库设计 考试-班级

MySQL数据库设计 考试-班级管理员

MySQL数据库设计 考试-班级学生

MySQL数据库设计 考试-提交纪录



回到顶部 ↑