File size: 21,456 Bytes
9e4ab0c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
CREATE TABLE "regions" (
"region_id" integer,
"region_name" text
);

INSERT INTO regions VALUES (1, "europer");
INSERT INTO regions VALUES (2, "americasr");
INSERT INTO regions VALUES (3, "asiar");
INSERT INTO regions VALUES (4, "middle east and africar");

CREATE TABLE "countries" (
"country_id" text,
"country_name" text,
"region_id" integer
);

INSERT INTO countries VALUES ("ar", "argentina", 2);
INSERT INTO countries VALUES ("au", "australia", 3);
INSERT INTO countries VALUES ("be", "belgium", 1);
INSERT INTO countries VALUES ("br", "brazil", 2);
INSERT INTO countries VALUES ("ca", "canada", 2);
INSERT INTO countries VALUES ("ch", "switzerland", 1);
INSERT INTO countries VALUES ("cn", "china", 3);
INSERT INTO countries VALUES ("de", "germany", 1);
INSERT INTO countries VALUES ("dk", "denmark", 1);
INSERT INTO countries VALUES ("eg", "egypt", 4);
INSERT INTO countries VALUES ("fr", "france", 1);
INSERT INTO countries VALUES ("hk", "hongkong", 3);
INSERT INTO countries VALUES ("il", "israel", 4);
INSERT INTO countries VALUES ("in", "india", 3);
INSERT INTO countries VALUES ("it", "italy", 1);
INSERT INTO countries VALUES ("jp", "japan", 3);
INSERT INTO countries VALUES ("kw", "kuwait", 4);
INSERT INTO countries VALUES ("mx", "mexico", 2);
INSERT INTO countries VALUES ("ng", "nigeria", 4);
INSERT INTO countries VALUES ("nl", "netherlands", 1);
INSERT INTO countries VALUES ("sg", "singapore", 3);
INSERT INTO countries VALUES ("uk", "united kingdom", 1);
INSERT INTO countries VALUES ("us", "united states of america", 2);
INSERT INTO countries VALUES ("zm", "zambia", 4);
INSERT INTO countries VALUES ("zw", "zimbabwe", 4);

CREATE TABLE "departments" (
"department_id" integer,
"department_name" text,
"manager_id" integer,
"location_id" integer
);

INSERT INTO departments VALUES (10, "administration", 200, 1700);
INSERT INTO departments VALUES (20, "marketing", 201, 1800);
INSERT INTO departments VALUES (30, "purchasing", 114, 1700);
INSERT INTO departments VALUES (40, "human resources", 203, 2400);
INSERT INTO departments VALUES (50, "shipping", 121, 1500);
INSERT INTO departments VALUES (60, "it", 103, 1400);
INSERT INTO departments VALUES (70, "public relations", 204, 2700);
INSERT INTO departments VALUES (80, "sales", 145, 2500);
INSERT INTO departments VALUES (90, "executive", 100, 1700);
INSERT INTO departments VALUES (100, "finance", 108, 1700);
INSERT INTO departments VALUES (110, "accounting", 205, 1700);
INSERT INTO departments VALUES (120, "treasury", 0, 1700);
INSERT INTO departments VALUES (130, "corporate tax", 0, 1700);
INSERT INTO departments VALUES (140, "control and credit", 0, 1700);
INSERT INTO departments VALUES (150, "shareholder services", 0, 1700);
INSERT INTO departments VALUES (160, "benefits", 0, 1700);
INSERT INTO departments VALUES (170, "manufacturing", 0, 1700);
INSERT INTO departments VALUES (180, "construction", 0, 1700);
INSERT INTO departments VALUES (190, "contracting", 0, 1700);
INSERT INTO departments VALUES (200, "operations", 0, 1700);
INSERT INTO departments VALUES (210, "it support", 0, 1700);
INSERT INTO departments VALUES (220, "noc", 0, 1700);
INSERT INTO departments VALUES (230, "it helpdesk", 0, 1700);
INSERT INTO departments VALUES (240, "government sales", 0, 1700);
INSERT INTO departments VALUES (250, "retail sales", 0, 1700);
INSERT INTO departments VALUES (260, "recruiting", 0, 1700);
INSERT INTO departments VALUES (270, "payroll", 0, 1700);

