数据库脚本文件

main
xuan 1 month ago
parent 10ba5fed31
commit aeade14510

@ -11,7 +11,7 @@
Target Server Version : 50743
File Encoding : 65001
Date: 12/10/2024 17:29:14
Date: 12/10/2024 17:48:35
*/
SET NAMES utf8mb4;
@ -25,14 +25,11 @@ CREATE TABLE `curriculum` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`course_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of curriculum
-- ----------------------------
INSERT INTO `curriculum` VALUES (1, '操作系统');
INSERT INTO `curriculum` VALUES (2, '离散数学');
INSERT INTO `curriculum` VALUES (4, '高等数学');
-- ----------------------------
-- Table structure for students_list
@ -51,7 +48,5 @@ CREATE TABLE `students_list` (
-- ----------------------------
-- Records of students_list
-- ----------------------------
INSERT INTO `students_list` VALUES (1, 'kk', 1, 1, 1, 2);
INSERT INTO `students_list` VALUES (2, 'xiao', 2, 3, 3, 2);
SET FOREIGN_KEY_CHECKS = 1;

Loading…
Cancel
Save