实例
/* Navicat MySQL Data Transfer Source Server : 本地 Source Server Version : 50553 Source Host : localhost:3306 Source Database : teststudy Target Server Type : MYSQL Target Server Version : 50553 File Encoding : 65001 Date: 2019-04-01 17:51:24 */ SET FOREIGN_KEY_CHECKS=0; -- ---------------------------- -- Table structure for usertable -- ---------------------------- DROP TABLE IF EXISTS `usertable`; CREATE TABLE `usertable` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id', `name` varchar(50) NOT NULL COMMENT '姓名', `age` tinyint(3) NOT NULL COMMENT '年龄', `sex` varchar(10) NOT NULL COMMENT '性别', `birth` varchar(10) NOT NULL COMMENT '出生', `unit` varchar(255) NOT NULL COMMENT '单位', `email` varchar(255) NOT NULL, `phone` varchar(20) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of usertable -- ---------------------------- INSERT INTO `usertable` VALUES ('1', '侯亮平', '30', '男', '19800505', '反贪局', 'houliangping@mail.com', '13300001111'); INSERT INTO `usertable` VALUES ('2', '沙瑞金', '40', '男', '19700505', '汉东省省委书记', 'sharuijin@mail.com', '13312121111'); INSERT INTO `usertable` VALUES ('3', '祁同伟', '40', '男', '19700101', '公安厅', 'qitongwei@mail.com', '13111111111');
运行实例 »
点击 "运行实例" 按钮查看在线实例