实例
/* Navicat MySQL Data Transfer Source Server : zgj1 Source Server Version : 50714 Source Host : localhost:3306 Source Database : zgj Target Server Type : MYSQL Target Server Version : 50714 File Encoding : 65001 Date: 2019-03-21 17:07:08 */ SET FOREIGN_KEY_CHECKS=0; -- ---------------------------- -- Table structure for user -- ---------------------------- DROP TABLE IF EXISTS `user`; CREATE TABLE `user` ( `id` int(2) NOT NULL AUTO_INCREMENT COMMENT 'id号', `name` varchar(18) DEFAULT NULL COMMENT '姓名', `sex` varchar(4) DEFAULT NULL COMMENT '性别', `age` int(2) DEFAULT NULL COMMENT '年龄', `school` varchar(20) DEFAULT NULL COMMENT '毕业院校', `job` varchar(20) DEFAULT NULL COMMENT '岗位/职务', `field1` varchar(20) DEFAULT NULL, `field2` varchar(20) DEFAULT NULL, `field3` varchar(20) DEFAULT NULL, `field4` varchar(20) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of user -- ---------------------------- INSERT INTO `user` VALUES ('1', '侯亮平', '男', '32', '汉东政法大学', '反贪局长', 'ddd', 'ddd', 'ddd', 'aaa'); INSERT INTO `user` VALUES ('2', '钟晓爱', '女', '31', '汉东政法大学', '监察员', 'ddd', 'ddd', 'fff', 'ddd');
运行实例 »
点击 "运行实例" 按钮查看在线实例