diff --git a/class_system.sql b/class_system.sql index 4a252fb..d4dd315 100644 --- a/class_system.sql +++ b/class_system.sql @@ -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;