Correction status:qualified
Teacher's comments:
/* Navicat Premium Data Transfer Source Server : localMySql Source Server Type : MySQL Source Server Version : 80015 Source Host : localhost:3306 Source Schema : bh Target Server Type : MySQL Target Server Version : 80015 File Encoding : 65001 Date: 21/03/2019 07:43:16 */ SET NAMES utf8mb4; SET FOREIGN_KEY_CHECKS = 0; -- ---------------------------- -- Table structure for Students -- ---------------------------- DROP TABLE IF EXISTS `Students`; CREATE TABLE `Students` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id', `name` varchar(50) NOT NULL COMMENT '姓名', `age` tinyint(3) NOT NULL DEFAULT '18' COMMENT '年龄', `sex` varchar(3) NOT NULL DEFAULT '男' COMMENT '性别', `home` varchar(256) NOT NULL COMMENT '家庭住址', `Math` float NOT NULL DEFAULT '0' COMMENT '数学', `Chinese` float NOT NULL DEFAULT '0' COMMENT '语文', `English` float NOT NULL DEFAULT '0' COMMENT '英语', `sports` float NOT NULL DEFAULT '0' COMMENT '体育', `computer` float NOT NULL DEFAULT '0' COMMENT '计算机', `score` float NOT NULL DEFAULT '0' COMMENT '总成绩', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of Students -- ---------------------------- BEGIN; INSERT INTO `Students` VALUES (1, '张三', 18, '男', '黑龙江省', 98, 89, 68, 72, 56, 456); INSERT INTO `Students` VALUES (2, '李四', 26, '男', '山东省', 78, 99, 80, 67, 54, 368); INSERT INTO `Students` VALUES (3, '赵燕', 23, '女', '菏泽市', 72, 75, 77, 65, 74, 450); COMMIT; SET FOREIGN_KEY_CHECKS = 1;
点击 "运行实例" 按钮查看在线实例