CREATE TABLE "jobs" (
"job_id" text,
"job_title" text,
"min_salary" integer,
"max_salary" integer
);

INSERT INTO jobs VALUES ("ac_account", "president", 20000, 40000);
INSERT INTO jobs VALUES ("ac_mgr", "administration vice president", 15000, 30000);
INSERT INTO jobs VALUES ("ad_asst", "administration assistant", 3000, 6000);
INSERT INTO jobs VALUES ("ad_pres", "finance manager", 8200, 16000);
INSERT INTO jobs VALUES ("ad_vp", "accountant", 4200, 9000);
INSERT INTO jobs VALUES ("fi_account", "accounting manager", 8200, 16000);
INSERT INTO jobs VALUES ("fi_mgr", "public accountant", 4200, 9000);
INSERT INTO jobs VALUES ("hr_rep", "sales manager", 10000, 20000);
INSERT INTO jobs VALUES ("it_prog", "sales representative", 6000, 12000);
INSERT INTO jobs VALUES ("mk_man", "purchasing manager", 8000, 15000);
INSERT INTO jobs VALUES ("mk_rep", "purchasing clerk", 2500, 5500);
INSERT INTO jobs VALUES ("pr_rep", "stock manager", 5500, 8500);
INSERT INTO jobs VALUES ("pu_clerk", "stock clerk", 2000, 5000);
INSERT INTO jobs VALUES ("pu_man", "shipping clerk", 2500, 5500);
INSERT INTO jobs VALUES ("sa_man", "programmer", 4000, 10000);
INSERT INTO jobs VALUES ("sa_rep", "marketing manager", 9000, 15000);
INSERT INTO jobs VALUES ("sh_clerk", "marketing representative", 4000, 9000);
INSERT INTO jobs VALUES ("st_clerk", "human resources representative", 4000, 9000);
INSERT INTO jobs VALUES ("st_man", "public relations representative", 4500, 10500);

CREATE TABLE "employees" (
"employee_id" integer,
"first_name" text,
"last_name" text,
"email" text,
"phone_number" text,
"hire_date" text,
"job_id" text,
"salary" integer,
"commission_pct" integer,
"manager_id" integer,
"department_id" integer
);

