Correction status:Uncorrected
Teacher's comments:
/* Navicat MySQL Data Transfer Source Server : myphp Source Server Version : 50553 Source Host : localhost:3306 Source Database : ymz Target Server Type : MYSQL Target Server Version : 50553 File Encoding : 65001 Date: 2019-03-22 18:58:05 */ SET FOREIGN_KEY_CHECKS=0; -- ---------------------------- -- Table structure for staff -- ---------------------------- DROP TABLE IF EXISTS `staff`; CREATE TABLE `staff` ( `id` int(5) unsigned NOT NULL AUTO_INCREMENT COMMENT '编号', `name` varchar(30) NOT NULL COMMENT '姓名', `age` int(3) unsigned NOT NULL COMMENT '年龄', `sex` int(1) unsigned NOT NULL DEFAULT '1' COMMENT '性别:1男0女', `position` varchar(20) NOT NULL COMMENT '职位', `mobile` char(11) NOT NULL COMMENT '手机', `hiredate` int(10) unsigned NOT NULL COMMENT '入职时间', PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=14 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of staff -- ---------------------------- INSERT INTO `staff` VALUES ('2', '候亮平', '30', '1', '反贪局长', '13899776655', '1548999267'); INSERT INTO `staff` VALUES ('3', '朱大侠', '38', '1', '山水集团', '13576543210', '1548999267'); INSERT INTO `staff` VALUES ('4', '李达康', '50', '1', '市委书记', '18955135522', '1548999267'); INSERT INTO `staff` VALUES ('5', '祁同伟', '45', '1', '公安厅长', '13388888110', '1548999267'); INSERT INTO `staff` VALUES ('6', '高小琴', '30', '1', '山水集团', '15798986666', '1548999267');
点击 "运行实例" 按钮查看在线实例