DROP TABLE `student`;
CREATE TABLE `student` (
`id` int NOT NULL AUTO_INCREMENT COMMENT '编号',
`name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '学生',
`classes` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '班级',
`subject` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '科目',
`score` int DEFAULT NULL COMMENT '成绩',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
INSERT INTO `student` (`name`, `classes`, `subject`, `score`) VALUES ('李四', '1班', '围棋', 79);
INSERT INTO `student` (`name`, `classes`, `subject`, `score`) VALUES ('王五', '1班', '围棋', 87);
INSERT INTO `student` (`name`, `classes`, `subject`, `score`) VALUES ('张三', '1班', '足球', 93);
INSERT INTO `student` (`name`, `classes`, `subject`, `score`) VALUES ('王五', '1班', '足球', 88);
INSERT INTO `student` (`name`, `classes`, `subject`, `score`) VALUES ('李四', '1班', '科学实验', 95);
INSERT INTO `student` (`name`, `classes`, `subject`, `score`) VALUES ('王五', '1班', '科学实验', 66);
INSERT INTO `student` (`name`, `classes`, `subject`, `score`) VALUES ('吴六', '1班', '科学实验', 81);
INSERT INTO `student` (`name`, `classes`, `subject`, `score`) VALUES ('林九', '1班', '科学实验', 75);
INSERT INTO `student` (`name`, `classes`, `subject`, `score`) VALUES ('喜羊羊', '2班', '围棋', 93);
INSERT INTO `student` (`name`, `classes`, `subject`, `score`) VALUES ('美羊羊', '2班', '围棋', 86);
INSERT INTO `student` (`name`, `classes`, `subject`, `score`) VALUES ('喜羊羊', '2班', '足球', 91);
INSERT INTO `student` (`name`, `classes`, `subject`, `score`) VALUES ('沸羊羊', '2班', '足球', 79);
INSERT INTO `student` (`name`, `classes`, `subject`, `score`) VALUES ('灰太狼', '2班', '足球', 83);
INSERT INTO `student` (`name`, `classes`, `subject`, `score`) VALUES ('喜羊羊', '2班', '科学实验', 89);
INSERT INTO `student` (`name`, `classes`, `subject`, `score`) VALUES ('美羊羊', '2班', '科学实验', 76);
INSERT INTO `student` (`name`, `classes`, `subject`, `score`) VALUES ('灰太狼', '2班', '科学实验', 92);
INSERT INTO `student` (`name`, `classes`, `subject`, `score`) VALUES ('天才威', '3班', '围棋', 97);
INSERT INTO `student` (`name`, `classes`, `subject`, `score`) VALUES ('光头强', '3班', '足球', 89);
INSERT INTO `student` (`name`, `classes`, `subject`, `score`) VALUES ('熊大', '3班', '足球', 86);
INSERT INTO `student` (`name`, `classes`, `subject`, `score`) VALUES ('熊二', '3班', '足球', 68);
INSERT INTO `student` (`name`, `classes`, `subject`, `score`) VALUES ('天才威', '3班', '足球', 73);
INSERT INTO `student` (`name`, `classes`, `subject`, `score`) VALUES ('光头强', '3班', '科学实验', 90);
INSERT INTO `student` (`name`, `classes`, `subject`, `score`) VALUES ('天才威', '3班', '科学实验', 98);