INSERT INTO employees VALUES (100, "steven", "king", "sking", "515.123.4567", "1987-06-17", "ad_pres", 24000, 0, 0, 90);
INSERT INTO employees VALUES (101, "neena", "kochhar", "nkochhar", "515.123.4568", "1987-06-18", "ad_vp", 17000, 0, 100, 90);
INSERT INTO employees VALUES (102, "lex", "de haan", "ldehaan", "515.123.4569", "1987-06-19", "ad_vp", 17000, 0, 100, 90);
INSERT INTO employees VALUES (103, "alexander", "hunold", "ahunold", "590.423.4567", "1987-06-20", "it_prog", 9000, 0, 102, 60);
INSERT INTO employees VALUES (104, "bruce", "ernst", "bernst", "590.423.4568", "1987-06-21", "it_prog", 6000, 0, 103, 60);
INSERT INTO employees VALUES (105, "david", "austin", "daustin", "590.423.4569", "1987-06-22", "it_prog", 4800, 0, 103, 60);
INSERT INTO employees VALUES (106, "valli", "pataballa", "vpatabal", "590.423.4560", "1987-06-23", "it_prog", 4800, 0, 103, 60);
INSERT INTO employees VALUES (107, "diana", "lorentz", "dlorentz", "590.423.5567", "1987-06-24", "it_prog", 4200, 0, 103, 60);
INSERT INTO employees VALUES (108, "nancy", "greenberg", "ngreenbe", "515.124.4569", "1987-06-25", "fi_mgr", 12000, 0, 101, 100);
INSERT INTO employees VALUES (109, "daniel", "faviet", "dfaviet", "515.124.4169", "1987-06-26", "fi_account", 9000, 0, 108, 100);
INSERT INTO employees VALUES (110, "john", "chen", "jchen", "515.124.4269", "1987-06-27", "fi_account", 8200, 0, 108, 100);
INSERT INTO employees VALUES (111, "ismael", "sciarra", "isciarra", "515.124.4369", "1987-06-28", "fi_account", 7700, 0, 108, 100);
INSERT INTO employees VALUES (112, "jose manuel", "urman", "jmurman", "515.124.4469", "1987-06-29", "fi_account", 7800, 0, 108, 100);
INSERT INTO employees VALUES (113, "luis", "popp", "lpopp", "515.124.4567", "1987-06-30", "fi_account", 6900, 0, 108, 100);
INSERT INTO employees VALUES (114, "den", "raphaely", "drapheal", "515.127.4561", "1987-07-01", "pu_man", 11000, 0, 100, 30);
INSERT INTO employees VALUES (115, "alexander", "khoo", "akhoo", "515.127.4562", "1987-07-02", "pu_clerk", 3100, 0, 114, 30);
INSERT INTO employees VALUES (116, "shelli", "baida", "sbaida", "515.127.4563", "1987-07-03", "pu_clerk", 2900, 0, 114, 30);
INSERT INTO employees VALUES (117, "sigal", "tobias", "stobias", "515.127.4564", "1987-07-04", "pu_clerk", 2800, 0, 114, 30);
INSERT INTO employees VALUES (118, "guy", "himuro", "ghimuro", "515.127.4565", "1987-07-05", "pu_clerk", 2600, 0, 114, 30);
INSERT INTO employees VALUES (119, "karen", "colmenares", "kcolmena", "515.127.4566", "1987-07-06", "pu_clerk", 2500, 0, 114, 30);
INSERT INTO employees VALUES (120, "matthew", "weiss", "mweiss", "650.123.1234", "1987-07-07", "st_man", 8000, 0, 100, 50);
INSERT INTO employees VALUES (121, "adam", "fripp", "afripp", "650.123.2234", "1987-07-08", "st_man", 8200, 0, 100, 50);
INSERT INTO employees VALUES (122, "payam", "kaufling", "pkauflin", "650.123.3234", "1987-07-09", "st_man", 7900, 0, 100, 50);
INSERT INTO employees VALUES (123, "shanta", "vollman", "svollman", "650.123.4234", "1987-07-10", "st_man", 6500, 0, 100, 50);
INSERT INTO employees VALUES (124, "kevin", "mourgos", "kmourgos", "650.123.5234", "1987-07-11", "st_man", 5800, 0, 100, 50);
INSERT INTO employees VALUES (125, "julia", "nayer", "jnayer", "650.124.1214", "1987-07-12", "st_clerk", 3200, 0, 120, 50);
INSERT INTO employees VALUES (126, "irene", "mikkilineni", "imikkili", "650.124.1224", "1987-07-13", "st_clerk", 2700, 0, 120, 50);
INSERT INTO employees VALUES (127, "james", "landry", "jlandry", "650.124.1334", "1987-07-14", "st_clerk", 2400, 0, 120, 50);
INSERT INTO employees VALUES (128, "steven", "markle", "smarkle", "650.124.1434", "1987-07-15", "st_clerk", 2200, 0, 120, 50);
INSERT INTO employees VALUES (129, "laura", "bissot", "lbissot", "650.124.5234", "1987-07-16", "st_clerk", 3300, 0, 121, 50);
INSERT INTO employees VALUES (130, "mozhe", "atkinson", "matkinso", "650.124.6234", "1987-07-17", "st_clerk", 2800, 0, 121, 50);
INSERT INTO employees VALUES (131, "james", "marlow", "jamrlow", "650.124.7234", "1987-07-18", "st_clerk", 2500, 0, 121, 50);
INSERT INTO employees VALUES (132, "tj", "olson", "tjolson", "650.124.8234", "1987-07-19", "st_clerk", 2100, 0, 121, 50);
INSERT INTO employees VALUES (133, "jason", "mallin", "jmallin", "650.127.1934", "1987-07-20", "st_clerk", 3300, 0, 122, 50);
INSERT INTO employees VALUES (134, "michael", "rogers", "mrogers", "650.127.1834", "1987-07-21", "st_clerk", 2900, 0, 122, 50);
INSERT INTO employees VALUES (135, "ki", "gee", "kgee", "650.127.1734", "1987-07-22", "st_clerk", 2400, 0, 122, 50);
INSERT INTO employees VALUES (136, "hazel", "philtanker", "hphiltan", "650.127.1634", "1987-07-23", "st_clerk", 2200, 0, 122, 50);
INSERT INTO employees VALUES (137, "renske", "ladwig", "rladwig", "650.121.1234", "1987-07-24", "st_clerk", 3600, 0, 123, 50);
INSERT INTO employees VALUES (138, "stephen", "stiles", "sstiles", "650.121.2034", "1987-07-25", "st_clerk", 3200, 0, 123, 50);
INSERT INTO employees VALUES (139, "john", "seo", "jseo", "650.121.2019", "1987-07-26", "st_clerk", 2700, 0, 123, 50);
INSERT INTO employees VALUES (140, "joshua", "patel", "jpatel", "650.121.1834", "1987-07-27", "st_clerk", 2500, 0, 123, 50);
INSERT INTO employees VALUES (141, "trenna", "rajs", "trajs", "650.121.8009", "1987-07-28", "st_clerk", 3500, 0, 124, 50);
INSERT INTO employees VALUES (142, "curtis", "davies", "cdavies", "650.121.2994", "1987-07-29", "st_clerk", 3100, 0, 124, 50);
INSERT INTO employees VALUES (143, "randall", "matos", "rmatos", "650.121.2874", "1987-07-30", "st_clerk", 2600, 0, 124, 50);
INSERT INTO employees VALUES (144, "peter", "vargas", "pvargas", "650.121.2004", "1987-07-31", "st_clerk", 2500, 0, 124, 50);
INSERT INTO employees VALUES (145, "john", "russell", "jrussel", "011.44.1344.429268", "1987-08-01", "sa_man", 14000, 0.4, 100, 80);
INSERT INTO employees VALUES (146, "karen", "partners", "kpartner", "011.44.1344.467268", "1987-08-02", "sa_man", 13500, 0.3, 100, 80);
INSERT INTO employees VALUES (147, "alberto", "errazuriz", "aerrazur", "011.44.1344.429278", "1987-08-03", "sa_man", 12000, 0.3, 100, 80);
INSERT INTO employees VALUES (148, "gerald", "cambrault", "gcambrau", "011.44.1344.619268", "1987-08-04", "sa_man", 11000, 0.3, 100, 80);
INSERT INTO employees VALUES (149, "eleni", "zlotkey", "ezlotkey", "011.44.1344.429018", "1987-08-05", "sa_man", 10500, 0.2, 100, 80);
INSERT INTO employees VALUES (150, "peter", "tucker", "ptucker", "011.44.1344.129268", "1987-08-06", "sa_rep", 10000, 0.3, 145, 80);
INSERT INTO employees VALUES (151, "david", "bernstein", "dbernste", "011.44.1344.345268", "1987-08-07", "sa_rep", 9500, 0.25, 145, 80);
INSERT INTO employees VALUES (152, "peter", "hall", "phall", "011.44.1344.478968", "1987-08-08", "sa_rep", 9000, 0.25, 145, 80);
INSERT INTO employees VALUES (153, "christopher", "olsen", "colsen", "011.44.1344.498718", "1987-08-09", "sa_rep", 8000, 0.2, 145, 80);
INSERT INTO employees VALUES (154, "nanette", "cambrault", "ncambrau", "011.44.1344.987668", "1987-08-10", "sa_rep", 7500, 0.2, 145, 80);
INSERT INTO employees VALUES (155, "oliver", "tuvault", "otuvault", "011.44.1344.486508", "1987-08-11", "sa_rep", 7000, 0.15, 145, 80);
INSERT INTO employees VALUES (156, "janette", "king", "jking", "011.44.1345.429268", "1987-08-12", "sa_rep", 10000, 0.35, 146, 80);
INSERT INTO employees VALUES (157, "patrick", "sully", "psully", "011.44.1345.929268", "1987-08-13", "sa_rep", 9500, 0.35, 146, 80);
INSERT INTO employees VALUES (158, "allan", "mcewen", "amcewen", "011.44.1345.829268", "1987-08-14", "sa_rep", 9000, 0.35, 146, 80);
INSERT INTO employees VALUES (159, "lindsey", "smith", "lsmith", "011.44.1345.729268", "1987-08-15", "sa_rep", 8000, 0.3, 146, 80);
INSERT INTO employees VALUES (160, "louise", "doran", "ldoran", "011.44.1345.629268", "1987-08-16", "sa_rep", 7500, 0.3, 146, 80);
INSERT INTO employees VALUES (161, "sarath", "sewall", "ssewall", "011.44.1345.529268", "1987-08-17", "sa_rep", 7000, 0.25, 146, 80);
INSERT INTO employees VALUES (162, "clara", "vishney", "cvishney", "011.44.1346.129268", "1987-08-18", "sa_rep", 10500, 0.25, 147, 80);
INSERT INTO employees VALUES (163, "danielle", "greene", "dgreene", "011.44.1346.229268", "1987-08-19", "sa_rep", 9500, 0.15, 147, 80);
INSERT INTO employees VALUES (164, "mattea", "marvins", "mmarvins", "011.44.1346.329268", "1987-08-20", "sa_rep", 7200, 0.1, 147, 80);
INSERT INTO employees VALUES (165, "david", "lee", "dlee", "011.44.1346.529268", "1987-08-21", "sa_rep", 6800, 0.1, 147, 80);
INSERT INTO employees VALUES (166, "sundar", "ande", "sande", "011.44.1346.629268", "1987-08-22", "sa_rep", 6400, 0.1, 147, 80);
INSERT INTO employees VALUES (167, "amit", "banda", "abanda", "011.44.1346.729268", "1987-08-23", "sa_rep", 6200, 0.1, 147, 80);
INSERT INTO employees VALUES (168, "lisa", "ozer", "lozer", "011.44.1343.929268", "1987-08-24", "sa_rep", 11500, 0.25, 148, 80);
INSERT INTO employees VALUES (169, "harrison", "bloom", "hbloom", "011.44.1343.829268", "1987-08-25", "sa_rep", 10000, 0.2, 148, 80);
INSERT INTO employees VALUES (170, "tayler", "fox", "tfox", "011.44.1343.729268", "1987-08-26", "sa_rep", 9600, 0.2, 148, 80);
INSERT INTO employees VALUES (171, "william", "smith", "wsmith", "011.44.1343.629268", "1987-08-27", "sa_rep", 7400, 0.15, 148, 80);
INSERT INTO employees VALUES (172, "elizabeth", "bates", "ebates", "011.44.1343.529268", "1987-08-28", "sa_rep", 7300, 0.15, 148, 80);
INSERT INTO employees VALUES (173, "sundita", "kumar", "skumar", "011.44.1343.329268", "1987-08-29", "sa_rep", 6100, 0.1, 148, 80);
INSERT INTO employees VALUES (174, "ellen", "abel", "eabel", "011.44.1644.429267", "1987-08-30", "sa_rep", 11000, 0.3, 149, 80);
INSERT INTO employees VALUES (175, "alyssa", "hutton", "ahutton", "011.44.1644.429266", "1987-08-31", "sa_rep", 8800, 0.25, 149, 80);
INSERT INTO employees VALUES (176, "jonathon", "taylor", "jtaylor", "011.44.1644.429265", "1987-09-01", "sa_rep", 8600, 0.2, 149, 80);
INSERT INTO employees VALUES (177, "jack", "livingston", "jlivings", "011.44.1644.429264", "1987-09-02", "sa_rep", 8400, 0.2, 149, 80);
INSERT INTO employees VALUES (178, "kimberely", "grant", "kgrant", "011.44.1644.429263", "1987-09-03", "sa_rep", 7000, 0.15, 149, 0);
INSERT INTO employees VALUES (179, "charles", "johnson", "cjohnson", "011.44.1644.429262", "1987-09-04", "sa_rep", 6200, 0.1, 149, 80);
INSERT INTO employees VALUES (180, "winston", "taylor", "wtaylor", "650.507.9876", "1987-09-05", "sh_clerk", 3200, 0, 120, 50);
INSERT INTO employees VALUES (181, "jean", "fleaur", "jfleaur", "650.507.9877", "1987-09-06", "sh_clerk", 3100, 0, 120, 50);
INSERT INTO employees VALUES (182, "martha", "sullivan", "msulliva", "650.507.9878", "1987-09-07", "sh_clerk", 2500, 0, 120, 50);
INSERT INTO employees VALUES (183, "girard", "geoni", "ggeoni", "650.507.9879", "1987-09-08", "sh_clerk", 2800, 0, 120, 50);
INSERT INTO employees VALUES (184, "nandita", "sarchand", "nsarchan", "650.509.1876", "1987-09-09", "sh_clerk", 4200, 0, 121, 50);
INSERT INTO employees VALUES (185, "alexis", "bull", "abull", "650.509.2876", "1987-09-10", "sh_clerk", 4100, 0, 121, 50);
INSERT INTO employees VALUES (186, "julia", "dellinger", "jdelling", "650.509.3876", "1987-09-11", "sh_clerk", 3400, 0, 121, 50);
INSERT INTO employees VALUES (187, "anthony", "cabrio", "acabrio", "650.509.4876", "1987-09-12", "sh_clerk", 3000, 0, 121, 50);
INSERT INTO employees VALUES (188, "kelly", "chung", "kchung", "650.505.1876", "1987-09-13", "sh_clerk", 3800, 0, 122, 50);
INSERT INTO employees VALUES (189, "jennifer", "dilly", "jdilly", "650.505.2876", "1987-09-14", "sh_clerk", 3600, 0, 122, 50);
INSERT INTO employees VALUES (190, "timothy", "gates", "tgates", "650.505.3876", "1987-09-15", "sh_clerk", 2900, 0, 122, 50);
INSERT INTO employees VALUES (191, "randall", "perkins", "rperkins", "650.505.4876", "1987-09-16", "sh_clerk", 2500, 0, 122, 50);
INSERT INTO employees VALUES (192, "sarah", "bell", "sbell", "650.501.1876", "1987-09-17", "sh_clerk", 4000, 0, 123, 50);
INSERT INTO employees VALUES (193, "britney", "everett", "beverett", "650.501.2876", "1987-09-18", "sh_clerk", 3900, 0, 123, 50);
INSERT INTO employees VALUES (194, "samuel", "mccain", "smccain", "650.501.3876", "1987-09-19", "sh_clerk", 3200, 0, 123, 50);
INSERT INTO employees VALUES (195, "vance", "jones", "vjones", "650.501.4876", "1987-09-20", "sh_clerk", 2800, 0, 123, 50);
INSERT INTO employees VALUES (196, "alana", "walsh", "awalsh", "650.507.9811", "1987-09-21", "sh_clerk", 3100, 0, 124, 50);
INSERT INTO employees VALUES (197, "kevin", "feeney", "kfeeney", "650.507.9822", "1987-09-22", "sh_clerk", 3000, 0, 124, 50);
INSERT INTO employees VALUES (198, "donald", "oconnell", "doconnel", "650.507.9833", "1987-09-23", "sh_clerk", 2600, 0, 124, 50);
INSERT INTO employees VALUES (199, "douglas", "grant", "dgrant", "650.507.9844", "1987-09-24", "sh_clerk", 2600, 0, 124, 50);

