代码拉取完成,页面将自动刷新
/*
Navicat MySQL Data Transfer
Source Server : phonesy
Source Server Version : 50534
Source Host : localhost:3306
Source Database : yggl
Target Server Type : MYSQL
Target Server Version : 50534
File Encoding : 65001
Date: 2021-04-15 13:35:56
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for `departments`
-- ----------------------------
DROP TABLE IF EXISTS `departments`;
CREATE TABLE `departments` (
`DepartmentID` char(3) NOT NULL,
`DepartmentName` char(20) NOT NULL,
`Note` text,
PRIMARY KEY (`DepartmentID`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;
-- ----------------------------
-- Records of departments
-- ----------------------------
INSERT INTO `departments` VALUES ('1', '财务部', null);
INSERT INTO `departments` VALUES ('2', '人力资源部', null);
INSERT INTO `departments` VALUES ('3', '经理办公室', null);
INSERT INTO `departments` VALUES ('4', '研发部', null);
INSERT INTO `departments` VALUES ('5', '市场部', null);
-- ----------------------------
-- Table structure for `employees`
-- ----------------------------
DROP TABLE IF EXISTS `employees`;
CREATE TABLE `employees` (
`EmployeeID` char(6) NOT NULL,
`Name` char(10) NOT NULL,
`Education` char(4) NOT NULL,
`Birthday` date NOT NULL,
`Sex` char(2) NOT NULL,
`WorkYear` tinyint(1) DEFAULT NULL,
`Address` varchar(20) DEFAULT NULL,
`PhoneNumber` char(12) DEFAULT NULL,
`DepartmentID` char(3) NOT NULL,
PRIMARY KEY (`EmployeeID`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;
-- ----------------------------
-- Records of employees
-- ----------------------------
INSERT INTO `employees` VALUES ('000001', '王林', '大专', '1966-01-23', '1', '8', '中山路32-1-508', '83355668', '2');
INSERT INTO `employees` VALUES ('010008', '伍容华', '本科', '1976-03-28', '1', '3', '北京东路100-2', '83321321', '1');
INSERT INTO `employees` VALUES ('020010', '王向容', '硕士', '1982-12-09', '1', '2', '四牌楼10-0-108', '83792361', '1');
INSERT INTO `employees` VALUES ('020018', '李丽', '大专', '1960-07-30', '0', '6', '中山东路102-2', '83413301', '1');
INSERT INTO `employees` VALUES ('102201', '刘明', '本科', '1972-10-18', '1', '3', '虎踞路100-2', '83606608', '5');
INSERT INTO `employees` VALUES ('102208', '朱俊', '硕士', '1965-09-28', '1', '2', '牌楼巷5-3-106', '84708817', '5');
INSERT INTO `employees` VALUES ('108991', '钟敏', '硕士', '1979-08-10', '0', '4', '中山路10-3-105', '83346722', '3');
INSERT INTO `employees` VALUES ('111006', '张石兵', '本科', '1974-10-01', '1', '1', '解放路34-1-203', '84563418', '5');
INSERT INTO `employees` VALUES ('210678', '林涛', '大专', '1977-04-02', '1', '2', '中山北路24-35', '83467336', '3');
INSERT INTO `employees` VALUES ('302566', '李玉珉', '本科', '1968-09-20', '1', '3', '热河路209-3', '58765991', '4');
INSERT INTO `employees` VALUES ('308759', '叶凡', '本科', '1978-11-18', '1', '2', '北京西路3-7-52', '83308901', '4');
INSERT INTO `employees` VALUES ('504209', '陈林琳', '大专', '1969-09-03', '0', '5', '汉中路120-4-12', '84468158', '4');
-- ----------------------------
-- Table structure for `salary`
-- ----------------------------
DROP TABLE IF EXISTS `salary`;
CREATE TABLE `salary` (
`EmployeeID` char(6) NOT NULL,
`InCome` float(8,0) NOT NULL,
`OutCome` float(5,0) NOT NULL,
PRIMARY KEY (`EmployeeID`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;
-- ----------------------------
-- Records of salary
-- ----------------------------
INSERT INTO `salary` VALUES ('000001', '2101', '123');
INSERT INTO `salary` VALUES ('010008', '1583', '88');
INSERT INTO `salary` VALUES ('102201', '2570', '186');
INSERT INTO `salary` VALUES ('111006', '1987', '80');
INSERT INTO `salary` VALUES ('504209', '2066', '108');
INSERT INTO `salary` VALUES ('302566', '2981', '210');
INSERT INTO `salary` VALUES ('108991', '3260', '282');
INSERT INTO `salary` VALUES ('020010', '2860', '198');
INSERT INTO `salary` VALUES ('020018', '2348', '180');
INSERT INTO `salary` VALUES ('308759', '2532', '199');
INSERT INTO `salary` VALUES ('210678', '2240', '121');
INSERT INTO `salary` VALUES ('102208', '1980', '100');
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。