-
Notifications
You must be signed in to change notification settings - Fork 0
/
companydirectory.sql
181 lines (171 loc) · 9.04 KB
/
companydirectory.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
-- --------------------------------------------------------
-- Host: 127.0.0.1
-- Server version: 10.4.6-MariaDB - mariadb.org binary distribution
-- Server OS: Win64
-- HeidiSQL Version: 11.1.0.6116
-- --------------------------------------------------------
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET NAMES utf8 */;
/*!50503 SET NAMES utf8mb4 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
-- Dumping database structure for companydirectory
CREATE DATABASE IF NOT EXISTS `companydirectory` /*!40100 DEFAULT CHARACTER SET utf8 */;
USE `companydirectory`;
-- Dumping structure for table companydirectory.department
CREATE TABLE IF NOT EXISTS `department` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(50) DEFAULT NULL,
`locationID` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8;
-- Dumping data for table companydirectory.department: ~13 rows (approximately)
/*!40000 ALTER TABLE `department` DISABLE KEYS */;
INSERT INTO `department` (`id`, `name`, `locationID`) VALUES
(1, 'Human Resources', 1),
(2, 'Sales', 2),
(3, 'Marketing', 2),
(4, 'Legal', 1),
(5, 'Services', 1),
(6, 'Research and Development', 3),
(7, 'Product Management', 3),
(8, 'Training', 4),
(9, 'Support', 4),
(10, 'Engineering', 5),
(11, 'Accounting', 5),
(12, 'Business Development', 3);
/*!40000 ALTER TABLE `department` ENABLE KEYS */;
-- Dumping structure for table companydirectory.location
CREATE TABLE IF NOT EXISTS `location` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(50) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
-- Dumping data for table companydirectory.location: ~4 rows (approximately)
/*!40000 ALTER TABLE `location` DISABLE KEYS */;
INSERT INTO `location` (`id`, `name`) VALUES
(1, 'London'),
(2, 'New York'),
(3, 'Paris'),
(4, 'Munich'),
(5, 'Rome');
/*!40000 ALTER TABLE `location` ENABLE KEYS */;
-- Dumping structure for table companydirectory.personnel
CREATE TABLE IF NOT EXISTS `personnel` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`firstName` varchar(50) DEFAULT NULL,
`lastName` varchar(50) DEFAULT NULL,
`jobTitle` varchar(50) DEFAULT NULL,
`email` varchar(50) DEFAULT NULL,
`departmentID` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=101 DEFAULT CHARSET=utf8;
-- Dumping data for table companydirectory.personnel: ~100 rows (approximately)
/*!40000 ALTER TABLE `personnel` DISABLE KEYS */;
INSERT INTO `personnel` (`id`, `firstName`, `lastName`, `jobTitle`, `email`, `departmentID`) VALUES
(1, 'Robert', 'Heffron', '', '[email protected]', 1),
(2, 'Kris', 'Kovnot', '', '[email protected]', 2),
(3, 'Vera', 'Kisbee', '', '[email protected]', 2),
(4, 'Aveline', 'Edgson', '', '[email protected]', 3),
(5, 'Bertie', 'Wittke', '', '[email protected]', 4),
(6, 'Demetre', 'Cossam', '', '[email protected]', 5),
(7, 'Annabela', 'McGavigan', '', '[email protected]', 4),
(8, 'Crichton', 'McAndrew', '', '[email protected]', 1),
(9, 'Cordula', 'Plain', '', '[email protected]', 5),
(10, 'Glen', 'McDougle', '', '[email protected]', 6),
(11, 'Theo', 'Audas', '', '[email protected]', 7),
(12, 'Spense', 'Jolliss', '', '[email protected]', 8),
(13, 'Leopold', 'Carl', '', '[email protected]', 9),
(14, 'Barr', 'MacAllan', '', '[email protected]', 5),
(15, 'Suzie', 'Cromer', '', '[email protected]', 1),
(16, 'Tracee', 'Gisbourn', '', '[email protected]', 10),
(17, 'Taylor', 'St. Quintin', '', '[email protected]', 10),
(18, 'Lin', 'Klassmann', '', '[email protected]', 10),
(19, 'Lay', 'Fintoph', '', '[email protected]', 11),
(20, 'Moishe', 'Flinn', '', '[email protected]', 12),
(21, 'Gay', 'Bickford', '', '[email protected]', 6),
(22, 'Erik', 'Lindback', '', '[email protected]', 8),
(23, 'Tamarra', 'Ace', '', '[email protected]', 9),
(24, 'Barbara-anne', 'Rooksby', '', '[email protected]', 12),
(25, 'Lucien', 'Allsup', '', '[email protected]', 9),
(26, 'Jackelyn', 'Imlach', '', '[email protected]', 11),
(27, 'Virge', 'Bootes', '', '[email protected]', 2),
(28, 'Rafferty', 'Matasov', '', '[email protected]', 4),
(29, 'Vanya', 'Goulder', '', '[email protected]', 9),
(30, 'Bonita', 'McGonagle', '', '[email protected]', 1),
(31, 'Allx', 'Whaley', '', '[email protected]', 1),
(32, 'Mavis', 'Lernihan', '', '[email protected]', 5),
(33, 'Vern', 'Durling', '', '[email protected]', 1),
(34, 'Myles', 'Minchi', '', '[email protected]', 7),
(35, 'Anitra', 'Coleridge', '', '[email protected]', 6),
(36, 'Ailis', 'Brewster', '', '[email protected]', 7),
(37, 'Rahal', 'Tute', '', '[email protected]', 6),
(38, 'Warner', 'Blonden', '', '[email protected]', 12),
(39, 'Melvyn', 'Canner', '', '[email protected]', 4),
(40, 'Ryann', 'Giampietro', '', '[email protected]', 4),
(41, 'Harwell', 'Jefferys', '', '[email protected]', 10),
(42, 'Lanette', 'Buss', '', '[email protected]', 4),
(43, 'Lissie', 'Reddington', '', '[email protected]', 9),
(44, 'Dore', 'Braidford', '', '[email protected]', 11),
(45, 'Lizabeth', 'Di Franceshci', '', '[email protected]', 8),
(46, 'Felic', 'Sharland', '', '[email protected]', 12),
(47, 'Duff', 'Quail', '', '[email protected]', 9),
(48, 'Brendis', 'Shivell', '', '[email protected]', 1),
(49, 'Nevile', 'Schimaschke', '', '[email protected]', 10),
(50, 'Jon', 'Calbaithe', '', '[email protected]', 4),
(51, 'Emmery', 'Darben', '', '[email protected]', 10),
(52, 'Staford', 'Whitesel', '', '[email protected]', 6),
(53, 'Benjamin', 'Hawkslee', '', '[email protected]', 7),
(54, 'Myrle', 'Speer', '', '[email protected]', 3),
(55, 'Matthus', 'Banfield', '', '[email protected]', 3),
(56, 'Annadiana', 'Drance', '', '[email protected]', 3),
(57, 'Rinaldo', 'Fandrey', '', '[email protected]', 2),
(58, 'Roanna', 'Standering', '', '[email protected]', 3),
(59, 'Lorrie', 'Fattorini', '', '[email protected]', 9),
(60, 'Talbot', 'Andrassy', '', '[email protected]', 4),
(61, 'Cindi', 'O\'Mannion', '', '[email protected]', 11),
(62, 'Pancho', 'Mullineux', '', '[email protected]', 1),
(63, 'Cynthy', 'Peyntue', '', '[email protected]', 6),
(64, 'Kristine', 'Christal', '', '[email protected]', 8),
(65, 'Dniren', 'Reboulet', '', '[email protected]', 7),
(66, 'Aggy', 'Napier', '', '[email protected]', 3),
(67, 'Gayleen', 'Hessay', '', '[email protected]', 4),
(68, 'Cull', 'Snoden', '', '[email protected]', 1),
(69, 'Vlad', 'Crocombe', '', '[email protected]', 7),
(70, 'Georgeanna', 'Joisce', '', '[email protected]', 6),
(71, 'Ursola', 'Berthomieu', '', '[email protected]', 4),
(72, 'Mair', 'McKirdy', '', '[email protected]', 1),
(73, 'Erma', 'Runnalls', '', '[email protected]', 8),
(74, 'Heida', 'Gallone', '', '[email protected]', 10),
(75, 'Christina', 'Denge', '', '[email protected]', 12),
(76, 'Wilone', 'Fredi', '', '[email protected]', 7),
(77, 'Stormie', 'Bolderstone', '', '[email protected]', 11),
(78, 'Darryl', 'Pool', '', '[email protected]', 11),
(79, 'Nikolas', 'Mager', '', '[email protected]', 5),
(80, 'Brittney', 'Gaskal', '', '[email protected]', 10),
(81, 'Field', 'Gresty', '', '[email protected]', 4),
(82, 'Martina', 'Tremoulet', '', '[email protected]', 3),
(83, 'Robena', 'Ivanyutin', '', '[email protected]', 2),
(84, 'Reagen', 'Corner', '', '[email protected]', 11),
(85, 'Eveleen', 'Sulter', '', '[email protected]', 6),
(86, 'Christy', 'Dunbobbin', '', '[email protected]', 8),
(87, 'Winthrop', 'Lansley', '', '[email protected]', 8),
(88, 'Lissa', 'Insley', '', '[email protected]', 3),
(89, 'Shell', 'Risebarer', '', '[email protected]', 10),
(90, 'Cherianne', 'Liddyard', '', '[email protected]', 2),
(91, 'Brendan', 'Fooks', '', '[email protected]', 2),
(92, 'Edmund', 'Tace', '', '[email protected]', 9),
(93, 'Ki', 'Tomasini', '', '[email protected]', 10),
(94, 'Chadd', 'McGettrick', '', '[email protected]', 10),
(95, 'Dulcie', 'Baudi', '', '[email protected]', 3),
(96, 'Barnebas', 'Mowbray', '', '[email protected]', 1),
(97, 'Stefanie', 'Anker', '', '[email protected]', 5),
(98, 'Cherye', 'de Cullip', '', '[email protected]', 10),
(99, 'Sinclare', 'Deverall', '', '[email protected]', 6),
(100, 'Shae', 'Johncey', '', '[email protected]', 10);
/*!40000 ALTER TABLE `personnel` ENABLE KEYS */;
/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;
/*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;