CREATE TABLE "job_history" (
"employee_id" integer,
"start_date" text,
"end_date" text,
"job_id" text,
"department_id" integer
);

INSERT INTO job_history VALUES (0, "0000-00-00", "1998-07-24", "it_prog", 60);
INSERT INTO job_history VALUES (101, "1989-09-21", "1993-10-27", "ac_account", 110);
INSERT INTO job_history VALUES (101, "1993-10-28", "1997-03-15", "ac_mgr", 110);
INSERT INTO job_history VALUES (102, "1993-01-13", "1999-12-19", "mk_rep", 20);
INSERT INTO job_history VALUES (114, "1998-03-24", "1999-12-31", "st_clerk", 50);
INSERT INTO job_history VALUES (122, "1999-01-01", "1999-12-31", "st_clerk", 50);
INSERT INTO job_history VALUES (176, "1998-03-24", "1993-06-17", "ad_asst", 90);
INSERT INTO job_history VALUES (176, "1999-01-01", "1998-12-31", "sa_rep", 80);
INSERT INTO job_history VALUES (200, "1987-09-17", "1999-12-31", "sa_man", 80);
INSERT INTO job_history VALUES (200, "1994-07-01", "1998-12-31", "ac_account", 90);
INSERT INTO job_history VALUES (201, "1996-02-17", "0000-00-00", "", 0);

