You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dsidealDoc/长春市教育局相关文档/数据清洗/数据清洗样例库[已部署到10.10.14.230 Hu...

74 lines
2.8 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/*
Navicat Premium Data Transfer
Source Server : 10.10.14.230
Source Server Type : MySQL
Source Server Version : 100510
Source Host : 10.10.14.230:22066
Source Schema : huanghai
Target Server Type : MySQL
Target Server Version : 100510
File Encoding : 65001
Date: 17/03/2023 09:25:17
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for t_base_person
-- ----------------------------
DROP TABLE IF EXISTS `t_base_person`;
CREATE TABLE `t_base_person` (
`person_id` int NOT NULL AUTO_INCREMENT COMMENT '人员ID',
`person_name` varchar(255) CHARACTER SET gbk COLLATE gbk_chinese_ci NOT NULL COMMENT '人员姓名',
PRIMARY KEY (`person_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = gbk COLLATE = gbk_chinese_ci ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of t_base_person
-- ----------------------------
INSERT INTO `t_base_person` VALUES (1, '黄海');
INSERT INTO `t_base_person` VALUES (2, '昊缤');
-- ----------------------------
-- Table structure for t_zy_main
-- ----------------------------
DROP TABLE IF EXISTS `t_zy_main`;
CREATE TABLE `t_zy_main` (
`zy_id` int NOT NULL COMMENT '作业ID',
`zy_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '作业名称',
PRIMARY KEY (`zy_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of t_zy_main
-- ----------------------------
INSERT INTO `t_zy_main` VALUES (1, '第一次作业');
-- ----------------------------
-- Table structure for t_zy_score
-- ----------------------------
DROP TABLE IF EXISTS `t_zy_score`;
CREATE TABLE `t_zy_score` (
`id` int NOT NULL AUTO_INCREMENT COMMENT '作业得分表的主键,无实际意义',
`zy_id` int NOT NULL COMMENT '作业ID',
`person_id` int NOT NULL COMMENT '学生ID',
`score` int NOT NULL COMMENT '得分',
`check_flag` smallint NOT NULL DEFAULT 0 COMMENT '0待校验1校验成功-1校验失败',
`zy_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '作业名称',
PRIMARY KEY (`id`) USING BTREE,
INDEX `check_flag`(`check_flag` ASC) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of t_zy_score
-- ----------------------------
INSERT INTO `t_zy_score` VALUES (1, 1, 1, 90, 1, '第一次作业');
INSERT INTO `t_zy_score` VALUES (2, 1, 2, 100, 1, '第一次作业');
INSERT INTO `t_zy_score` VALUES (3, 2, 3, 80, -1, NULL);
SET FOREIGN_KEY_CHECKS = 1;