Correction status:Uncorrected
Teacher's comments:
/* Navicat MySQL Data Transfer Source Server : blog Source Server Version : 50553 Source Host : localhost:3306 Source Database : blog Target Server Type : MYSQL Target Server Version : 50553 File Encoding : 65001 Date: 2019-03-23 20:46:21 */ SET FOREIGN_KEY_CHECKS=0; -- ---------------------------- -- Table structure for user -- ---------------------------- DROP TABLE IF EXISTS `user`; CREATE TABLE `user` ( `id` int(3) NOT NULL AUTO_INCREMENT, `name` varchar(255) DEFAULT NULL, `sex` char(10) DEFAULT NULL, `age` int(4) DEFAULT NULL, `city` varchar(255) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=35 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of user -- ---------------------------- INSERT INTO `user` VALUES ('12', '杨过', '男', '30', '华山'); INSERT INTO `user` VALUES ('13', '张无忌', '男', '20', '重庆'); INSERT INTO `user` VALUES ('14', '郭靖', '男', '21', '奉节'); INSERT INTO `user` VALUES ('15', '小龙女', '女', '22', '北京'); INSERT INTO `user` VALUES ('16', '扫地神僧', '男', '80', '上海'); INSERT INTO `user` VALUES ('18', '达摩', '男', '150', '少林寺'); INSERT INTO `user` VALUES ('19', '如来', '男', '200000', '西天'); INSERT INTO `user` VALUES ('20', '鸿钧老祖', '男', '1400000', '洪荒'); INSERT INTO `user` VALUES ('21', '创世元灵', '男', '1000000000', '宇宙'); INSERT INTO `user` VALUES ('32', '保来', '男', '30', '重庆');
点击 "运行实例" 按钮查看在线实例