CREATE TABLE "locations" (
"location_id" integer,
"street_address" text,
"postal_code" text,
"city" text,
"state_province" text,
"country_id" text
);

INSERT INTO locations VALUES (1000, "1297 via cola di rie", "989", "roma", "", "it");
INSERT INTO locations VALUES (1100, "93091 calle della testa", "10934", "venice", "", "it");
INSERT INTO locations VALUES (1200, "2017 shinjuku-ku", "1689", "tokyo", "tokyo prefecture", "jp");
INSERT INTO locations VALUES (1300, "9450 kamiya-cho", "6823", "hiroshima", "", "jp");
INSERT INTO locations VALUES (1400, "2014 jabberwocky rd", "26192", "southlake", "texas", "us");
INSERT INTO locations VALUES (1500, "2011 interiors blvd", "99236", "south san francisco", "california", "us");
INSERT INTO locations VALUES (1600, "2007 zagora st", "50090", "south brunswick", "new jersey", "us");
INSERT INTO locations VALUES (1700, "2004 charade rd", "98199", "seattle", "washington", "us");
INSERT INTO locations VALUES (1800, "147 spadina ave", "m5v 2l7", "toronto", "ontario", "ca");
INSERT INTO locations VALUES (1900, "6092 boxwood st", "ysw 9t2", "whitehorse", "yukon", "ca");
INSERT INTO locations VALUES (2000, "40-5-12 laogianggen", "190518", "beijing", "", "cn");
INSERT INTO locations VALUES (2100, "1298 vileparle e", "490231", "bombay", "maharashtra", "in");
INSERT INTO locations VALUES (2200, "12-98 victoria street", "2901", "sydney", "new south wales", "au");
INSERT INTO locations VALUES (2300, "198 clementi north", "540198", "singapore", "", "sg");
INSERT INTO locations VALUES (2400, "8204 arthur st", "", "london", "", "uk");
INSERT INTO locations VALUES (2500, "magdalen centre", "the oxford", "ox9 9zb", "oxford", "ox");
INSERT INTO locations VALUES (2600, "9702 chester road", "9629850293", "stretford", "manchester", "uk");
INSERT INTO locations VALUES (2700, "schwanthalerstr. 7031", "80925", "munich", "bavaria", "de");
INSERT INTO locations VALUES (2800, "rua frei caneca 1360", "01307-002", "sao paulo", "sao paulo", "br");
INSERT INTO locations VALUES (2900, "20 rue des corps-saints", "1730", "geneva", "geneve", "ch");
INSERT INTO locations VALUES (3000, "murtenstrasse 921", "3095", "bern", "be", "ch");
INSERT INTO locations VALUES (3100, "pieter breughelstraat 837", "3029sk", "utrecht", "utrecht", "nl");
INSERT INTO locations VALUES (3200, "mariano escobedo 9991", "11932", "mexico city", "distrito federal", "");


COMMIT;