k8-dmi3eva commited on
Commit
9e4ab0c
1 Parent(s): 807858e

[NEW]: Upload all samples without division by test-sets

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. all/databases/academic_minus_1_0/academic_minus_1_0.sql +448 -0
  2. all/databases/academic_minus_1_0/academic_minus_1_0.sqlite +0 -0
  3. all/databases/academic_minus_1_1/academic_minus_1_1.sql +385 -0
  4. all/databases/academic_minus_1_1/academic_minus_1_1.sqlite +0 -0
  5. all/databases/aircraft/aircraft.sql +88 -0
  6. all/databases/aircraft/aircraft.sqlite +0 -0
  7. all/databases/battle_death_total_0/battle_death_total_0.sql +43 -0
  8. all/databases/battle_death_total_0/battle_death_total_0.sqlite +0 -0
  9. all/databases/bike_1/bike_1.sql +434 -0
  10. all/databases/bike_1/bike_1.sqlite +0 -0
  11. all/databases/browser_web/browser_web.sql +57 -0
  12. all/databases/browser_web/browser_web.sqlite +0 -0
  13. all/databases/candidate_poll/candidate_poll.sql +39 -0
  14. all/databases/candidate_poll/candidate_poll.sqlite +0 -0
  15. all/databases/car_1_minus_1_0/car_1_minus_1_0.sql +308 -0
  16. all/databases/car_1_minus_1_0/car_1_minus_1_0.sqlite +0 -0
  17. all/databases/car_1_minus_1_1/car_1_minus_1_1.sql +291 -0
  18. all/databases/car_1_minus_1_1/car_1_minus_1_1.sqlite +0 -0
  19. all/databases/car_1_total_7/car_1_total_7.sql +291 -0
  20. all/databases/car_1_total_7/car_1_total_7.sqlite +0 -0
  21. all/databases/cinema/cinema.sql +53 -0
  22. all/databases/cinema/cinema.sqlite +0 -0
  23. all/databases/college_1_minus_1_2/college_1_minus_1_2.sql +159 -0
  24. all/databases/college_1_minus_1_2/college_1_minus_1_2.sqlite +0 -0
  25. all/databases/college_1_total_0/college_1_total_0.sql +142 -0
  26. all/databases/college_1_total_0/college_1_total_0.sqlite +0 -0
  27. all/databases/college_2/college_2.sql +912 -0
  28. all/databases/college_2/college_2.sqlite +0 -0
  29. all/databases/college_2_minus_1_0/college_2_minus_1_0.sql +862 -0
  30. all/databases/college_2_minus_1_0/college_2_minus_1_0.sqlite +0 -0
  31. all/databases/college_3/college_3.sql +453 -0
  32. all/databases/college_3/college_3.sqlite +0 -0
  33. all/databases/course_teach/course_teach.sql +47 -0
  34. all/databases/course_teach/course_teach.sqlite +0 -0
  35. all/databases/course_teach_total_0/course_teach_total_0.sql +31 -0
  36. all/databases/course_teach_total_0/course_teach_total_0.sqlite +0 -0
  37. all/databases/cre_Doc_Control_Systems/cre_Doc_Control_Systems.sql +168 -0
  38. all/databases/cre_Doc_Control_Systems/cre_Doc_Control_Systems.sqlite +0 -0
  39. all/databases/cre_Doc_Template_Mgt/cre_Doc_Template_Mgt.sql +90 -0
  40. all/databases/cre_Doc_Template_Mgt/cre_Doc_Template_Mgt.sqlite +0 -0
  41. all/databases/cre_Theme_park/cre_Theme_park.sql +290 -0
  42. all/databases/cre_Theme_park/cre_Theme_park.sqlite +0 -0
  43. all/databases/culture_company/culture_company.sql +61 -0
  44. all/databases/culture_company/culture_company.sqlite +0 -0
  45. all/databases/customers_and_invoices/customers_and_invoices.sql +218 -0
  46. all/databases/customers_and_invoices/customers_and_invoices.sqlite +0 -0
  47. all/databases/customers_and_invoices_minus_1_0/customers_and_invoices_minus_1_0.sql +191 -0
  48. all/databases/customers_and_invoices_minus_1_0/customers_and_invoices_minus_1_0.sqlite +0 -0
  49. all/databases/debate_minus_1_0/debate_minus_1_0.sql +32 -0
  50. all/databases/debate_minus_1_0/debate_minus_1_0.sqlite +0 -0
all/databases/academic_minus_1_0/academic_minus_1_0.sql ADDED
@@ -0,0 +1,448 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ create table author (
2
+ aid text,
3
+ homepage text,
4
+ name text,
5
+ oid text
6
+ );
7
+ insert into author values('i', 'o', 'i', 'y');
8
+ insert into author values('s', 'r', 'r', 'e');
9
+ insert into author values('g', 'o', 'r', 'g');
10
+ insert into author values('y', 'p', 'p', 's');
11
+ insert into author values('i', 'o', 'r', 'g');
12
+ insert into author values('i', 'y', 'd', 'p');
13
+ insert into author values('l', 'd', 'l', 's');
14
+
15
+ create table conference (
16
+ cid text,
17
+ homepage text,
18
+ name text
19
+ );
20
+ insert into conference values('d', 'p', 'o');
21
+ insert into conference values('p', 'o', 'p');
22
+ insert into conference values('l', 'g', 'r');
23
+ insert into conference values('e', 'i', 'r');
24
+ insert into conference values('p', 'o', 'o');
25
+ insert into conference values('e', 'r', 'o');
26
+ insert into conference values('r', 'y', 'p');
27
+ insert into conference values('r', 'o', 'y');
28
+ insert into conference values('i', 'g', 'r');
29
+ insert into conference values('d', 's', 'y');
30
+ insert into conference values('r', 'y', 's');
31
+ insert into conference values('i', 'o', 's');
32
+ insert into conference values('d', 'o', 'y');
33
+ insert into conference values('l', 'l', 's');
34
+ insert into conference values('o', 'd', 'o');
35
+ insert into conference values('g', 's', 'r');
36
+ insert into conference values('y', 'o', 'g');
37
+ insert into conference values('r', 'o', 'e');
38
+ insert into conference values('l', 'd', 'g');
39
+ insert into conference values('p', 'i', 's');
40
+ insert into conference values('s', 'o', 'i');
41
+ insert into conference values('e', 's', 'o');
42
+ insert into conference values('o', 'o', 'i');
43
+ insert into conference values('r', 'y', 'l');
44
+ insert into conference values('e', 'r', 'p');
45
+ insert into conference values('p', 'l', 'l');
46
+ insert into conference values('y', 'i', 'd');
47
+ insert into conference values('g', 'o', 'i');
48
+ insert into conference values('i', 's', 'o');
49
+
50
+ create table domain (
51
+ did text,
52
+ name text
53
+ );
54
+ insert into domain values('e', 'r');
55
+ insert into domain values('r', 'e');
56
+ insert into domain values('g', 'r');
57
+ insert into domain values('l', 's');
58
+ insert into domain values('d', 'e');
59
+ insert into domain values('p', 'l');
60
+ insert into domain values('p', 's');
61
+ insert into domain values('y', 'o');
62
+ insert into domain values('p', 'd');
63
+ insert into domain values('o', 's');
64
+ insert into domain values('s', 'l');
65
+ insert into domain values('g', 'y');
66
+ insert into domain values('o', 'y');
67
+ insert into domain values('s', 'o');
68
+ insert into domain values('o', 's');
69
+ insert into domain values('l', 'i');
70
+ insert into domain values('o', 'o');
71
+
72
+ create table domain_author (
73
+ aid text,
74
+ did text
75
+ );
76
+ insert into domain_author values('o', 'y');
77
+ insert into domain_author values('l', 'p');
78
+ insert into domain_author values('r', 'p');
79
+ insert into domain_author values('o', 'r');
80
+ insert into domain_author values('r', 'p');
81
+ insert into domain_author values('i', 'd');
82
+ insert into domain_author values('o', 'e');
83
+ insert into domain_author values('y', 'o');
84
+ insert into domain_author values('o', 'y');
85
+ insert into domain_author values('l', 'i');
86
+ insert into domain_author values('i', 'o');
87
+ insert into domain_author values('e', 'i');
88
+ insert into domain_author values('d', 'l');
89
+ insert into domain_author values('s', 'g');
90
+ insert into domain_author values('p', 'o');
91
+ insert into domain_author values('e', 's');
92
+ insert into domain_author values('y', 'o');
93
+ insert into domain_author values('y', 'g');
94
+ insert into domain_author values('p', 'o');
95
+ insert into domain_author values('e', 'p');
96
+ insert into domain_author values('e', 'o');
97
+ insert into domain_author values('y', 'r');
98
+ insert into domain_author values('y', 'l');
99
+ insert into domain_author values('i', 'r');
100
+ insert into domain_author values('e', 'y');
101
+ insert into domain_author values('d', 'e');
102
+ insert into domain_author values('l', 'd');
103
+ insert into domain_author values('l', 'o');
104
+ insert into domain_author values('p', 'r');
105
+ insert into domain_author values('l', 's');
106
+
107
+ create table domain_conference (
108
+ cid text,
109
+ did text
110
+ );
111
+ insert into domain_conference values('r', 's');
112
+ insert into domain_conference values('o', 'o');
113
+ insert into domain_conference values('y', 'g');
114
+ insert into domain_conference values('o', 'p');
115
+ insert into domain_conference values('y', 'y');
116
+ insert into domain_conference values('y', 'p');
117
+ insert into domain_conference values('y', 'l');
118
+
119
+ create table journal (
120
+ homepage text,
121
+ jid text,
122
+ name text
123
+ );
124
+ insert into journal values('y', 's', 'e');
125
+ insert into journal values('y', 's', 'o');
126
+ insert into journal values('y', 'p', 'o');
127
+ insert into journal values('o', 'r', 'o');
128
+ insert into journal values('g', 'e', 'g');
129
+ insert into journal values('p', 'r', 'o');
130
+ insert into journal values('i', 'g', 'i');
131
+ insert into journal values('l', 'g', 'r');
132
+ insert into journal values('e', 'o', 'r');
133
+ insert into journal values('s', 'o', 'i');
134
+ insert into journal values('r', 'y', 'l');
135
+ insert into journal values('o', 'o', 'd');
136
+ insert into journal values('o', 'l', 'y');
137
+ insert into journal values('d', 'o', 'g');
138
+ insert into journal values('r', 'p', 'i');
139
+ insert into journal values('y', 'e', 'd');
140
+ insert into journal values('i', 'i', 'd');
141
+ insert into journal values('o', 'r', 'o');
142
+ insert into journal values('g', 'y', 'o');
143
+ insert into journal values('r', 'o', 'o');
144
+ insert into journal values('i', 'g', 'e');
145
+ insert into journal values('d', 'i', 'r');
146
+ insert into journal values('s', 'l', 'p');
147
+ insert into journal values('s', 's', 'o');
148
+ insert into journal values('r', 'e', 'd');
149
+ insert into journal values('i', 'e', 's');
150
+ insert into journal values('s', 's', 'e');
151
+ insert into journal values('p', 'r', 'd');
152
+ insert into journal values('s', 'y', 'p');
153
+ insert into journal values('e', 'o', 's');
154
+
155
+ create table domain_journal (
156
+ did text,
157
+ jid text
158
+ );
159
+ insert into domain_journal values('o', 'o');
160
+ insert into domain_journal values('l', 'r');
161
+ insert into domain_journal values('l', 'g');
162
+ insert into domain_journal values('r', 'l');
163
+ insert into domain_journal values('y', 'p');
164
+ insert into domain_journal values('i', 'y');
165
+ insert into domain_journal values('r', 'd');
166
+ insert into domain_journal values('i', 'l');
167
+ insert into domain_journal values('e', 'r');
168
+ insert into domain_journal values('d', 'o');
169
+ insert into domain_journal values('l', 'e');
170
+ insert into domain_journal values('o', 'l');
171
+ insert into domain_journal values('i', 'p');
172
+ insert into domain_journal values('s', 'o');
173
+ insert into domain_journal values('i', 'o');
174
+ insert into domain_journal values('l', 'd');
175
+ insert into domain_journal values('p', 'p');
176
+ insert into domain_journal values('r', 'i');
177
+ insert into domain_journal values('e', 'p');
178
+ insert into domain_journal values('l', 's');
179
+
180
+ create table domain_keyword (
181
+ did text,
182
+ kid text
183
+ );
184
+ insert into domain_keyword values('p', 'l');
185
+ insert into domain_keyword values('s', 'g');
186
+ insert into domain_keyword values('o', 'e');
187
+ insert into domain_keyword values('e', 'e');
188
+ insert into domain_keyword values('o', 'o');
189
+ insert into domain_keyword values('r', 'y');
190
+ insert into domain_keyword values('e', 'p');
191
+ insert into domain_keyword values('s', 'o');
192
+ insert into domain_keyword values('i', 'o');
193
+ insert into domain_keyword values('o', 'o');
194
+ insert into domain_keyword values('i', 'r');
195
+ insert into domain_keyword values('o', 'o');
196
+ insert into domain_keyword values('i', 'y');
197
+ insert into domain_keyword values('o', 'l');
198
+ insert into domain_keyword values('o', 'i');
199
+ insert into domain_keyword values('r', 'l');
200
+ insert into domain_keyword values('e', 'e');
201
+ insert into domain_keyword values('e', 'y');
202
+ insert into domain_keyword values('o', 'p');
203
+ insert into domain_keyword values('o', 'i');
204
+ insert into domain_keyword values('d', 's');
205
+ insert into domain_keyword values('e', 'y');
206
+ insert into domain_keyword values('e', 'r');
207
+ insert into domain_keyword values('i', 'r');
208
+ insert into domain_keyword values('o', 'd');
209
+ insert into domain_keyword values('y', 'r');
210
+ insert into domain_keyword values('r', 'r');
211
+
212
+ create table publication (
213
+ abstract text,
214
+ cid text,
215
+ citation_num text,
216
+ jid text,
217
+ pid text,
218
+ reference_num text,
219
+ title text,
220
+ year text
221
+ );
222
+ insert into publication values('o', 'o', 'o', 'p', 'y', 'l', 'o', 's');
223
+ insert into publication values('y', 'o', 'l', 'd', 'o', 'l', 'p', 'd');
224
+ insert into publication values('o', 'i', 'g', 'o', 'g', 's', 'e', 'p');
225
+ insert into publication values('i', 'y', 'r', 'd', 's', 'g', 'g', 'r');
226
+ insert into publication values('g', 'e', 'o', 's', 'l', 'r', 'o', 's');
227
+ insert into publication values('d', 'o', 's', 'e', 'l', 'i', 'p', 'g');
228
+ insert into publication values('o', 'e', 'l', 'i', 'd', 'y', 'r', 'g');
229
+ insert into publication values('p', 's', 'o', 'o', 'l', 'd', 'r', 'p');
230
+ insert into publication values('y', 'o', 'o', 'd', 'r', 'l', 'g', 'l');
231
+ insert into publication values('l', 's', 'o', 'e', 'g', 'p', 'p', 'd');
232
+ insert into publication values('y', 'l', 'r', 'y', 'l', 'y', 'o', 'p');
233
+ insert into publication values('e', 'y', 'd', 'e', 'l', 'y', 'g', 'o');
234
+ insert into publication values('s', 'i', 'l', 'o', 'd', 'e', 's', 'i');
235
+ insert into publication values('y', 'o', 'p', 'd', 'g', 'e', 'o', 'r');
236
+ insert into publication values('o', 'l', 'p', 'y', 'g', 'i', 'd', 's');
237
+ insert into publication values('r', 'e', 'y', 'y', 'i', 'g', 'e', 'o');
238
+ insert into publication values('i', 'i', 'r', 'i', 'g', 'g', 'y', 'o');
239
+ insert into publication values('s', 'o', 's', 'l', 'r', 'p', 'i', 'y');
240
+ insert into publication values('l', 'y', 'y', 'l', 'r', 'p', 'd', 'o');
241
+ insert into publication values('o', 's', 'r', 'g', 'y', 'g', 'd', 's');
242
+ insert into publication values('o', 'e', 'y', 'l', 'e', 'g', 'y', 'e');
243
+ insert into publication values('l', 'l', 'r', 'd', 's', 'g', 's', 'o');
244
+
245
+ create table domain_publication (
246
+ did text,
247
+ pid text
248
+ );
249
+ insert into domain_publication values('e', 'o');
250
+ insert into domain_publication values('s', 'p');
251
+ insert into domain_publication values('s', 'd');
252
+ insert into domain_publication values('o', 'y');
253
+ insert into domain_publication values('p', 'l');
254
+ insert into domain_publication values('l', 'e');
255
+ insert into domain_publication values('o', 'r');
256
+ insert into domain_publication values('r', 'l');
257
+ insert into domain_publication values('l', 's');
258
+ insert into domain_publication values('r', 'l');
259
+ insert into domain_publication values('g', 's');
260
+ insert into domain_publication values('y', 'l');
261
+ insert into domain_publication values('e', 'p');
262
+ insert into domain_publication values('d', 'd');
263
+ insert into domain_publication values('r', 's');
264
+ insert into domain_publication values('p', 'e');
265
+
266
+ create table organization (
267
+ continent text,
268
+ homepage text,
269
+ name text,
270
+ oid text
271
+ );
272
+ insert into organization values('g', 'r', 's', 'l');
273
+ insert into organization values('r', 'g', 's', 'y');
274
+ insert into organization values('r', 'l', 'o', 'd');
275
+ insert into organization values('s', 'r', 's', 'p');
276
+ insert into organization values('s', 'i', 's', 'd');
277
+ insert into organization values('r', 'o', 'o', 'g');
278
+ insert into organization values('r', 's', 'e', 'l');
279
+ insert into organization values('g', 'p', 'r', 'd');
280
+ insert into organization values('y', 'p', 'r', 'o');
281
+ insert into organization values('i', 'o', 'y', 'p');
282
+ insert into organization values('s', 'i', 'e', 'l');
283
+ insert into organization values('s', 's', 'y', 's');
284
+ insert into organization values('y', 'd', 'o', 'r');
285
+ insert into organization values('y', 'e', 'o', 'o');
286
+ insert into organization values('p', 'o', 'd', 's');
287
+ insert into organization values('r', 'p', 'y', 'd');
288
+ insert into organization values('g', 'e', 'd', 'r');
289
+ insert into organization values('s', 'p', 'o', 'o');
290
+ insert into organization values('y', 'e', 's', 'o');
291
+ insert into organization values('y', 'y', 'l', 'i');
292
+ insert into organization values('l', 'r', 'r', 'r');
293
+ insert into organization values('y', 'y', 'l', 'p');
294
+
295
+ create table writes (
296
+ aid text,
297
+ pid text
298
+ );
299
+ insert into writes values('o', 'l');
300
+ insert into writes values('i', 'o');
301
+ insert into writes values('o', 'o');
302
+ insert into writes values('y', 'l');
303
+ insert into writes values('o', 'r');
304
+ insert into writes values('l', 'i');
305
+ insert into writes values('l', 's');
306
+ insert into writes values('d', 'r');
307
+ insert into writes values('g', 's');
308
+ insert into writes values('p', 'o');
309
+ insert into writes values('g', 'l');
310
+ insert into writes values('e', 'p');
311
+
312
+ create table cite (
313
+ cited text,
314
+ citing text
315
+ );
316
+ insert into cite values('p', 'r');
317
+ insert into cite values('s', 'p');
318
+ insert into cite values('l', 'o');
319
+ insert into cite values('i', 's');
320
+ insert into cite values('i', 'e');
321
+ insert into cite values('l', 'y');
322
+ insert into cite values('r', 'e');
323
+ insert into cite values('i', 'i');
324
+ insert into cite values('p', 'y');
325
+ insert into cite values('g', 'p');
326
+ insert into cite values('r', 'y');
327
+ insert into cite values('d', 'o');
328
+ create table publication_keyword_keyword (
329
+ pid text,
330
+ kid text,
331
+ keyword text);
332
+ insert into publication_keyword_keyword values('r', 'o', 'd');
333
+ insert into publication_keyword_keyword values('r', 'o', 'o');
334
+ insert into publication_keyword_keyword values('r', 'o', 'o');
335
+ insert into publication_keyword_keyword values('r', 'o', 'o');
336
+ insert into publication_keyword_keyword values('r', 'o', 'o');
337
+ insert into publication_keyword_keyword values('r', 'o', 'p');
338
+ insert into publication_keyword_keyword values('r', 'o', 'y');
339
+ insert into publication_keyword_keyword values('s', 'o', 'd');
340
+ insert into publication_keyword_keyword values('s', 'o', 'o');
341
+ insert into publication_keyword_keyword values('s', 'o', 'o');
342
+ insert into publication_keyword_keyword values('s', 'o', 'o');
343
+ insert into publication_keyword_keyword values('s', 'o', 'o');
344
+ insert into publication_keyword_keyword values('s', 'o', 'p');
345
+ insert into publication_keyword_keyword values('s', 'o', 'y');
346
+ insert into publication_keyword_keyword values('d', 'l', 's');
347
+ insert into publication_keyword_keyword values('d', 'l', 'y');
348
+ insert into publication_keyword_keyword values('o', 'y', 'd');
349
+ insert into publication_keyword_keyword values('o', 'y', 'l');
350
+ insert into publication_keyword_keyword values('o', 'y', 'o');
351
+ insert into publication_keyword_keyword values('o', 'y', 'y');
352
+ insert into publication_keyword_keyword values('s', 'r', 'i');
353
+ insert into publication_keyword_keyword values('s', 'r', 'o');
354
+ insert into publication_keyword_keyword values('s', 'r', 's');
355
+ insert into publication_keyword_keyword values('y', 'r', 'i');
356
+ insert into publication_keyword_keyword values('y', 'r', 'o');
357
+ insert into publication_keyword_keyword values('y', 'r', 's');
358
+ insert into publication_keyword_keyword values('o', 'e', 'i');
359
+ insert into publication_keyword_keyword values('o', 'e', 'r');
360
+ insert into publication_keyword_keyword values('o', 'g', 'd');
361
+ insert into publication_keyword_keyword values('o', 'g', 'g');
362
+ insert into publication_keyword_keyword values('o', 'g', 'g');
363
+ insert into publication_keyword_keyword values('o', 'g', 'r');
364
+ insert into publication_keyword_keyword values('o', 'g', 'y');
365
+ insert into publication_keyword_keyword values('y', 'y', 'd');
366
+ insert into publication_keyword_keyword values('y', 'y', 'l');
367
+ insert into publication_keyword_keyword values('y', 'y', 'o');
368
+ insert into publication_keyword_keyword values('y', 'y', 'y');
369
+ insert into publication_keyword_keyword values('r', 'o', 'd');
370
+ insert into publication_keyword_keyword values('r', 'o', 'o');
371
+ insert into publication_keyword_keyword values('r', 'o', 'o');
372
+ insert into publication_keyword_keyword values('r', 'o', 'o');
373
+ insert into publication_keyword_keyword values('r', 'o', 'o');
374
+ insert into publication_keyword_keyword values('r', 'o', 'p');
375
+ insert into publication_keyword_keyword values('r', 'o', 'y');
376
+ insert into publication_keyword_keyword values('d', 'o', 'd');
377
+ insert into publication_keyword_keyword values('d', 'o', 'o');
378
+ insert into publication_keyword_keyword values('d', 'o', 'o');
379
+ insert into publication_keyword_keyword values('d', 'o', 'o');
380
+ insert into publication_keyword_keyword values('d', 'o', 'o');
381
+ insert into publication_keyword_keyword values('d', 'o', 'p');
382
+ insert into publication_keyword_keyword values('d', 'o', 'y');
383
+ insert into publication_keyword_keyword values('d', 's', 'd');
384
+ insert into publication_keyword_keyword values('d', 's', 'o');
385
+ insert into publication_keyword_keyword values('g', 'o', 'd');
386
+ insert into publication_keyword_keyword values('g', 'o', 'o');
387
+ insert into publication_keyword_keyword values('g', 'o', 'o');
388
+ insert into publication_keyword_keyword values('g', 'o', 'o');
389
+ insert into publication_keyword_keyword values('g', 'o', 'o');
390
+ insert into publication_keyword_keyword values('g', 'o', 'p');
391
+ insert into publication_keyword_keyword values('g', 'o', 'y');
392
+ insert into publication_keyword_keyword values('o', 'i', 'None');
393
+ insert into publication_keyword_keyword values('e', 'e', 'i');
394
+ insert into publication_keyword_keyword values('e', 'e', 'r');
395
+ insert into publication_keyword_keyword values('s', 'o', 'd');
396
+ insert into publication_keyword_keyword values('s', 'o', 'o');
397
+ insert into publication_keyword_keyword values('s', 'o', 'o');
398
+ insert into publication_keyword_keyword values('s', 'o', 'o');
399
+ insert into publication_keyword_keyword values('s', 'o', 'o');
400
+ insert into publication_keyword_keyword values('s', 'o', 'p');
401
+ insert into publication_keyword_keyword values('s', 'o', 'y');
402
+ insert into publication_keyword_keyword values('y', 's', 'd');
403
+ insert into publication_keyword_keyword values('y', 's', 'o');
404
+ insert into publication_keyword_keyword values('o', 'p', 'None');
405
+ insert into publication_keyword_keyword values('g', 'd', 'o');
406
+ insert into publication_keyword_keyword values('g', 'd', 's');
407
+ insert into publication_keyword_keyword values('p', 'd', 'o');
408
+ insert into publication_keyword_keyword values('p', 'd', 's');
409
+ insert into publication_keyword_keyword values('g', 'g', 'd');
410
+ insert into publication_keyword_keyword values('g', 'g', 'g');
411
+ insert into publication_keyword_keyword values('g', 'g', 'g');
412
+ insert into publication_keyword_keyword values('g', 'g', 'r');
413
+ insert into publication_keyword_keyword values('g', 'g', 'y');
414
+ insert into publication_keyword_keyword values('l', 'o', 'd');
415
+ insert into publication_keyword_keyword values('l', 'o', 'o');
416
+ insert into publication_keyword_keyword values('l', 'o', 'o');
417
+ insert into publication_keyword_keyword values('l', 'o', 'o');
418
+ insert into publication_keyword_keyword values('l', 'o', 'o');
419
+ insert into publication_keyword_keyword values('l', 'o', 'p');
420
+ insert into publication_keyword_keyword values('l', 'o', 'y');
421
+ insert into publication_keyword_keyword values('l', 'g', 'd');
422
+ insert into publication_keyword_keyword values('l', 'g', 'g');
423
+ insert into publication_keyword_keyword values('l', 'g', 'g');
424
+ insert into publication_keyword_keyword values('l', 'g', 'r');
425
+ insert into publication_keyword_keyword values('l', 'g', 'y');
426
+ insert into publication_keyword_keyword values('g', 'd', 'o');
427
+ insert into publication_keyword_keyword values('g', 'd', 's');
428
+ insert into publication_keyword_keyword values('o', 'p', 'None');
429
+ insert into publication_keyword_keyword values('p', 'o', 'd');
430
+ insert into publication_keyword_keyword values('p', 'o', 'o');
431
+ insert into publication_keyword_keyword values('p', 'o', 'o');
432
+ insert into publication_keyword_keyword values('p', 'o', 'o');
433
+ insert into publication_keyword_keyword values('p', 'o', 'o');
434
+ insert into publication_keyword_keyword values('p', 'o', 'p');
435
+ insert into publication_keyword_keyword values('p', 'o', 'y');
436
+ insert into publication_keyword_keyword values('d', 'y', 'd');
437
+ insert into publication_keyword_keyword values('d', 'y', 'l');
438
+ insert into publication_keyword_keyword values('d', 'y', 'o');
439
+ insert into publication_keyword_keyword values('d', 'y', 'y');
440
+ insert into publication_keyword_keyword values('r', 'g', 'd');
441
+ insert into publication_keyword_keyword values('r', 'g', 'g');
442
+ insert into publication_keyword_keyword values('r', 'g', 'g');
443
+ insert into publication_keyword_keyword values('r', 'g', 'r');
444
+ insert into publication_keyword_keyword values('r', 'g', 'y');
445
+ insert into publication_keyword_keyword values('d', 'd', 'o');
446
+ insert into publication_keyword_keyword values('d', 'd', 's');
447
+ insert into publication_keyword_keyword values('r', 'p', 'None');
448
+
all/databases/academic_minus_1_0/academic_minus_1_0.sqlite ADDED
Binary file (61.4 kB). View file
 
all/databases/academic_minus_1_1/academic_minus_1_1.sql ADDED
@@ -0,0 +1,385 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ create table conference (
2
+ cid text,
3
+ homepage text,
4
+ name text
5
+ );
6
+ insert into conference values('d', 'p', 'o');
7
+ insert into conference values('p', 'o', 'p');
8
+ insert into conference values('l', 'g', 'r');
9
+ insert into conference values('e', 'i', 'r');
10
+ insert into conference values('p', 'o', 'o');
11
+ insert into conference values('e', 'r', 'o');
12
+ insert into conference values('r', 'y', 'p');
13
+ insert into conference values('r', 'o', 'y');
14
+ insert into conference values('i', 'g', 'r');
15
+ insert into conference values('d', 's', 'y');
16
+ insert into conference values('r', 'y', 's');
17
+ insert into conference values('i', 'o', 's');
18
+ insert into conference values('d', 'o', 'y');
19
+ insert into conference values('l', 'l', 's');
20
+ insert into conference values('o', 'd', 'o');
21
+ insert into conference values('g', 's', 'r');
22
+ insert into conference values('y', 'o', 'g');
23
+ insert into conference values('r', 'o', 'e');
24
+ insert into conference values('l', 'd', 'g');
25
+ insert into conference values('p', 'i', 's');
26
+ insert into conference values('s', 'o', 'i');
27
+ insert into conference values('e', 's', 'o');
28
+ insert into conference values('o', 'o', 'i');
29
+ insert into conference values('r', 'y', 'l');
30
+ insert into conference values('e', 'r', 'p');
31
+ insert into conference values('p', 'l', 'l');
32
+ insert into conference values('y', 'i', 'd');
33
+ insert into conference values('g', 'o', 'i');
34
+ insert into conference values('i', 's', 'o');
35
+
36
+ create table domain (
37
+ did text,
38
+ name text
39
+ );
40
+ insert into domain values('e', 'r');
41
+ insert into domain values('r', 'e');
42
+ insert into domain values('g', 'r');
43
+ insert into domain values('l', 's');
44
+ insert into domain values('d', 'e');
45
+ insert into domain values('p', 'l');
46
+ insert into domain values('p', 's');
47
+ insert into domain values('y', 'o');
48
+ insert into domain values('p', 'd');
49
+ insert into domain values('o', 's');
50
+ insert into domain values('s', 'l');
51
+ insert into domain values('g', 'y');
52
+ insert into domain values('o', 'y');
53
+ insert into domain values('s', 'o');
54
+ insert into domain values('o', 's');
55
+ insert into domain values('l', 'i');
56
+ insert into domain values('o', 'o');
57
+
58
+ create table domain_author (
59
+ aid text,
60
+ did text
61
+ );
62
+ insert into domain_author values('o', 'y');
63
+ insert into domain_author values('l', 'p');
64
+ insert into domain_author values('r', 'p');
65
+ insert into domain_author values('o', 'r');
66
+ insert into domain_author values('r', 'p');
67
+ insert into domain_author values('i', 'd');
68
+ insert into domain_author values('o', 'e');
69
+ insert into domain_author values('y', 'o');
70
+ insert into domain_author values('o', 'y');
71
+ insert into domain_author values('l', 'i');
72
+ insert into domain_author values('i', 'o');
73
+ insert into domain_author values('e', 'i');
74
+ insert into domain_author values('d', 'l');
75
+ insert into domain_author values('s', 'g');
76
+ insert into domain_author values('p', 'o');
77
+ insert into domain_author values('e', 's');
78
+ insert into domain_author values('y', 'o');
79
+ insert into domain_author values('y', 'g');
80
+ insert into domain_author values('p', 'o');
81
+ insert into domain_author values('e', 'p');
82
+ insert into domain_author values('e', 'o');
83
+ insert into domain_author values('y', 'r');
84
+ insert into domain_author values('y', 'l');
85
+ insert into domain_author values('i', 'r');
86
+ insert into domain_author values('e', 'y');
87
+ insert into domain_author values('d', 'e');
88
+ insert into domain_author values('l', 'd');
89
+ insert into domain_author values('l', 'o');
90
+ insert into domain_author values('p', 'r');
91
+ insert into domain_author values('l', 's');
92
+
93
+ create table domain_conference (
94
+ cid text,
95
+ did text
96
+ );
97
+ insert into domain_conference values('r', 's');
98
+ insert into domain_conference values('o', 'o');
99
+ insert into domain_conference values('y', 'g');
100
+ insert into domain_conference values('o', 'p');
101
+ insert into domain_conference values('y', 'y');
102
+ insert into domain_conference values('y', 'p');
103
+ insert into domain_conference values('y', 'l');
104
+
105
+ create table journal (
106
+ homepage text,
107
+ jid text,
108
+ name text
109
+ );
110
+ insert into journal values('y', 's', 'e');
111
+ insert into journal values('y', 's', 'o');
112
+ insert into journal values('y', 'p', 'o');
113
+ insert into journal values('o', 'r', 'o');
114
+ insert into journal values('g', 'e', 'g');
115
+ insert into journal values('p', 'r', 'o');
116
+ insert into journal values('i', 'g', 'i');
117
+ insert into journal values('l', 'g', 'r');
118
+ insert into journal values('e', 'o', 'r');
119
+ insert into journal values('s', 'o', 'i');
120
+ insert into journal values('r', 'y', 'l');
121
+ insert into journal values('o', 'o', 'd');
122
+ insert into journal values('o', 'l', 'y');
123
+ insert into journal values('d', 'o', 'g');
124
+ insert into journal values('r', 'p', 'i');
125
+ insert into journal values('y', 'e', 'd');
126
+ insert into journal values('i', 'i', 'd');
127
+ insert into journal values('o', 'r', 'o');
128
+ insert into journal values('g', 'y', 'o');
129
+ insert into journal values('r', 'o', 'o');
130
+ insert into journal values('i', 'g', 'e');
131
+ insert into journal values('d', 'i', 'r');
132
+ insert into journal values('s', 'l', 'p');
133
+ insert into journal values('s', 's', 'o');
134
+ insert into journal values('r', 'e', 'd');
135
+ insert into journal values('i', 'e', 's');
136
+ insert into journal values('s', 's', 'e');
137
+ insert into journal values('p', 'r', 'd');
138
+ insert into journal values('s', 'y', 'p');
139
+ insert into journal values('e', 'o', 's');
140
+
141
+ create table domain_journal (
142
+ did text,
143
+ jid text
144
+ );
145
+ insert into domain_journal values('o', 'o');
146
+ insert into domain_journal values('l', 'r');
147
+ insert into domain_journal values('l', 'g');
148
+ insert into domain_journal values('r', 'l');
149
+ insert into domain_journal values('y', 'p');
150
+ insert into domain_journal values('i', 'y');
151
+ insert into domain_journal values('r', 'd');
152
+ insert into domain_journal values('i', 'l');
153
+ insert into domain_journal values('e', 'r');
154
+ insert into domain_journal values('d', 'o');
155
+ insert into domain_journal values('l', 'e');
156
+ insert into domain_journal values('o', 'l');
157
+ insert into domain_journal values('i', 'p');
158
+ insert into domain_journal values('s', 'o');
159
+ insert into domain_journal values('i', 'o');
160
+ insert into domain_journal values('l', 'd');
161
+ insert into domain_journal values('p', 'p');
162
+ insert into domain_journal values('r', 'i');
163
+ insert into domain_journal values('e', 'p');
164
+ insert into domain_journal values('l', 's');
165
+
166
+ create table keyword (
167
+ keyword text,
168
+ kid text
169
+ );
170
+ insert into keyword values('r', 'g');
171
+ insert into keyword values('o', 'o');
172
+ insert into keyword values('d', 'o');
173
+ insert into keyword values('d', 's');
174
+ insert into keyword values('s', 'r');
175
+ insert into keyword values('y', 'l');
176
+ insert into keyword values('y', 'o');
177
+ insert into keyword values('o', 'r');
178
+ insert into keyword values('s', 'l');
179
+ insert into keyword values('o', 'o');
180
+ insert into keyword values('i', 'e');
181
+ insert into keyword values('g', 'g');
182
+ insert into keyword values('r', 'e');
183
+ insert into keyword values('o', 's');
184
+ insert into keyword values('s', 'd');
185
+ insert into keyword values('o', 'o');
186
+ insert into keyword values('l', 'y');
187
+ insert into keyword values('d', 'y');
188
+ insert into keyword values('o', 'y');
189
+ insert into keyword values('p', 'o');
190
+ insert into keyword values('o', 'd');
191
+ insert into keyword values('i', 'r');
192
+ insert into keyword values('g', 'g');
193
+ insert into keyword values('y', 'y');
194
+ insert into keyword values('d', 'g');
195
+ insert into keyword values('y', 'g');
196
+ insert into keyword values('o', 'o');
197
+
198
+ create table domain_keyword (
199
+ did text,
200
+ kid text
201
+ );
202
+ insert into domain_keyword values('p', 'l');
203
+ insert into domain_keyword values('s', 'g');
204
+ insert into domain_keyword values('o', 'e');
205
+ insert into domain_keyword values('e', 'e');
206
+ insert into domain_keyword values('o', 'o');
207
+ insert into domain_keyword values('r', 'y');
208
+ insert into domain_keyword values('e', 'p');
209
+ insert into domain_keyword values('s', 'o');
210
+ insert into domain_keyword values('i', 'o');
211
+ insert into domain_keyword values('o', 'o');
212
+ insert into domain_keyword values('i', 'r');
213
+ insert into domain_keyword values('o', 'o');
214
+ insert into domain_keyword values('i', 'y');
215
+ insert into domain_keyword values('o', 'l');
216
+ insert into domain_keyword values('o', 'i');
217
+ insert into domain_keyword values('r', 'l');
218
+ insert into domain_keyword values('e', 'e');
219
+ insert into domain_keyword values('e', 'y');
220
+ insert into domain_keyword values('o', 'p');
221
+ insert into domain_keyword values('o', 'i');
222
+ insert into domain_keyword values('d', 's');
223
+ insert into domain_keyword values('e', 'y');
224
+ insert into domain_keyword values('e', 'r');
225
+ insert into domain_keyword values('i', 'r');
226
+ insert into domain_keyword values('o', 'd');
227
+ insert into domain_keyword values('y', 'r');
228
+ insert into domain_keyword values('r', 'r');
229
+
230
+ create table publication (
231
+ abstract text,
232
+ cid text,
233
+ citation_num text,
234
+ jid text,
235
+ pid text,
236
+ reference_num text,
237
+ title text,
238
+ year text
239
+ );
240
+ insert into publication values('o', 'o', 'o', 'p', 'y', 'l', 'o', 's');
241
+ insert into publication values('y', 'o', 'l', 'd', 'o', 'l', 'p', 'd');
242
+ insert into publication values('o', 'i', 'g', 'o', 'g', 's', 'e', 'p');
243
+ insert into publication values('i', 'y', 'r', 'd', 's', 'g', 'g', 'r');
244
+ insert into publication values('g', 'e', 'o', 's', 'l', 'r', 'o', 's');
245
+ insert into publication values('d', 'o', 's', 'e', 'l', 'i', 'p', 'g');
246
+ insert into publication values('o', 'e', 'l', 'i', 'd', 'y', 'r', 'g');
247
+ insert into publication values('p', 's', 'o', 'o', 'l', 'd', 'r', 'p');
248
+ insert into publication values('y', 'o', 'o', 'd', 'r', 'l', 'g', 'l');
249
+ insert into publication values('l', 's', 'o', 'e', 'g', 'p', 'p', 'd');
250
+ insert into publication values('y', 'l', 'r', 'y', 'l', 'y', 'o', 'p');
251
+ insert into publication values('e', 'y', 'd', 'e', 'l', 'y', 'g', 'o');
252
+ insert into publication values('s', 'i', 'l', 'o', 'd', 'e', 's', 'i');
253
+ insert into publication values('y', 'o', 'p', 'd', 'g', 'e', 'o', 'r');
254
+ insert into publication values('o', 'l', 'p', 'y', 'g', 'i', 'd', 's');
255
+ insert into publication values('r', 'e', 'y', 'y', 'i', 'g', 'e', 'o');
256
+ insert into publication values('i', 'i', 'r', 'i', 'g', 'g', 'y', 'o');
257
+ insert into publication values('s', 'o', 's', 'l', 'r', 'p', 'i', 'y');
258
+ insert into publication values('l', 'y', 'y', 'l', 'r', 'p', 'd', 'o');
259
+ insert into publication values('o', 's', 'r', 'g', 'y', 'g', 'd', 's');
260
+ insert into publication values('o', 'e', 'y', 'l', 'e', 'g', 'y', 'e');
261
+ insert into publication values('l', 'l', 'r', 'd', 's', 'g', 's', 'o');
262
+
263
+ create table domain_publication (
264
+ did text,
265
+ pid text
266
+ );
267
+ insert into domain_publication values('e', 'o');
268
+ insert into domain_publication values('s', 'p');
269
+ insert into domain_publication values('s', 'd');
270
+ insert into domain_publication values('o', 'y');
271
+ insert into domain_publication values('p', 'l');
272
+ insert into domain_publication values('l', 'e');
273
+ insert into domain_publication values('o', 'r');
274
+ insert into domain_publication values('r', 'l');
275
+ insert into domain_publication values('l', 's');
276
+ insert into domain_publication values('r', 'l');
277
+ insert into domain_publication values('g', 's');
278
+ insert into domain_publication values('y', 'l');
279
+ insert into domain_publication values('e', 'p');
280
+ insert into domain_publication values('d', 'd');
281
+ insert into domain_publication values('r', 's');
282
+ insert into domain_publication values('p', 'e');
283
+
284
+ create table organization (
285
+ continent text,
286
+ homepage text,
287
+ name text,
288
+ oid text
289
+ );
290
+ insert into organization values('g', 'r', 's', 'l');
291
+ insert into organization values('r', 'g', 's', 'y');
292
+ insert into organization values('r', 'l', 'o', 'd');
293
+ insert into organization values('s', 'r', 's', 'p');
294
+ insert into organization values('s', 'i', 's', 'd');
295
+ insert into organization values('r', 'o', 'o', 'g');
296
+ insert into organization values('r', 's', 'e', 'l');
297
+ insert into organization values('g', 'p', 'r', 'd');
298
+ insert into organization values('y', 'p', 'r', 'o');
299
+ insert into organization values('i', 'o', 'y', 'p');
300
+ insert into organization values('s', 'i', 'e', 'l');
301
+ insert into organization values('s', 's', 'y', 's');
302
+ insert into organization values('y', 'd', 'o', 'r');
303
+ insert into organization values('y', 'e', 'o', 'o');
304
+ insert into organization values('p', 'o', 'd', 's');
305
+ insert into organization values('r', 'p', 'y', 'd');
306
+ insert into organization values('g', 'e', 'd', 'r');
307
+ insert into organization values('s', 'p', 'o', 'o');
308
+ insert into organization values('y', 'e', 's', 'o');
309
+ insert into organization values('y', 'y', 'l', 'i');
310
+ insert into organization values('l', 'r', 'r', 'r');
311
+ insert into organization values('y', 'y', 'l', 'p');
312
+
313
+ create table publication_keyword (
314
+ pid text,
315
+ kid text
316
+ );
317
+ insert into publication_keyword values('r', 'o');
318
+ insert into publication_keyword values('s', 'o');
319
+ insert into publication_keyword values('d', 'l');
320
+ insert into publication_keyword values('o', 'y');
321
+ insert into publication_keyword values('s', 'r');
322
+ insert into publication_keyword values('y', 'r');
323
+ insert into publication_keyword values('o', 'e');
324
+ insert into publication_keyword values('o', 'g');
325
+ insert into publication_keyword values('y', 'y');
326
+ insert into publication_keyword values('r', 'o');
327
+ insert into publication_keyword values('d', 'o');
328
+ insert into publication_keyword values('d', 's');
329
+ insert into publication_keyword values('g', 'o');
330
+ insert into publication_keyword values('o', 'i');
331
+ insert into publication_keyword values('e', 'e');
332
+ insert into publication_keyword values('s', 'o');
333
+ insert into publication_keyword values('y', 's');
334
+ insert into publication_keyword values('o', 'p');
335
+ insert into publication_keyword values('g', 'd');
336
+ insert into publication_keyword values('p', 'd');
337
+ insert into publication_keyword values('g', 'g');
338
+ insert into publication_keyword values('l', 'o');
339
+ insert into publication_keyword values('l', 'g');
340
+ insert into publication_keyword values('g', 'd');
341
+ insert into publication_keyword values('o', 'p');
342
+ insert into publication_keyword values('p', 'o');
343
+ insert into publication_keyword values('d', 'y');
344
+ insert into publication_keyword values('r', 'g');
345
+ insert into publication_keyword values('d', 'd');
346
+ insert into publication_keyword values('r', 'p');
347
+
348
+ create table cite (
349
+ cited text,
350
+ citing text
351
+ );
352
+ insert into cite values('p', 'r');
353
+ insert into cite values('s', 'p');
354
+ insert into cite values('l', 'o');
355
+ insert into cite values('i', 's');
356
+ insert into cite values('i', 'e');
357
+ insert into cite values('l', 'y');
358
+ insert into cite values('r', 'e');
359
+ insert into cite values('i', 'i');
360
+ insert into cite values('p', 'y');
361
+ insert into cite values('g', 'p');
362
+ insert into cite values('r', 'y');
363
+ insert into cite values('d', 'o');
364
+ create table writes_author (
365
+ aid text,
366
+ pid text,
367
+ homepage text,
368
+ name text,
369
+ oid text);
370
+ insert into writes_author values('o', 'l', 'None', 'None', 'None');
371
+ insert into writes_author values('i', 'o', 'o', 'i', 'y');
372
+ insert into writes_author values('i', 'o', 'o', 'r', 'g');
373
+ insert into writes_author values('i', 'o', 'y', 'd', 'p');
374
+ insert into writes_author values('o', 'o', 'None', 'None', 'None');
375
+ insert into writes_author values('y', 'l', 'p', 'p', 's');
376
+ insert into writes_author values('o', 'r', 'None', 'None', 'None');
377
+ insert into writes_author values('l', 'i', 'd', 'l', 's');
378
+ insert into writes_author values('l', 's', 'd', 'l', 's');
379
+ insert into writes_author values('d', 'r', 'None', 'None', 'None');
380
+ insert into writes_author values('g', 's', 'o', 'r', 'g');
381
+ insert into writes_author values('p', 'o', 'None', 'None', 'None');
382
+ insert into writes_author values('g', 'l', 'o', 'r', 'g');
383
+ insert into writes_author values('e', 'p', 'None', 'None', 'None');
384
+ insert into writes_author values('s', 'None', 'r', 'r', 'e');
385
+
all/databases/academic_minus_1_1/academic_minus_1_1.sqlite ADDED
Binary file (61.4 kB). View file
 
all/databases/aircraft/aircraft.sql ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CREATE TABLE "pilot" (
2
+ "pilot_id" integer,
3
+ "name" text,
4
+ "age" integer
5
+ );
6
+
7
+ INSERT INTO pilot VALUES (1, "prof. zackery collins", 23);
8
+ INSERT INTO pilot VALUES (2, "katheryn gorczany iv", 20);
9
+ INSERT INTO pilot VALUES (3, "mr. cristian halvorson ii", 23);
10
+ INSERT INTO pilot VALUES (4, "ayana spencer", 25);
11
+ INSERT INTO pilot VALUES (5, "ellen ledner iii", 31);
12
+ INSERT INTO pilot VALUES (6, "elisha hickle v", 37);
13
+ INSERT INTO pilot VALUES (7, "dr. jade bradtke v", 26);
14
+ INSERT INTO pilot VALUES (8, "winnifred boyle", 30);
15
+ INSERT INTO pilot VALUES (9, "della lindgren", 29);
16
+ INSERT INTO pilot VALUES (10, "maxwell graham", 26);
17
+ INSERT INTO pilot VALUES (11, "blaise muller", 33);
18
+ INSERT INTO pilot VALUES (12, "baylee steuber", 30);
19
+
20
+ CREATE TABLE "aircraft" (
21
+ "aircraft_id" integer,
22
+ "aircraft" text,
23
+ "description" text,
24
+ "max_gross_weight" text,
25
+ "total_disk_area" text,
26
+ "max_disk_loading" text
27
+ );
28
+
29
+ INSERT INTO aircraft VALUES (1, "robinson r-22", "light utility helicopter", "1370 lb 635 kg", "497 ft² 46.2 m²", "2.6 lb/ft² 14 kg/m²");
30
+ INSERT INTO aircraft VALUES (2, "bell 206b3 jetranger", "turboshaft utility helicopter", "3200 lb 1451 kg", "872 ft² 81.1 m²", "3.7 lb/ft² 18 kg/m²");
31
+ INSERT INTO aircraft VALUES (3, "ch-47d chinook", "tandem rotor helicopter", "50000 lb 22680 kg", "5655 ft² 526 m²", "8.8 lb/ft² 43 kg/m²");
32
+ INSERT INTO aircraft VALUES (4, "mil mi-26", "heavy-lift helicopter", "123500 lb 56000 kg", "8495 ft² 789 m²", "14.5 lb/ft² 71 kg/m²");
33
+ INSERT INTO aircraft VALUES (5, "ch-53e super stallion", "heavy-lift helicopter", "73500 lb 33300 kg", "4900 ft² 460 m²", "15 lb/ft² 72 kg/m²");
34
+
35
+ CREATE TABLE "match" (
36
+ "round" real,
37
+ "location" text,
38
+ "country" text,
39
+ "date" text,
40
+ "fastest_qualifying" text,
41
+ "winning_pilot" text,
42
+ "winning_aircraft" text
43
+ );
44
+
45
+ INSERT INTO match VALUES (1.0, "mina zayid abu dhabi", "united arab emirates", "march 26–27", "hannes arch", "1", "1");
46
+ INSERT INTO match VALUES (2.0, "swan river perth", "australia", "april 17–18", "paul bonhomme", "4", "1");
47
+ INSERT INTO match VALUES (3.0, "flamengo beach rio de janeiro", "brazil", "may 8–9", "hannes arch", "6", "2");
48
+ INSERT INTO match VALUES (4.0, "windsor ontario", "canada", "june 5–6", "nigel lamb", "4", "4");
49
+ INSERT INTO match VALUES (5.0, "new york city", "united states", "june 19–20", "hannes arch", "9", "3");
50
+ INSERT INTO match VALUES (6.0, "eurospeedway lausitz", "germany", "august 7–8", "paul bonhomme", "2", "4");
51
+ INSERT INTO match VALUES (7.0, "river danube budapest", "hungary", "cancelled", "cancelled", "6", "5");
52
+
53
+ CREATE TABLE "airport" (
54
+ "airport_id" integer,
55
+ "airport_name" text,
56
+ "total_passengers" real,
57
+ "%_change_2007" text,
58
+ "international_passengers" real,
59
+ "domestic_passengers" real,
60
+ "transit_passengers" real,
61
+ "aircraft_movements" real,
62
+ "freight_metric_tonnes" real
63
+ );
64
+
65
+ INSERT INTO airport VALUES (1, "london heathrow", 67054745.0, "1.5%", 61344438.0, 5562516.0, 147791.0, 478693.0, 1397054.0);
66
+ INSERT INTO airport VALUES (2, "london gatwick", 34205887.0, "2.9%", 30431051.0, 3730963.0, 43873.0, 263653.0, 107702.0);
67
+ INSERT INTO airport VALUES (3, "london stansted", 22360364.0, "6.0%", 19996947.0, 2343428.0, 19989.0, 193282.0, 197738.0);
68
+ INSERT INTO airport VALUES (4, "manchester", 21219195.0, "4.0%", 18119230.0, 2943719.0, 156246.0, 204610.0, 141781.0);
69
+ INSERT INTO airport VALUES (5, "london luton", 10180734.0, "2.6%", 8853224.0, 1320678.0, 6832.0, 117859.0, 40518.0);
70
+ INSERT INTO airport VALUES (6, "birmingham airport", 9627589.0, "4.3%", 8105162.0, 1471538.0, 50889.0, 112227.0, 12192.0);
71
+ INSERT INTO airport VALUES (7, "edinburgh", 9006702.0, "0.5%", 3711140.0, 5281038.0, 14524.0, 125550.0, 12418.0);
72
+ INSERT INTO airport VALUES (8, "glasgow international", 8178891.0, "7.0%", 3943139.0, 4192121.0, 43631.0, 100087.0, 3546.0);
73
+ INSERT INTO airport VALUES (9, "bristol", 6267114.0, "5.7%", 5057051.0, 1171605.0, 38458.0, 76517.0, 3.0);
74
+ INSERT INTO airport VALUES (10, "east midlands", 5620673.0, "3.8%", 4870184.0, 746094.0, 4395.0, 93038.0, 261507.0);
75
+
76
+ CREATE TABLE "airport_aircraft" (
77
+ "id" integer,
78
+ "airport_id" integer,
79
+ "aircraft_id" integer
80
+ );
81
+
82
+ INSERT INTO airport_aircraft VALUES (1, 1, 2);
83
+ INSERT INTO airport_aircraft VALUES (2, 2, 1);
84
+ INSERT INTO airport_aircraft VALUES (3, 6, 5);
85
+ INSERT INTO airport_aircraft VALUES (4, 9, 3);
86
+
87
+
88
+ COMMIT;
all/databases/aircraft/aircraft.sqlite ADDED
Binary file (24.6 kB). View file
 
all/databases/battle_death_total_0/battle_death_total_0.sql ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ create table battle (
2
+ id integer,
3
+ name text,
4
+ date text,
5
+ bulgarian_commander text,
6
+ latin_commander text,
7
+ result text
8
+ );
9
+ insert into battle values(1, 'battle of adrianople', '14 april 1205', 'kaloyan', 'baldwin i', 'bulgarian victory');
10
+ insert into battle values(2, 'battle of serres', 'june 1205', 'kaloyan', 'unknown', 'bulgarian victory');
11
+ insert into battle values(3, 'battle of rusion', '31 january 1206', 'kaloyan', 'thierry de termond', 'bulgarian victory');
12
+ insert into battle values(4, 'battle of rodosto', 'february 1206', 'kaloyan', 'unknown', 'bulgarian victory');
13
+ insert into battle values(5, 'battle of messinopolis', '4 september 1207', 'unknown', 'boniface of montferrat', 'bulgarian victory');
14
+ insert into battle values(6, 'battle of boruy', 'june 1205', 'boril', 'henry i', 'bulgarian victory');
15
+ insert into battle values(7, 'battle of philippopolis', '31 june 1208', 'boril', 'henry i', 'latin victory');
16
+ insert into battle values(8, 'siege of constantinople', 1235, 'ivan asen ii', 'john of brienne', 'two year truce');
17
+ create table death_ship (
18
+ caused_by_ship_id integer,
19
+ id_death integer,
20
+ note text,
21
+ killed integer,
22
+ injured integer,
23
+ lost_in_battle integer,
24
+ name text,
25
+ tonnage text,
26
+ ship_type text,
27
+ location text,
28
+ disposition_of_ship text);
29
+ insert into death_ship values(1, 1, 'dantewada chhattisgarh', 8, 0, 8, 'lettice', 't', 'brig', 'english channel', 'captured');
30
+ insert into death_ship values(2, 2, 'dantewada chhattisgarh', 3, 0, 7, 'bon accord', 't', 'brig', 'english channel', 'captured');
31
+ insert into death_ship values(3, 3, 'erraboru chhattisgarh', 25, 0, 6, 'mary', 't', 'brig', 'english channel', 'captured');
32
+ insert into death_ship values(3, 4, 'east champaran bihar', 2, 0, 6, 'mary', 't', 'brig', 'english channel', 'captured');
33
+ insert into death_ship values(4, 5, 'gajapati odisha', 3, 0, 5, 'hms avon', '391', '18-gun brig', 'english channel', 'wrecked');
34
+ insert into death_ship values(4, 6, 'sundargarh odisha', 0, 9, 5, 'hms avon', '391', '18-gun brig', 'english channel', 'wrecked');
35
+ insert into death_ship values(5, 7, 'dantewada chhattisgarh', 0, 0, 5, 'three brothers', 't', 'brig', 'sw approaches', 'scuttled');
36
+ insert into death_ship values(5, 8, 'dantewada chhattisgarh', 4, 5, 5, 'three brothers', 't', 'brig', 'sw approaches', 'scuttled');
37
+ insert into death_ship values(6, 9, 'kanker chhattisgarh', 0, 0, 4, 'bacchus', 't', 'brig', 'english channel', 'sank');
38
+ insert into death_ship values(1, 10, 'dantewada chhattisgarh', 29, 0, 8, 'lettice', 't', 'brig', 'english channel', 'captured');
39
+ insert into death_ship values(3, 11, 'westmidnapore west bengal', 0, 0, 6, 'mary', 't', 'brig', 'english channel', 'captured');
40
+ insert into death_ship values(2, 12, 'bastar chattisgarh', 0, 0, 7, 'bon accord', 't', 'brig', 'english channel', 'captured');
41
+ insert into death_ship values(5, 13, 'bokaro jharkhand', 14, 0, 5, 'three brothers', 't', 'brig', 'sw approaches', 'scuttled');
42
+ insert into death_ship values(7, 'None', 'None', 'None', 'None', 8, 'hms atalanta', '225', '8 gun brig', 'mid-atlantic', 'captured');
43
+
all/databases/battle_death_total_0/battle_death_total_0.sqlite ADDED
Binary file (12.3 kB). View file
 
all/databases/bike_1/bike_1.sql ADDED
@@ -0,0 +1,434 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CREATE TABLE "station" (
2
+ "id" integer,
3
+ "name" text,
4
+ "lat" real,
5
+ "long" real,
6
+ "dock_count" integer,
7
+ "city" text,
8
+ "installation_date" text
9
+ );
10
+
11
+ INSERT INTO station VALUES (2, "san jose diridon caltrain station", 37.329732, -121.90178200000001, 27, "san jose", "8/6/2013");
12
+ INSERT INTO station VALUES (3, "san jose civic center", 37.330698, -121.888979, 15, "san jose", "8/5/2013");
13
+ INSERT INTO station VALUES (4, "santa clara at almaden", 37.333988, -121.894902, 11, "san jose", "8/6/2013");
14
+ INSERT INTO station VALUES (5, "adobe on almaden", 37.331415, -121.8932, 19, "san jose", "8/5/2013");
15
+ INSERT INTO station VALUES (6, "san pedro square", 37.336721000000004, -121.894074, 15, "san jose", "8/7/2013");
16
+ INSERT INTO station VALUES (7, "paseo de san antonio", 37.333798, -121.88694299999999, 15, "san jose", "8/7/2013");
17
+ INSERT INTO station VALUES (8, "san salvador at 1st", 37.330165, -121.88583100000001, 15, "san jose", "8/5/2013");
18
+ INSERT INTO station VALUES (9, "japantown", 37.348742, -121.89471499999999, 15, "san jose", "8/5/2013");
19
+ INSERT INTO station VALUES (10, "san jose city hall", 37.337391, -121.886995, 15, "san jose", "8/6/2013");
20
+ INSERT INTO station VALUES (11, "mlk library", 37.335885, -121.88566000000002, 19, "san jose", "8/6/2013");
21
+ INSERT INTO station VALUES (12, "sjsu 4th at san carlos", 37.332808, -121.88389099999999, 19, "san jose", "8/7/2013");
22
+ INSERT INTO station VALUES (13, "st james park", 37.339301, -121.88993700000002, 15, "san jose", "8/6/2013");
23
+ INSERT INTO station VALUES (14, "arena green / sap center", 37.332692, -121.900084, 19, "san jose", "8/5/2013");
24
+ INSERT INTO station VALUES (16, "sjsu - san salvador at 9th", 37.333954999999996, -121.877349, 15, "san jose", "8/7/2013");
25
+ INSERT INTO station VALUES (21, "franklin at maple", 37.481758, -122.226904, 15, "redwood city", "8/12/2013");
26
+ INSERT INTO station VALUES (22, "redwood city caltrain station", 37.486078000000006, -122.23208899999999, 25, "redwood city", "8/15/2013");
27
+ INSERT INTO station VALUES (23, "san mateo county center", 37.487615999999996, -122.229951, 15, "redwood city", "8/15/2013");
28
+ INSERT INTO station VALUES (24, "redwood city public library", 37.484219, -122.227424, 15, "redwood city", "8/12/2013");
29
+ INSERT INTO station VALUES (25, "stanford in redwood city", 37.48537, -122.20328799999999, 15, "redwood city", "8/12/2013");
30
+ INSERT INTO station VALUES (26, "redwood city medical center", 37.487682, -122.223492, 15, "redwood city", "8/12/2013");
31
+ INSERT INTO station VALUES (27, "mountain view city hall", 37.389218, -122.081896, 15, "mountain view", "8/16/2013");
32
+ INSERT INTO station VALUES (28, "mountain view caltrain station", 37.394358000000004, -122.07671299999998, 23, "mountain view", "8/15/2013");
33
+ INSERT INTO station VALUES (29, "san antonio caltrain station", 37.406940000000006, -122.10675800000001, 23, "mountain view", "8/15/2013");
34
+ INSERT INTO station VALUES (30, "evelyn park and ride", 37.390277000000005, -122.066553, 15, "mountain view", "8/16/2013");
35
+ INSERT INTO station VALUES (31, "san antonio shopping center", 37.400443, -122.10833799999999, 15, "mountain view", "12/31/2013");
36
+ INSERT INTO station VALUES (32, "castro street and el camino real", 37.385956, -122.083678, 11, "mountain view", "12/31/2013");
37
+ INSERT INTO station VALUES (33, "rengstorff avenue / california street", 37.400240999999994, -122.099076, 15, "mountain view", "8/16/2013");
38
+ INSERT INTO station VALUES (34, "palo alto caltrain station", 37.443988, -122.164759, 23, "palo alto", "8/14/2013");
39
+ INSERT INTO station VALUES (35, "university and emerson", 37.444521, -122.16309299999999, 11, "palo alto", "8/15/2013");
40
+ INSERT INTO station VALUES (36, "california ave caltrain station", 37.429082, -122.14280500000001, 15, "palo alto", "8/14/2013");
41
+ INSERT INTO station VALUES (37, "cowper at university", 37.448598, -122.159504, 11, "palo alto", "8/14/2013");
42
+ INSERT INTO station VALUES (38, "park at olive", 37.425683899999996, -122.13777749999998, 15, "palo alto", "8/14/2013");
43
+ INSERT INTO station VALUES (39, "powell street bart", 37.783871000000005, -122.408433, 19, "san francisco", "8/25/2013");
44
+ INSERT INTO station VALUES (41, "clay at battery", 37.795001, -122.39997, 15, "san francisco", "8/19/2013");
45
+ INSERT INTO station VALUES (42, "davis at jackson", 37.79728, -122.398436, 15, "san francisco", "8/19/2013");
46
+ INSERT INTO station VALUES (45, "commercial at montgomery", 37.794230999999996, -122.402923, 15, "san francisco", "8/19/2013");
47
+ INSERT INTO station VALUES (46, "washington at kearney", 37.795425, -122.40476699999999, 15, "san francisco", "8/19/2013");
48
+ INSERT INTO station VALUES (47, "post at kearney", 37.788975, -122.403452, 19, "san francisco", "8/19/2013");
49
+ INSERT INTO station VALUES (48, "embarcadero at vallejo", 37.799953, -122.398525, 15, "san francisco", "8/19/2013");
50
+ INSERT INTO station VALUES (49, "spear at folsom", 37.790302000000004, -122.39063700000001, 19, "san francisco", "8/20/2013");
51
+ INSERT INTO station VALUES (50, "harry bridges plaza ferry building", 37.795392, -122.394203, 23, "san francisco", "8/20/2013");
52
+ INSERT INTO station VALUES (51, "embarcadero at folsom", 37.791464000000005, -122.391034, 19, "san francisco", "8/20/2013");
53
+ INSERT INTO station VALUES (54, "embarcadero at bryant", 37.787152, -122.38801299999999, 15, "san francisco", "8/20/2013");
54
+ INSERT INTO station VALUES (55, "temporary transbay terminal howard at beale", 37.789756, -122.39464299999999, 23, "san francisco", "8/20/2013");
55
+ INSERT INTO station VALUES (56, "beale at market", 37.792251, -122.39708600000002, 19, "san francisco", "8/20/2013");
56
+ INSERT INTO station VALUES (57, "5th at howard", 37.781752000000004, -122.40512700000001, 15, "san francisco", "8/21/2013");
57
+ INSERT INTO station VALUES (58, "san francisco city hall", 37.77865, -122.41823500000001, 19, "san francisco", "8/21/2013");
58
+ INSERT INTO station VALUES (59, "golden gate at polk", 37.781332, -122.418603, 23, "san francisco", "8/21/2013");
59
+ INSERT INTO station VALUES (60, "embarcadero at sansome", 37.80477, -122.40323400000001, 15, "san francisco", "8/21/2013");
60
+ INSERT INTO station VALUES (61, "2nd at townsend", 37.780526, -122.39028799999998, 27, "san francisco", "8/22/2013");
61
+ INSERT INTO station VALUES (62, "2nd at folsom", 37.785299, -122.39623600000002, 19, "san francisco", "8/22/2013");
62
+ INSERT INTO station VALUES (63, "howard at 2nd", 37.786978000000005, -122.39810800000001, 19, "san francisco", "8/22/2013");
63
+ INSERT INTO station VALUES (64, "2nd at south park", 37.782259, -122.392738, 15, "san francisco", "8/22/2013");
64
+ INSERT INTO station VALUES (65, "townsend at 7th", 37.771058000000004, -122.402717, 15, "san francisco", "8/22/2013");
65
+ INSERT INTO station VALUES (66, "south van ness at market", 37.774814, -122.418954, 19, "san francisco", "8/23/2013");
66
+ INSERT INTO station VALUES (67, "market at 10th", 37.776619000000004, -122.41738500000001, 27, "san francisco", "8/23/2013");
67
+ INSERT INTO station VALUES (68, "yerba buena center of the arts 3rd @ howard", 37.784878000000006, -122.40101399999999, 19, "san francisco", "8/23/2013");
68
+ INSERT INTO station VALUES (69, "san francisco caltrain 2 330 townsend", 37.7766, -122.39546999999999, 23, "san francisco", "8/23/2013");
69
+ INSERT INTO station VALUES (70, "san francisco caltrain townsend at 4th", 37.776617, -122.39526000000001, 19, "san francisco", "8/23/2013");
70
+ INSERT INTO station VALUES (71, "powell at post union square", 37.788446, -122.408499, 19, "san francisco", "8/23/2013");
71
+ INSERT INTO station VALUES (72, "civic center bart 7th at market", 37.781039, -122.411748, 23, "san francisco", "8/23/2013");
72
+ INSERT INTO station VALUES (73, "grant avenue at columbus avenue", 37.798522, -122.40724499999999, 15, "san francisco", "8/21/2013");
73
+ INSERT INTO station VALUES (74, "steuart at market", 37.794139, -122.394434, 23, "san francisco", "8/25/2013");
74
+ INSERT INTO station VALUES (75, "mechanics plaza market at battery", 37.7913, -122.399051, 19, "san francisco", "8/25/2013");
75
+ INSERT INTO station VALUES (76, "market at 4th", 37.786305, -122.40496599999999, 19, "san francisco", "8/25/2013");
76
+ INSERT INTO station VALUES (77, "market at sansome", 37.789625, -122.400811, 27, "san francisco", "8/25/2013");
77
+ INSERT INTO station VALUES (80, "santa clara county civic center", 37.352601, -121.90573300000001, 15, "san jose", "12/31/2013");
78
+ INSERT INTO station VALUES (82, "broadway st at battery st", 37.798541, -122.40086200000002, 15, "san francisco", "1/22/2014");
79
+ INSERT INTO station VALUES (83, "mezes park", 37.491269, -122.23623400000001, 15, "redwood city", "2/20/2014");
80
+ INSERT INTO station VALUES (84, "ryland park", 37.342725, -121.89561699999999, 15, "san jose", "4/9/2014");
81
+
82
+ CREATE TABLE "status" (
83
+ "station_id" integer,
84
+ "bikes_available" integer,
85
+ "docks_available" integer,
86
+ "time" text
87
+ );
88
+
89
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 12:46:02");
90
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 12:47:02");
91
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 12:48:02");
92
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 12:49:02");
93
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 12:50:02");
94
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 12:51:02");
95
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 12:52:02");
96
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 12:53:03");
97
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 12:54:02");
98
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 12:55:02");
99
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 12:56:01");
100
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 12:57:02");
101
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 12:58:02");
102
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 12:59:02");
103
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:00:01");
104
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:01:03");
105
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:02:02");
106
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:03:02");
107
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:04:02");
108
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:05:03");
109
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:06:02");
110
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:07:02");
111
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:08:02");
112
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:09:02");
113
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:10:02");
114
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:11:02");
115
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:12:02");
116
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:13:03");
117
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:14:03");
118
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:15:02");
119
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:16:02");
120
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:17:02");
121
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:18:02");
122
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:19:02");
123
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:20:02");
124
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:21:02");
125
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:22:02");
126
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:23:02");
127
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:24:02");
128
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:25:02");
129
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:26:02");
130
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:27:02");
131
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:28:02");
132
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:29:02");
133
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:30:02");
134
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:31:02");
135
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:32:02");
136
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:33:02");
137
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:34:02");
138
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:35:02");
139
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:36:02");
140
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:37:02");
141
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:38:02");
142
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:39:02");
143
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:40:02");
144
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:41:03");
145
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:42:03");
146
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:43:03");
147
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:44:02");
148
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:45:03");
149
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:46:02");
150
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:47:02");
151
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:48:02");
152
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:49:02");
153
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:50:03");
154
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:51:02");
155
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:52:02");
156
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:53:02");
157
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:54:02");
158
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:55:03");
159
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:56:02");
160
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:57:02");
161
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:58:02");
162
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 13:59:02");
163
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 14:00:02");
164
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 14:01:02");
165
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 14:02:02");
166
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 14:03:02");
167
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 14:04:02");
168
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 14:05:02");
169
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 14:06:02");
170
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 14:07:02");
171
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 14:08:02");
172
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 14:09:02");
173
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 14:10:02");
174
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 14:11:02");
175
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 14:12:02");
176
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 14:13:02");
177
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 14:14:02");
178
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 14:15:02");
179
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 14:16:02");
180
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 14:17:02");
181
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 14:18:02");
182
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 14:19:02");
183
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 14:20:03");
184
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 14:21:02");
185
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 14:22:02");
186
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 14:23:03");
187
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 14:24:02");
188
+ INSERT INTO status VALUES (3, 12, 3, "2015-06-02 14:25:01");
189
+
190
+ CREATE TABLE "trip" (
191
+ "id" integer,
192
+ "duration" integer,
193
+ "start_date" text,
194
+ "start_station_name" text,
195
+ "start_station_id" integer,
196
+ "end_date" text,
197
+ "end_station_name" text,
198
+ "end_station_id" integer,
199
+ "bike_id" integer,
200
+ "subscription_type" text,
201
+ "zip_code" integer
202
+ );
203
+
204
+ INSERT INTO trip VALUES (900504, 384, "8/21/2015 17:03", "howard at 2nd", 63, "8/21/2015 17:10", "san francisco caltrain 2 330 townsend", 69, 454, "subscriber", 94041);
205
+ INSERT INTO trip VALUES (900505, 588, "8/21/2015 17:03", "south van ness at market", 66, "8/21/2015 17:13", "san francisco caltrain 2 330 townsend", 69, 574, "subscriber", 95119);
206
+ INSERT INTO trip VALUES (900506, 196, "8/21/2015 17:04", "market at sansome", 77, "8/21/2015 17:07", "harry bridges plaza ferry building", 50, 636, "subscriber", 94925);
207
+ INSERT INTO trip VALUES (900507, 823, "8/21/2015 17:04", "washington at kearny", 46, "8/21/2015 17:18", "2nd at townsend", 61, 187, "subscriber", 94103);
208
+ INSERT INTO trip VALUES (900508, 1059, "8/21/2015 17:04", "beale at market", 56, "8/21/2015 17:22", "san francisco caltrain townsend at 4th", 70, 363, "customer", 94107);
209
+ INSERT INTO trip VALUES (900509, 362, "8/21/2015 17:05", "clay at battery", 41, "8/21/2015 17:11", "howard at 2nd", 63, 16, "subscriber", 94107);
210
+ INSERT INTO trip VALUES (900511, 528, "8/21/2015 17:05", "embarcadero at vallejo", 48, "8/21/2015 17:14", "temporary transbay terminal howard at beale", 55, 67, "subscriber", 94608);
211
+ INSERT INTO trip VALUES (900514, 984, "8/21/2015 17:06", "davis at jackson", 42, "8/21/2015 17:22", "san francisco caltrain townsend at 4th", 70, 427, "subscriber", 94087);
212
+ INSERT INTO trip VALUES (900515, 982, "8/21/2015 17:06", "davis at jackson", 42, "8/21/2015 17:22", "san francisco caltrain 2 330 townsend", 69, 603, "subscriber", 94107);
213
+ INSERT INTO trip VALUES (900518, 422, "8/21/2015 17:07", "howard at 2nd", 63, "8/21/2015 17:14", "san francisco caltrain 2 330 townsend", 69, 503, "subscriber", 94010);
214
+ INSERT INTO trip VALUES (900519, 837, "8/21/2015 17:07", "2nd at townsend", 61, "8/21/2015 17:21", "market at sansome", 77, 351, "subscriber", 94609);
215
+ INSERT INTO trip VALUES (900520, 710, "8/21/2015 17:07", "powell street bart", 39, "8/21/2015 17:19", "townsend at 7th", 65, 507, "subscriber", 94107);
216
+ INSERT INTO trip VALUES (900521, 209, "8/21/2015 17:07", "temporary transbay terminal howard at beale", 55, "8/21/2015 17:11", "harry bridges plaza ferry building", 50, 415, "subscriber", 94901);
217
+ INSERT INTO trip VALUES (900522, 1155, "8/21/2015 17:07", "clay at battery", 41, "8/21/2015 17:26", "san francisco caltrain 2 330 townsend", 69, 29, "subscriber", 94061);
218
+ INSERT INTO trip VALUES (900523, 841, "8/21/2015 17:08", "park at olive", 38, "8/21/2015 17:22", "palo alto caltrain station", 34, 110, "subscriber", 94002);
219
+ INSERT INTO trip VALUES (900524, 693, "8/21/2015 17:08", "market at sansome", 77, "8/21/2015 17:20", "market at 10th", 67, 343, "subscriber", 94117);
220
+ INSERT INTO trip VALUES (900527, 614, "8/21/2015 17:08", "2nd at south park", 64, "8/21/2015 17:19", "civic center bart 7th at market", 72, 374, "subscriber", 94122);
221
+ INSERT INTO trip VALUES (900528, 400, "8/21/2015 17:09", "embarcadero at vallejo", 48, "8/21/2015 17:15", "embarcadero at folsom", 51, 520, "subscriber", 94547);
222
+ INSERT INTO trip VALUES (900529, 787, "8/21/2015 17:08", "market at sansome", 77, "8/21/2015 17:22", "grant avenue at columbus avenue", 73, 531, "subscriber", 94133);
223
+ INSERT INTO trip VALUES (900530, 278, "8/21/2015 17:09", "market at sansome", 77, "8/21/2015 17:13", "market at 4th", 76, 521, "subscriber", 94107);
224
+ INSERT INTO trip VALUES (900531, 804, "8/21/2015 17:09", "harry bridges plaza ferry building", 50, "8/21/2015 17:22", "5th at howard", 57, 636, "subscriber", 94107);
225
+ INSERT INTO trip VALUES (900534, 915, "8/21/2015 17:10", "steuart at market", 74, "8/21/2015 17:25", "south van ness at market", 66, 512, "subscriber", 94114);
226
+ INSERT INTO trip VALUES (900536, 1131, "8/21/2015 17:10", "embarcadero at sansome", 60, "8/21/2015 17:29", "san francisco caltrain 2 330 townsend", 69, 275, "subscriber", 95111);
227
+ INSERT INTO trip VALUES (900537, 535, "8/21/2015 17:10", "powell street bart", 39, "8/21/2015 17:19", "steuart at market", 74, 137, "subscriber", 94941);
228
+ INSERT INTO trip VALUES (900538, 419, "8/21/2015 17:10", "5th at howard", 57, "8/21/2015 17:17", "temporary transbay terminal howard at beale", 55, 451, "subscriber", 94170);
229
+ INSERT INTO trip VALUES (900539, 336, "8/21/2015 17:10", "2nd at townsend", 61, "8/21/2015 17:16", "harry bridges plaza ferry building", 50, 259, "subscriber", 94901);
230
+ INSERT INTO trip VALUES (900540, 673, "8/21/2015 17:11", "spear at folsom", 49, "8/21/2015 17:22", "townsend at 7th", 65, 537, "subscriber", 94105);
231
+ INSERT INTO trip VALUES (900541, 693, "8/21/2015 17:11", "south van ness at market", 66, "8/21/2015 17:23", "san francisco caltrain 2 330 townsend", 69, 563, "subscriber", 95118);
232
+ INSERT INTO trip VALUES (900542, 404, "8/21/2015 17:11", "embarcadero at sansome", 60, "8/21/2015 17:18", "steuart at market", 74, 425, "subscriber", 94102);
233
+ INSERT INTO trip VALUES (900543, 785, "8/21/2015 17:11", "san francisco caltrain townsend at 4th", 70, "8/21/2015 17:24", "powell at post union square", 71, 266, "subscriber", 94070);
234
+ INSERT INTO trip VALUES (900544, 251, "8/21/2015 17:12", "market at sansome", 77, "8/21/2015 17:16", "harry bridges plaza ferry building", 50, 538, "subscriber", 94925);
235
+ INSERT INTO trip VALUES (900545, 680, "8/21/2015 17:12", "temporary transbay terminal howard at beale", 55, "8/21/2015 17:23", "san francisco caltrain 2 330 townsend", 69, 285, "subscriber", 95110);
236
+ INSERT INTO trip VALUES (900546, 222, "8/21/2015 17:12", "2nd at south park", 64, "8/21/2015 17:16", "san francisco caltrain 2 330 townsend", 69, 434, "subscriber", 95014);
237
+ INSERT INTO trip VALUES (900547, 319, "8/21/2015 17:12", "yerba buena center of the arts 3rd @ howard", 68, "8/21/2015 17:17", "san francisco caltrain 2 330 townsend", 69, 360, "subscriber", 94401);
238
+ INSERT INTO trip VALUES (900548, 461, "8/21/2015 17:12", "embarcadero at bryant", 54, "8/21/2015 17:20", "san francisco caltrain 2 330 townsend", 69, 528, "subscriber", 94005);
239
+ INSERT INTO trip VALUES (900549, 262, "8/21/2015 17:12", "market at 10th", 67, "8/21/2015 17:17", "powell street bart", 39, 193, "subscriber", 94103);
240
+ INSERT INTO trip VALUES (900550, 803, "8/21/2015 17:12", "embarcadero at folsom", 51, "8/21/2015 17:26", "2nd at townsend", 61, 535, "customer", 94549);
241
+ INSERT INTO trip VALUES (900551, 511, "8/21/2015 17:13", "yerba buena center of the arts 3rd @ howard", 68, "8/21/2015 17:22", "san francisco caltrain townsend at 4th", 70, 593, "subscriber", 95014);
242
+ INSERT INTO trip VALUES (900552, 839, "8/21/2015 17:13", "san francisco caltrain townsend at 4th", 70, "8/21/2015 17:27", "steuart at market", 74, 448, "subscriber", 94609);
243
+ INSERT INTO trip VALUES (900553, 705, "8/21/2015 17:13", "spear at folsom", 49, "8/21/2015 17:25", "san francisco caltrain 2 330 townsend", 69, 416, "subscriber", 94404);
244
+ INSERT INTO trip VALUES (900554, 646, "8/21/2015 17:13", "san francisco caltrain townsend at 4th", 70, "8/21/2015 17:24", "market at sansome", 77, 687, "subscriber", 94549);
245
+ INSERT INTO trip VALUES (900555, 810, "8/21/2015 17:13", "townsend at 7th", 65, "8/21/2015 17:27", "harry bridges plaza ferry building", 50, 552, "subscriber", 94904);
246
+ INSERT INTO trip VALUES (900556, 445, "8/21/2015 17:10", "market at 4th", 76, "8/21/2015 17:18", "san francisco caltrain townsend at 4th", 70, 449, "subscriber", 94403);
247
+ INSERT INTO trip VALUES (900557, 243, "8/21/2015 17:15", "mountain view city hall", 27, "8/21/2015 17:19", "mountain view caltrain station", 28, 90, "subscriber", 94107);
248
+ INSERT INTO trip VALUES (900558, 389, "8/21/2015 17:16", "5th at howard", 57, "8/21/2015 17:22", "san francisco caltrain 2 330 townsend", 69, 522, "subscriber", 94402);
249
+ INSERT INTO trip VALUES (900560, 278, "8/21/2015 17:16", "beale at market", 56, "8/21/2015 17:21", "commercial at montgomery", 45, 370, "subscriber", 94133);
250
+ INSERT INTO trip VALUES (900561, 261, "8/21/2015 17:17", "mountain view city hall", 27, "8/21/2015 17:21", "mountain view caltrain station", 28, 94, "subscriber", 94040);
251
+ INSERT INTO trip VALUES (900562, 647, "8/21/2015 17:17", "commercial at montgomery", 45, "8/21/2015 17:27", "san francisco caltrain 2 330 townsend", 69, 386, "subscriber", 94087);
252
+ INSERT INTO trip VALUES (900563, 811, "8/21/2015 17:17", "market at sansome", 77, "8/21/2015 17:30", "market at 10th", 67, 260, "subscriber", 94110);
253
+ INSERT INTO trip VALUES (900564, 234, "8/21/2015 17:17", "embarcadero at vallejo", 48, "8/21/2015 17:21", "steuart at market", 74, 418, "subscriber", 94102);
254
+ INSERT INTO trip VALUES (900565, 808, "8/21/2015 17:17", "embarcadero at vallejo", 48, "8/21/2015 17:30", "san francisco caltrain 2 330 townsend", 69, 359, "subscriber", 94103);
255
+ INSERT INTO trip VALUES (900566, 685, "8/21/2015 17:17", "san francisco caltrain 2 330 townsend", 69, "8/21/2015 17:29", "harry bridges plaza ferry building", 50, 405, "subscriber", 94965);
256
+ INSERT INTO trip VALUES (900567, 607, "8/21/2015 17:17", "2nd at townsend", 61, "8/21/2015 17:27", "davis at jackson", 42, 598, "subscriber", 94111);
257
+ INSERT INTO trip VALUES (900568, 679, "8/21/2015 17:17", "market at 10th", 67, "8/21/2015 17:28", "san francisco caltrain 2 330 townsend", 69, 327, "subscriber", 94401);
258
+ INSERT INTO trip VALUES (900569, 253, "8/21/2015 17:18", "mountain view caltrain station", 28, "8/21/2015 17:23", "mountain view caltrain station", 28, 233, "subscriber", 94109);
259
+ INSERT INTO trip VALUES (900570, 464, "8/21/2015 17:19", "san pedro square", 6, "8/21/2015 17:26", "san jose diridon caltrain station", 2, 57, "subscriber", 95377);
260
+ INSERT INTO trip VALUES (900571, 554, "8/21/2015 17:19", "golden gate at polk", 59, "8/21/2015 17:28", "temporary transbay terminal howard at beale", 55, 672, "subscriber", 94610);
261
+ INSERT INTO trip VALUES (900572, 509, "8/21/2015 17:19", "2nd at townsend", 61, "8/21/2015 17:28", "market at sansome", 77, 187, "subscriber", 94107);
262
+ INSERT INTO trip VALUES (900573, 508, "8/21/2015 17:20", "townsend at 7th", 65, "8/21/2015 17:28", "2nd at townsend", 61, 507, "subscriber", 94107);
263
+ INSERT INTO trip VALUES (900574, 273, "8/21/2015 17:20", "2nd at south park", 64, "8/21/2015 17:24", "howard at 2nd", 63, 441, "subscriber", 94108);
264
+ INSERT INTO trip VALUES (900576, 201, "8/21/2015 17:20", "townsend at 7th", 65, "8/21/2015 17:23", "san francisco caltrain 2 330 townsend", 69, 408, "customer", 94134);
265
+ INSERT INTO trip VALUES (900577, 874, "8/21/2015 17:20", "beale at market", 56, "8/21/2015 17:35", "golden gate at polk", 59, 111, "subscriber", 94109);
266
+ INSERT INTO trip VALUES (900578, 438, "8/21/2015 17:20", "market at 4th", 76, "8/21/2015 17:28", "san francisco caltrain 2 330 townsend", 69, 625, "subscriber", 94107);
267
+ INSERT INTO trip VALUES (900579, 447, "8/21/2015 17:21", "embarcadero at folsom", 51, "8/21/2015 17:28", "san francisco caltrain 2 330 townsend", 69, 628, "subscriber", 94303);
268
+ INSERT INTO trip VALUES (900580, 406, "8/21/2015 17:21", "market at sansome", 77, "8/21/2015 17:28", "2nd at south park", 64, 351, "subscriber", 94121);
269
+ INSERT INTO trip VALUES (900581, 614, "8/21/2015 17:21", "2nd at south park", 64, "8/21/2015 17:31", "powell street bart", 39, 392, "subscriber", 94612);
270
+ INSERT INTO trip VALUES (900583, 767, "8/21/2015 17:22", "san francisco caltrain townsend at 4th", 70, "8/21/2015 17:35", "spear at folsom", 49, 449, "subscriber", 94061);
271
+ INSERT INTO trip VALUES (900584, 341, "8/21/2015 17:22", "2nd at south park", 64, "8/21/2015 17:28", "market at sansome", 77, 361, "subscriber", 94610);
272
+ INSERT INTO trip VALUES (900585, 222, "8/21/2015 17:19", "embarcadero at vallejo", 48, "8/21/2015 17:23", "steuart at market", 74, 473, "subscriber", 94597);
273
+ INSERT INTO trip VALUES (900586, 422, "8/21/2015 17:19", "embarcadero at vallejo", 48, "8/21/2015 17:26", "temporary transbay terminal howard at beale", 55, 279, "subscriber", 94611);
274
+ INSERT INTO trip VALUES (900587, 71, "8/21/2015 17:23", "2nd at south park", 64, "8/21/2015 17:24", "2nd at south park", 64, 282, "subscriber", 94901);
275
+ INSERT INTO trip VALUES (900588, 834, "8/21/2015 17:23", "steuart at market", 74, "8/21/2015 17:37", "san francisco caltrain 2 330 townsend", 69, 575, "subscriber", 94404);
276
+ INSERT INTO trip VALUES (900589, 279, "8/21/2015 17:22", "steuart at market", 74, "8/21/2015 17:26", "embarcadero at bryant", 54, 590, "subscriber", 94105);
277
+ INSERT INTO trip VALUES (900590, 265, "8/21/2015 17:24", "embarcadero at vallejo", 48, "8/21/2015 17:28", "steuart at market", 74, 278, "subscriber", 94556);
278
+ INSERT INTO trip VALUES (900591, 69, "8/21/2015 17:24", "2nd at south park", 64, "8/21/2015 17:25", "2nd at townsend", 61, 282, "subscriber", 94107);
279
+ INSERT INTO trip VALUES (900592, 479, "8/21/2015 17:24", "embarcadero at folsom", 51, "8/21/2015 17:32", "embarcadero at sansome", 60, 422, "subscriber", 94133);
280
+ INSERT INTO trip VALUES (900594, 371, "8/21/2015 17:26", "santa clara at almaden", 4, "8/21/2015 17:32", "san jose diridon caltrain station", 2, 20, "subscriber", 94306);
281
+ INSERT INTO trip VALUES (900598, 768, "8/21/2015 17:27", "davis at jackson", 42, "8/21/2015 17:40", "san francisco caltrain 2 330 townsend", 69, 546, "subscriber", 94025);
282
+ INSERT INTO trip VALUES (900601, 557, "8/21/2015 17:28", "steuart at market", 74, "8/21/2015 17:37", "san francisco caltrain 2 330 townsend", 69, 425, "subscriber", 94061);
283
+ INSERT INTO trip VALUES (900604, 394, "8/21/2015 17:29", "civic center bart 7th at market", 72, "8/21/2015 17:35", "market at 4th", 76, 315, "subscriber", 94110);
284
+ INSERT INTO trip VALUES (900607, 335, "8/21/2015 17:30", "embarcadero at sansome", 60, "8/21/2015 17:35", "harry bridges plaza ferry building", 50, 470, "subscriber", 94602);
285
+ INSERT INTO trip VALUES (900610, 648, "8/21/2015 17:30", "steuart at market", 74, "8/21/2015 17:41", "san francisco caltrain 2 330 townsend", 69, 473, "subscriber", 94024);
286
+ INSERT INTO trip VALUES (900613, 446, "8/21/2015 17:31", "2nd at folsom", 62, "8/21/2015 17:38", "harry bridges plaza ferry building", 50, 289, "subscriber", 94949);
287
+ INSERT INTO trip VALUES (900616, 202, "8/21/2015 17:32", "townsend at 7th", 65, "8/21/2015 17:35", "san francisco caltrain 2 330 townsend", 69, 537, "subscriber", 94127);
288
+ INSERT INTO trip VALUES (900617, 605, "8/21/2015 17:32", "civic center bart 7th at market", 72, "8/21/2015 17:42", "townsend at 7th", 65, 659, "subscriber", 94112);
289
+ INSERT INTO trip VALUES (900618, 627, "8/21/2015 17:32", "san francisco city hall", 58, "8/21/2015 17:43", "5th at howard", 57, 292, "subscriber", 94103);
290
+ INSERT INTO trip VALUES (900619, 557, "8/21/2015 17:33", "yerba buena center of the arts 3rd @ howard", 68, "8/21/2015 17:42", "san francisco caltrain townsend at 4th", 70, 602, "subscriber", 94402);
291
+ INSERT INTO trip VALUES (900620, 622, "8/21/2015 17:33", "san francisco caltrain 2 330 townsend", 69, "8/21/2015 17:44", "market at 10th", 67, 581, "subscriber", 94102);
292
+ INSERT INTO trip VALUES (900621, 636, "8/21/2015 17:33", "embarcadero at sansome", 60, "8/21/2015 17:44", "post at kearny", 47, 422, "subscriber", 94109);
293
+ INSERT INTO trip VALUES (900622, 777, "8/21/2015 17:33", "temporary transbay terminal howard at beale", 55, "8/21/2015 17:46", "san francisco caltrain townsend at 4th", 70, 573, "subscriber", 94030);
294
+ INSERT INTO trip VALUES (900623, 453, "8/21/2015 17:34", "howard at 2nd", 63, "8/21/2015 17:41", "san francisco caltrain 2 330 townsend", 69, 437, "subscriber", 94061);
295
+ INSERT INTO trip VALUES (900624, 365, "8/21/2015 17:34", "2nd at south park", 64, "8/21/2015 17:40", "market at sansome", 77, 351, "subscriber", 94607);
296
+ INSERT INTO trip VALUES (900625, 2146, "8/21/2015 17:34", "golden gate at polk", 59, "8/21/2015 18:10", "davis at jackson", 42, 417, "subscriber", 94530);
297
+ INSERT INTO trip VALUES (900626, 348, "8/21/2015 17:35", "yerba buena center of the arts 3rd @ howard", 68, "8/21/2015 17:40", "san francisco caltrain townsend at 4th", 70, 578, "subscriber", 94087);
298
+ INSERT INTO trip VALUES (900629, 530, "8/21/2015 17:36", "2nd at townsend", 61, "8/21/2015 17:45", "townsend at 7th", 65, 535, "subscriber", 94103);
299
+ INSERT INTO trip VALUES (900630, 691, "8/21/2015 17:36", "mountain view caltrain station", 28, "8/21/2015 17:47", "rengstorff avenue / california street", 33, 105, "subscriber", "94040-1724");
300
+ INSERT INTO trip VALUES (900631, 712, "8/21/2015 17:33", "redwood city medical center", 26, "8/21/2015 17:45", "san mateo county center", 23, 299, "subscriber", 94040);
301
+ INSERT INTO trip VALUES (900632, 410, "8/21/2015 17:37", "market at 4th", 76, "8/21/2015 17:43", "temporary transbay terminal howard at beale", 55, 309, "subscriber", 94501);
302
+ INSERT INTO trip VALUES (900635, 971, "8/21/2015 17:37", "spear at folsom", 49, "8/21/2015 17:53", "market at 4th", 76, 449, "subscriber", 94117);
303
+ INSERT INTO trip VALUES (900636, 892, "8/21/2015 17:37", "embarcadero at folsom", 51, "8/21/2015 17:52", "civic center bart 7th at market", 72, 494, "subscriber", 94080);
304
+
305
+ CREATE TABLE "weather" (
306
+ "date" text,
307
+ "max_temperature_f" integer,
308
+ "mean_temperature_f" integer,
309
+ "min_temperature_f" integer,
310
+ "max_dew_point_f" integer,
311
+ "mean_dew_point_f" integer,
312
+ "min_dew_point_f" integer,
313
+ "max_humidity" integer,
314
+ "mean_humidity" integer,
315
+ "min_humidity" integer,
316
+ "max_sea_level_pressure_inches" real,
317
+ "mean_sea_level_pressure_inches" real,
318
+ "min_sea_level_pressure_inches" real,
319
+ "max_visibility_miles" integer,
320
+ "mean_visibility_miles" integer,
321
+ "min_visibility_miles" integer,
322
+ "max_wind_speed_mph" integer,
323
+ "mean_wind_speed_mph" integer,
324
+ "max_gust_speed_mph" integer,
325
+ "precipitation_inches" integer,
326
+ "cloud_cover" integer,
327
+ "events" text,
328
+ "wind_dir_degrees" integer,
329
+ "zip_code" integer
330
+ );
331
+
332
+ INSERT INTO weather VALUES ("8/29/2013", 74, 68, 61, 61, 58, 56, 93, 75, 57, 30.07, 30.02, 29.97, 10, 10, 10, 23, 11, 28, 0, 4, "", 286, 94107);
333
+ INSERT INTO weather VALUES ("8/30/2013", 78, 69, 60, 61, 58, 56, 90, 70, 50, 30.05, 30, 29.93, 10, 10, 7, 29, 13, 35, 0, 2, "", 291, 94107);
334
+ INSERT INTO weather VALUES ("8/31/2013", 71, 64, 57, 57, 56, 54, 93, 75, 57, 30, 29.96, 29.92, 10, 10, 10, 26, 15, 31, 0, 4, "", 284, 94107);
335
+ INSERT INTO weather VALUES ("9/1/2013", 74, 66, 58, 60, 56, 53, 87, 68, 49, 29.96, 29.93, 29.91, 10, 10, 10, 25, 13, 29, 0, 4, "", 284, 94107);
336
+ INSERT INTO weather VALUES ("9/2/2013", 75, 69, 62, 61, 60, 58, 93, 77, 61, 29.97, 29.94, 29.9, 10, 10, 6, 23, 12, 30, 0, 6, "", 277, 94107);
337
+ INSERT INTO weather VALUES ("9/3/2013", 73, 67, 60, 59, 56, 51, 84, 65, 46, 30.02, 29.98, 29.95, 10, 10, 10, 24, 15, 31, 0, 2, "", 276, 94107);
338
+ INSERT INTO weather VALUES ("9/4/2013", 74, 68, 61, 59, 57, 56, 90, 72, 53, 30.05, 30.01, 29.97, 10, 10, 10, 29, 19, 35, 0, 4, "", 269, 94107);
339
+ INSERT INTO weather VALUES ("9/5/2013", 72, 66, 60, 57, 56, 54, 90, 74, 57, 30.04, 30, 29.97, 10, 10, 10, 31, 21, 37, 0, 3, "", 270, 94107);
340
+ INSERT INTO weather VALUES ("9/6/2013", 85, 71, 56, 57, 51, 45, 86, 58, 29, 30, 29.92, 29.83, 10, 10, 10, 24, 8, 28, 0, 0, "", 287, 94107);
341
+ INSERT INTO weather VALUES ("9/7/2013", 88, 73, 58, 64, 54, 46, 86, 59, 31, 29.88, 29.85, 29.81, 10, 10, 10, 21, 8, 25, 0, 1, "", 305, 94107);
342
+ INSERT INTO weather VALUES ("9/8/2013", 74, 65, 56, 58, 54, 52, 86, 70, 53, 29.88, 29.83, 29.76, 10, 10, 10, 26, 11, 31, 0, 2, "", 299, 94107);
343
+ INSERT INTO weather VALUES ("9/9/2013", 76, 66, 55, 58, 55, 52, 90, 70, 50, 29.82, 29.77, 29.72, 10, 10, 10, 26, 11, 30, 0, 1, "", 303, 94107);
344
+ INSERT INTO weather VALUES ("9/10/2013", 74, 66, 57, 59, 56, 54, 93, 73, 53, 29.91, 29.82, 29.76, 10, 10, 10, 17, 8, 21, 0, 1, "", 230, 94107);
345
+ INSERT INTO weather VALUES ("9/11/2013", 74, 68, 62, 57, 55, 54, 78, 68, 57, 30, 29.97, 29.91, 10, 10, 10, 18, 9, 23, 0, 5, "", 219, 94107);
346
+ INSERT INTO weather VALUES ("9/12/2013", 71, 65, 59, 58, 57, 55, 84, 73, 61, 29.99, 29.95, 29.91, 10, 10, 9, 25, 11, 30, 0, 7, "fog", 268, 94107);
347
+ INSERT INTO weather VALUES ("9/13/2013", 66, 62, 57, 55, 54, 54, 93, 80, 67, 29.92, 29.87, 29.8, 10, 10, 7, 30, 15, 37, 0, 6, "", 271, 94107);
348
+ INSERT INTO weather VALUES ("9/14/2013", 66, 62, 57, 55, 54, 53, 87, 77, 67, 29.86, 29.81, 29.77, 10, 10, 9, 25, 16, 33, 0, 7, "", 265, 94107);
349
+ INSERT INTO weather VALUES ("9/15/2013", 73, 66, 58, 59, 55, 52, 90, 72, 53, 29.88, 29.85, 29.81, 10, 10, 6, 23, 13, 26, 0, 5, "", 276, 94107);
350
+ INSERT INTO weather VALUES ("9/16/2013", 71, 65, 59, 58, 55, 53, 90, 74, 57, 29.91, 29.87, 29.81, 10, 10, 6, 31, 16, 39, 0, 3, "", 274, 94107);
351
+ INSERT INTO weather VALUES ("9/17/2013", 68, 63, 57, 55, 53, 50, 86, 72, 58, 29.91, 29.87, 29.84, 10, 10, 10, 39, 22, 51, 0, 3, "", 270, 94107);
352
+ INSERT INTO weather VALUES ("9/18/2013", 78, 66, 54, 55, 49, 47, 78, 60, 41, 29.92, 29.88, 29.85, 10, 10, 10, 25, 10, 30, 0, 1, "", 278, 94107);
353
+ INSERT INTO weather VALUES ("9/19/2013", 80, 67, 54, 56, 50, 46, 77, 58, 38, 29.87, 29.82, 29.76, 10, 10, 10, 26, 10, 33, 0, 0, "", 297, 94107);
354
+ INSERT INTO weather VALUES ("9/20/2013", 73, 65, 56, 59, 56, 50, 87, 70, 53, 29.88, 29.84, 29.79, 10, 10, 9, 17, 10, 23, 0, 6, "", 248, 94107);
355
+ INSERT INTO weather VALUES ("9/21/2013", 68, 63, 58, 59, 56, 53, 90, 75, 59, 29.91, 29.85, 29.82, 10, 9, 2, 24, 12, 28, 0.23, 6, "rain", 218, 94107);
356
+ INSERT INTO weather VALUES ("9/22/2013", 70, 63, 55, 55, 53, 49, 93, 70, 47, 30.02, 29.97, 29.92, 10, 10, 10, 29, 10, 35, 0, 1, "", 292, 94107);
357
+ INSERT INTO weather VALUES ("9/23/2013", 78, 68, 57, 58, 54, 50, 78, 64, 50, 30.03, 29.99, 29.95, 10, 10, 10, 24, 9, 30, 0, 0, "", 294, 94107);
358
+ INSERT INTO weather VALUES ("9/24/2013", 71, 65, 58, 54, 52, 50, 78, 66, 53, 30.01, 29.97, 29.93, 10, 10, 10, 36, 19, 43, 0, 1, "", 277, 94107);
359
+ INSERT INTO weather VALUES ("9/25/2013", 67, 62, 56, 51, 47, 45, 83, 64, 45, 29.95, 29.91, 29.84, 10, 10, 10, 35, 20, 45, 0, 1, "", 281, 94107);
360
+ INSERT INTO weather VALUES ("9/26/2013", 71, 62, 53, 46, 43, 38, 72, 53, 33, 29.99, 29.92, 29.85, 10, 10, 10, 24, 11, 29, 0, 0, "", 281, 94107);
361
+ INSERT INTO weather VALUES ("9/27/2013", 78, 66, 54, 47, 41, 34, 67, 46, 25, 30.11, 30.06, 30, 10, 10, 10, 23, 7, 28, 0, 0, "", 279, 94107);
362
+ INSERT INTO weather VALUES ("9/28/2013", 78, 66, 53, 55, 48, 38, 84, 60, 35, 30.1, 30.06, 30.02, 10, 10, 10, 28, 9, 32, 0, 1, "", 296, 94107);
363
+ INSERT INTO weather VALUES ("9/29/2013", 75, 66, 57, 59, 56, 53, 87, 70, 53, 30.11, 30.09, 30.06, 10, 10, 10, 16, 7, 21, 0, 3, "", 253, 94107);
364
+ INSERT INTO weather VALUES ("9/30/2013", 73, 66, 59, 60, 57, 43, 87, 69, 51, 30.07, 30.03, 29.98, 10, 10, 10, 22, 10, 26, "t", 4, "fog", 264, 94107);
365
+ INSERT INTO weather VALUES ("10/1/2013", 69, 63, 56, 50, 48, 46, 77, 61, 45, 30.03, 29.98, 29.94, 10, 10, 10, 22, 13, 26, 0, 3, "", 273, 94107);
366
+ INSERT INTO weather VALUES ("10/2/2013", 69, 62, 54, 49, 46, 44, 77, 61, 45, 30.02, 29.98, 29.94, 10, 10, 10, 29, 14, 35, 0, 2, "", 280, 94107);
367
+ INSERT INTO weather VALUES ("10/3/2013", 70, 62, 54, 44, 41, 35, 66, 47, 28, 30.09, 30.02, 29.96, 10, 10, 10, 25, 13, 30, 0, 0, "", 294, 94107);
368
+ INSERT INTO weather VALUES ("10/4/2013", 76, 69, 61, 51, 42, 28, 53, 38, 22, 30.1, 30.05, 29.98, 10, 10, 10, 22, 9, 25, 0, 0, "", 13, 94107);
369
+ INSERT INTO weather VALUES ("10/5/2013", 80, 69, 57, 52, 36, 24, 56, 36, 15, 30.2, 30.14, 30.1, 10, 10, 10, 12, 5, 13, 0, 0, "", 122, 94107);
370
+ INSERT INTO weather VALUES ("10/6/2013", 83, 70, 56, 52, 44, 27, 66, 40, 13, 30.13, 30.07, 30, 10, 10, 10, 14, 5, 15, 0.01, 4, "", 345, 94107);
371
+ INSERT INTO weather VALUES ("10/7/2013", 80, 68, 56, 49, 41, 31, 72, 46, 19, 30, 29.95, 29.89, 10, 10, 10, 28, 9, 31, 0, 3, "", 295, 94107);
372
+ INSERT INTO weather VALUES ("10/8/2013", 72, 62, 52, 50, 47, 44, 77, 59, 41, 29.92, 29.84, 29.74, 10, 10, 10, 20, 10, 24, 0, 2, "", 278, 94107);
373
+ INSERT INTO weather VALUES ("10/9/2013", 68, 60, 52, 48, 45, 39, 83, 60, 37, 29.77, 29.69, 29.64, 10, 10, 10, 17, 8, 21, 0, 2, "", 286, 94107);
374
+ INSERT INTO weather VALUES ("10/10/2013", 70, 62, 53, 52, 47, 43, 77, 61, 45, 30.02, 29.91, 29.77, 10, 10, 10, 13, 5, 15, 0, 1, "", 302, 94107);
375
+ INSERT INTO weather VALUES ("10/11/2013", 63, 57, 51, 49, 47, 45, 83, 70, 56, 30.09, 30.04, 30, 10, 10, 10, 25, 9, 30, 0, 4, "", 275, 94107);
376
+ INSERT INTO weather VALUES ("10/12/2013", 64, 56, 47, 50, 46, 42, 89, 71, 53, 30.02, 29.98, 29.91, 10, 8, 0, 32, 13, 40, 0, 3, "fog", 252, 94107);
377
+ INSERT INTO weather VALUES ("10/13/2013", 73, 62, 51, 51, 47, 40, 89, 60, 31, 30.07, 30.01, 29.94, 10, 10, 10, 22, 7, 26, 0, 1, "", 286, 94107);
378
+ INSERT INTO weather VALUES ("10/14/2013", 77, 64, 51, 50, 41, 36, 71, 49, 27, 30.12, 30.06, 30.01, 10, 10, 10, 18, 5, "", 0, 0, "", 272, 94107);
379
+ INSERT INTO weather VALUES ("10/15/2013", 80, 67, 53, 50, 37, 31, 61, 40, 18, 30.05, 30.01, 29.96, 10, 10, 10, 21, 5, 22, 0, 0, "", 294, 94107);
380
+ INSERT INTO weather VALUES ("10/16/2013", 80, 67, 53, 54, 42, 32, 63, 41, 19, 30.09, 30.05, 30, 10, 10, 10, 13, 4, 14, 0, 1, "", 305, 94107);
381
+ INSERT INTO weather VALUES ("10/17/2013", 81, 68, 54, 53, 45, 35, 72, 56, 39, 30.09, 30.03, 29.97, 10, 10, 10, 20, 7, 24, 0, 0, "", 306, 94107);
382
+ INSERT INTO weather VALUES ("10/18/2013", 68, 60, 51, 52, 48, 46, 83, 66, 48, 30.06, 30.02, 29.99, 10, 10, 10, 23, 10, 25, 0, 1, "", 294, 94107);
383
+ INSERT INTO weather VALUES ("10/19/2013", 74, 62, 49, 52, 48, 45, 86, 65, 44, 30.09, 30.04, 30, 10, 10, 10, 21, 9, 23, 0, 0, "", 301, 94107);
384
+ INSERT INTO weather VALUES ("10/20/2013", 64, 57, 49, 52, 47, 45, 93, 77, 60, 30.03, 29.99, 29.92, 10, 8, 0, 22, 11, 26, 0, 2, "fog", 290, 94107);
385
+ INSERT INTO weather VALUES ("10/21/2013", 61, 55, 48, 50, 47, 45, 93, 80, 67, 30.03, 29.98, 29.93, 10, 10, 7, 21, 9, 25, 0, 3, "", 284, 94107);
386
+ INSERT INTO weather VALUES ("10/22/2013", 64, 56, 47, 51, 48, 46, 100, 82, 64, 30.03, 29.99, 29.93, 10, 5, 0, 21, 10, 25, 0, 5, "fog", 281, 94107);
387
+ INSERT INTO weather VALUES ("10/23/2013", 61, 55, 49, 51, 48, 46, 93, 83, 72, 30, 29.96, 29.91, 10, 7, 2, 23, 9, 28, 0, 6, "fog", 282, 94107);
388
+ INSERT INTO weather VALUES ("10/24/2013", 60, 57, 53, 48, 47, 45, 83, 73, 62, 30.12, 30.05, 29.99, 10, 10, 8, 15, 9, 20, 0, 6, "", 269, 94107);
389
+ INSERT INTO weather VALUES ("10/25/2013", 67, 59, 50, 50, 47, 45, 86, 69, 52, 30.18, 30.13, 30.09, 10, 10, 10, 21, 9, 24, 0, 4, "", 263, 94107);
390
+ INSERT INTO weather VALUES ("10/26/2013", 70, 60, 49, 53, 48, 43, 89, 67, 44, 30.15, 30.09, 30.02, 10, 10, 10, 22, 9, 25, 0, 1, "fog", 292, 94107);
391
+ INSERT INTO weather VALUES ("10/27/2013", 60, 55, 50, 49, 47, 45, 89, 76, 62, 30.04, 29.9, 29.69, 10, 10, 10, 43, 18, 51, "t", 6, "rain", 267, 94107);
392
+ INSERT INTO weather VALUES ("10/28/2013", 61, 57, 52, 48, 46, 44, 83, 69, 55, 29.86, 29.75, 29.69, 10, 10, 10, 36, 15, 43, 0, 5, "", 263, 94107);
393
+ INSERT INTO weather VALUES ("10/29/2013", 63, 58, 52, 48, 45, 42, 83, 66, 48, 30.06, 29.97, 29.87, 10, 10, 10, 17, 7, 21, 0, 4, "", 256, 94107);
394
+ INSERT INTO weather VALUES ("10/30/2013", 65, 57, 48, 50, 45, 42, 83, 66, 48, 30.16, 30.11, 30.07, 10, 10, 10, 18, 7, 22, 0, 2, "", 286, 94107);
395
+ INSERT INTO weather VALUES ("10/31/2013", 70, 59, 48, 51, 43, 38, 71, 54, 37, 30.19, 30.13, 30.08, 10, 10, 10, 14, 4, "", 0, 0, "", 300, 94107);
396
+ INSERT INTO weather VALUES ("11/1/2013", 74, 63, 51, 53, 45, 41, 77, 57, 37, 30.14, 30.08, 30.01, 10, 10, 10, 15, 4, 18, 0, 0, "", 315, 94107);
397
+ INSERT INTO weather VALUES ("11/2/2013", 63, 57, 50, 51, 47, 41, 89, 73, 56, 30.03, 29.99, 29.93, 10, 9, 2, 28, 13, 33, 0, 3, "", 284, 94107);
398
+ INSERT INTO weather VALUES ("11/3/2013", 63, 55, 47, 45, 41, 34, 77, 56, 34, 30.06, 29.99, 29.94, 10, 10, 10, 22, 9, 24, 0, 4, "", 277, 94107);
399
+ INSERT INTO weather VALUES ("11/4/2013", 67, 56, 44, 43, 39, 32, 80, 56, 31, 30.07, 30, 29.94, 10, 10, 10, 23, 9, 28, 0, 0, "", 286, 94107);
400
+ INSERT INTO weather VALUES ("11/5/2013", 71, 61, 50, 45, 38, 29, 66, 44, 22, 30.22, 30.16, 30.08, 10, 10, 10, 15, 4, 17, 0, 1, "", 279, 94107);
401
+ INSERT INTO weather VALUES ("11/6/2013", 70, 61, 51, 49, 42, 36, 72, 52, 31, 30.26, 30.21, 30.16, 10, 10, 9, 5, 0, 6, 0, 5, "", 68, 94107);
402
+ INSERT INTO weather VALUES ("11/7/2013", 71, 64, 56, 51, 46, 40, 80, 61, 42, 30.18, 30.13, 30.09, 10, 10, 9, 22, 8, 26, 0, 4, "", 284, 94107);
403
+ INSERT INTO weather VALUES ("11/8/2013", 70, 60, 50, 53, 48, 40, 100, 72, 43, 30.1, 30.05, 29.98, 10, 7, 0, 24, 8, 26, 0, 2, "fog", 269, 94107);
404
+ INSERT INTO weather VALUES ("11/9/2013", 66, 57, 48, 53, 47, 40, 80, 64, 48, 30.05, 30.01, 29.97, 10, 10, 9, 12, 3, 14, 0, 1, "", 334, 94107);
405
+ INSERT INTO weather VALUES ("11/10/2013", 64, 58, 51, 51, 48, 45, 83, 72, 60, 30.13, 30.09, 30.04, 10, 10, 9, 13, 5, 16, 0, 3, "", 269, 94107);
406
+ INSERT INTO weather VALUES ("11/11/2013", 62, 58, 54, 51, 49, 46, 83, 72, 60, 30.17, 30.13, 30.09, 10, 9, 6, 12, 5, 15, 0, 7, "", 76, 94107);
407
+ INSERT INTO weather VALUES ("11/12/2013", 70, 64, 57, 53, 50, 46, 77, 62, 47, 30.27, 30.23, 30.17, 10, 10, 10, 18, 7, 22, "t", 4, "", 312, 94107);
408
+ INSERT INTO weather VALUES ("11/13/2013", 68, 60, 52, 55, 51, 47, 93, 77, 60, 30.25, 30.18, 30.12, 10, 10, 9, 23, 8, 26, 0, 3, "fog", 303, 94107);
409
+ INSERT INTO weather VALUES ("11/14/2013", 61, 56, 51, 52, 49, 45, 96, 84, 71, 30.13, 30.03, 29.9, 10, 10, 8, 29, 13, 37, 0, 5, "", 266, 94107);
410
+ INSERT INTO weather VALUES ("11/15/2013", 65, 58, 50, 46, 44, 41, 83, 66, 48, 29.89, 29.82, 29.76, 10, 10, 10, 35, 12, 40, 0, 1, "", 268, 94107);
411
+ INSERT INTO weather VALUES ("11/16/2013", 62, 56, 49, 50, 46, 42, 83, 67, 51, 29.94, 29.86, 29.79, 10, 10, 10, 26, 14, 35, 0, 2, "", 273, 94107);
412
+ INSERT INTO weather VALUES ("11/17/2013", 63, 56, 49, 49, 45, 42, 89, 69, 48, 30.1, 30.03, 29.94, 10, 10, 10, 13, 6, 16, 0, 4, "", 245, 94107);
413
+ INSERT INTO weather VALUES ("11/18/2013", 60, 53, 46, 46, 44, 40, 82, 69, 55, 30.16, 30.12, 30.1, 10, 10, 10, 15, 5, 18, 0, 5, "", 199, 94107);
414
+ INSERT INTO weather VALUES ("11/19/2013", 61, 58, 54, 55, 50, 45, 93, 80, 66, 30.1, 30.03, 29.95, 10, 9, 6, 14, 7, 16, 0.28, 7, "rain", 131, 94107);
415
+ INSERT INTO weather VALUES ("11/20/2013", 59, 55, 51, 56, 53, 47, 93, 90, 86, 29.94, 29.9, 29.85, 10, 9, 4, 22, 7, 24, 0.63, 7, "rain", 239, 94107);
416
+ INSERT INTO weather VALUES ("11/21/2013", 62, 56, 50, 49, 42, 32, 93, 64, 35, 29.99, 29.94, 29.91, 10, 10, 9, 32, 11, 39, "t", 5, "rain", 349, 94107);
417
+ INSERT INTO weather VALUES ("11/22/2013", 69, 63, 57, 39, 32, 25, 40, 30, 19, 30.03, 29.97, 29.91, 10, 10, 10, 26, 14, 32, 0, 1, "", 47, 94107);
418
+ INSERT INTO weather VALUES ("11/23/2013", 65, 58, 50, 45, 38, 31, 71, 50, 28, 30.11, 30.04, 29.97, 10, 10, 10, 22, 5, 32, 0, 0, "", 79, 94107);
419
+ INSERT INTO weather VALUES ("11/24/2013", 60, 53, 45, 49, 43, 39, 86, 70, 53, 30.26, 30.19, 30.12, 10, 10, 10, 9, 3, 10, 0, 0, "", 319, 94107);
420
+ INSERT INTO weather VALUES ("11/25/2013", 61, 53, 44, 46, 43, 38, 86, 70, 53, 30.33, 30.28, 30.25, 10, 10, 9, 7, 2, 10, 0, 1, "", 180, 94107);
421
+ INSERT INTO weather VALUES ("11/26/2013", 62, 55, 47, 47, 44, 39, 86, 65, 43, 30.27, 30.16, 30.04, 10, 9, 6, 7, 2, 8, 0, 5, "", 100, 94107);
422
+ INSERT INTO weather VALUES ("11/27/2013", 62, 55, 48, 49, 45, 41, 86, 69, 52, 30.03, 29.92, 29.85, 10, 9, 7, 7, 1, 7, 0, 5, "", 137, 94107);
423
+ INSERT INTO weather VALUES ("11/28/2013", 66, 58, 49, 51, 44, 37, 83, 64, 44, 30.08, 29.96, 29.88, 10, 9, 7, 16, 4, 18, 0, 3, "", 280, 94107);
424
+ INSERT INTO weather VALUES ("11/29/2013", 62, 54, 46, 51, 45, 38, 77, 70, 63, 30.22, 30.15, 30.09, 10, 10, 9, 24, 3, 28, 0, 0, "fog", 316, 94107);
425
+ INSERT INTO weather VALUES ("11/30/2013", 63, 54, 45, 51, 47, 41, 93, 79, 65, 30.28, 30.25, 30.19, 10, 6, 0, 15, 4, 20, 0, 3, "fog", 303, 94107);
426
+ INSERT INTO weather VALUES ("12/1/2013", 67, 57, 46, 50, 46, 41, 86, 66, 46, 30.35, 30.27, 30.22, 10, 10, 9, 14, 4, 16, 0, 1, "", 308, 94107);
427
+ INSERT INTO weather VALUES ("12/2/2013", 62, 54, 46, 54, 49, 44, 96, 80, 64, 30.22, 30.1, 29.99, 10, 8, 0, 33, 14, 38, "t", 5, "fog-rain", 277, 94107);
428
+ INSERT INTO weather VALUES ("12/3/2013", 56, 51, 46, 54, 38, 25, 93, 69, 45, 29.98, 29.92, 29.87, 10, 10, 4, 24, 14, 31, 0, 4, "", 285, 94107);
429
+ INSERT INTO weather VALUES ("12/4/2013", 52, 46, 39, 31, 26, 21, 62, 46, 30, 30.09, 30.04, 29.96, 10, 10, 10, 14, 5, 16, 0, 0, "", 309, 94107);
430
+ INSERT INTO weather VALUES ("12/5/2013", 51, 43, 35, 31, 24, 18, 64, 45, 26, 30.18, 30.14, 30.09, 10, 10, 10, 12, 4, 14, 0, 0, "", 196, 94107);
431
+ INSERT INTO weather VALUES ("12/6/2013", 53, 45, 37, 48, 37, 31, 80, 65, 50, 30.19, 30.1, 29.94, 10, 10, 6, 30, 9, 43, 0.29, 6, "rain", 180, 94107);
432
+
433
+
434
+ COMMIT;
all/databases/bike_1/bike_1.sqlite ADDED
Binary file (53.2 kB). View file
 
all/databases/browser_web/browser_web.sql ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CREATE TABLE "web_client_accelerator" (
2
+ "id" integer,
3
+ "name" text,
4
+ "operating_system" text,
5
+ "client" text,
6
+ "connection" text
7
+ );
8
+
9
+ INSERT INTO web_client_accelerator VALUES (1, "cachebox", "appliance linux", "end user isp", "broadband satellite wireless fiber dsl");
10
+ INSERT INTO web_client_accelerator VALUES (2, "cproxy", "windows", "user", "up to 756kbit/s");
11
+ INSERT INTO web_client_accelerator VALUES (3, "fasterfox", "windows mac linux and mobile devices", "user", "dialup wireless broadband dsl");
12
+ INSERT INTO web_client_accelerator VALUES (4, "fastun", "any", "all", "any");
13
+ INSERT INTO web_client_accelerator VALUES (5, "freewire", "windows except nt and 95", "isp", "dial-up");
14
+ INSERT INTO web_client_accelerator VALUES (6, "google web accelerator discontinued", "windows", "user/google server", "broadband");
15
+ INSERT INTO web_client_accelerator VALUES (7, "heigh speed", "windows", "all", "any");
16
+ INSERT INTO web_client_accelerator VALUES (8, "netfury", "windows mac", "end user isp", "dial-up broadband dsl isdn satellite wireless");
17
+ INSERT INTO web_client_accelerator VALUES (9, "nitro", "windows mac", "end user isp", "dial-up broadband dsl isdn satellite wireless");
18
+ INSERT INTO web_client_accelerator VALUES (10, "onspeed", "windows mac and mobile devices", "user", "dialup wireless broadband dsl");
19
+ INSERT INTO web_client_accelerator VALUES (11, "opera turbo", "android linux mac and windows devices", "user/opera server", "any");
20
+ INSERT INTO web_client_accelerator VALUES (12, "polipo", "unix linux *bsd mac os x others windows", "user/isp", "any");
21
+ INSERT INTO web_client_accelerator VALUES (13, "propel", "windows mac", "end user isp", "dial dsl isdn satellite wireless");
22
+ INSERT INTO web_client_accelerator VALUES (14, "proxyconn web accelerator", "windows mac mobile devices", "user", "dialup wireless broadband dsl");
23
+ INSERT INTO web_client_accelerator VALUES (15, "rabbit", "any system with java 1.6 vm available", "isp", "any");
24
+ INSERT INTO web_client_accelerator VALUES (16, "squid", "unix linux *bsd mac os x others windows", "user/isp", "any");
25
+ INSERT INTO web_client_accelerator VALUES (17, "toonel", "windows linux mac os symbian windowsmobile", "user/isp", "any");
26
+ INSERT INTO web_client_accelerator VALUES (18, "wingate", "windows 2000 onwards", "all", "any");
27
+ INSERT INTO web_client_accelerator VALUES (19, "ziproxy", "unix linux *bsd mac os x others", "isp", "any");
28
+
29
+ CREATE TABLE "browser" (
30
+ "id" integer,
31
+ "name" text,
32
+ "market_share" real
33
+ );
34
+
35
+ INSERT INTO browser VALUES (1, "internet explorer", 28.96);
36
+ INSERT INTO browser VALUES (2, "firefox", 18.11);
37
+ INSERT INTO browser VALUES (3, "safari", 8.54);
38
+ INSERT INTO browser VALUES (4, "opera", 1.2);
39
+
40
+ CREATE TABLE "accelerator_compatible_browser" (
41
+ "accelerator_id" integer,
42
+ "browser_id" integer,
43
+ "compatible_since_year" integer
44
+ );
45
+
46
+ INSERT INTO accelerator_compatible_browser VALUES (1, 1, 1995);
47
+ INSERT INTO accelerator_compatible_browser VALUES (1, 2, 1996);
48
+ INSERT INTO accelerator_compatible_browser VALUES (2, 3, 1996);
49
+ INSERT INTO accelerator_compatible_browser VALUES (2, 4, 2000);
50
+ INSERT INTO accelerator_compatible_browser VALUES (3, 1, 2005);
51
+ INSERT INTO accelerator_compatible_browser VALUES (3, 2, 2007);
52
+ INSERT INTO accelerator_compatible_browser VALUES (3, 3, 2008);
53
+ INSERT INTO accelerator_compatible_browser VALUES (4, 4, 2009);
54
+ INSERT INTO accelerator_compatible_browser VALUES (9, 1, 2010);
55
+
56
+
57
+ COMMIT;
all/databases/browser_web/browser_web.sqlite ADDED
Binary file (16.4 kB). View file
 
all/databases/candidate_poll/candidate_poll.sql ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CREATE TABLE "candidate" (
2
+ "candidate_id" integer,
3
+ "people_id" integer,
4
+ "poll_source" text,
5
+ "date" text,
6
+ "support_rate" real,
7
+ "consider_rate" real,
8
+ "oppose_rate" real,
9
+ "unsure_rate" real
10
+ );
11
+
12
+ INSERT INTO candidate VALUES (1, 1, "wnbc/marist poll", "feb 12–15 2007", 0.25, 0.3, 0.43, 0.2);
13
+ INSERT INTO candidate VALUES (2, 3, "wnbc/marist poll", "feb 12–15 2007", 0.17, 0.42, 0.32, 0.9);
14
+ INSERT INTO candidate VALUES (3, 4, "fox news/opinion dynamics poll", "feb 13–14 2007", 0.18, 0.34, 0.44, 0.3);
15
+ INSERT INTO candidate VALUES (4, 6, "newsweek poll", "nov 9–10 2006", 0.33, 0.2, 0.45, 0.2);
16
+ INSERT INTO candidate VALUES (5, 7, "newsweek poll", "nov 9–10 2006", 0.24, 0.3, 0.32, 0.4);
17
+ INSERT INTO candidate VALUES (6, 9, "newsweek poll", "nov 9–10 2006", 0.24, 0.27, 0.43, 0.2);
18
+
19
+ CREATE TABLE "people" (
20
+ "people_id" integer,
21
+ "sex" text,
22
+ "name" text,
23
+ "date_of_birth" text,
24
+ "height" real,
25
+ "weight" real
26
+ );
27
+
28
+ INSERT INTO people VALUES (1, "m", "hubert henno", "06.10.1976", 188.0, 83.0);
29
+ INSERT INTO people VALUES (2, "m", "dominique daquin", "10.11.1972", 197.0, 85.0);
30
+ INSERT INTO people VALUES (3, "f", "stéphane antiga", "03.02.1976", 200.0, 94.0);
31
+ INSERT INTO people VALUES (4, "m", "laurent capet", "05.05.1972", 202.0, 92.0);
32
+ INSERT INTO people VALUES (5, "f", "frantz granvorka", "10.03.1976", 195.0, 90.0);
33
+ INSERT INTO people VALUES (6, "m", "vincent montméat", "01.09.1977", 196.0, 88.0);
34
+ INSERT INTO people VALUES (7, "m", "loïc de kergret", "20.08.1970", 193.0, 89.0);
35
+ INSERT INTO people VALUES (8, "m", "philippe barça-cysique", "22.04.1977", 194.0, 88.0);
36
+ INSERT INTO people VALUES (9, "m", "guillaume samica", "28.09.1981", 196.0, 82.0);
37
+
38
+
39
+ COMMIT;
all/databases/candidate_poll/candidate_poll.sqlite ADDED
Binary file (12.3 kB). View file
 
all/databases/car_1_minus_1_0/car_1_minus_1_0.sql ADDED
@@ -0,0 +1,308 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ create table car_makers (
2
+ id integer,
3
+ maker text,
4
+ fullname text,
5
+ country text
6
+ );
7
+ insert into car_makers values(1, 'amc', 'american motor company', 1);
8
+ insert into car_makers values(2, 'volkswagen', 'volkswagen', 2);
9
+ insert into car_makers values(3, 'bmw', 'bmw', 2);
10
+ insert into car_makers values(4, 'gm', 'general motors', 1);
11
+ insert into car_makers values(5, 'ford', 'ford motor company', 1);
12
+ insert into car_makers values(6, 'chrysler', 'chrysler', 1);
13
+ insert into car_makers values(7, 'citroen', 'citroen', 3);
14
+ insert into car_makers values(8, 'nissan', 'nissan motors', 4);
15
+ insert into car_makers values(9, 'fiat', 'fiat', 5);
16
+ insert into car_makers values(11, 'honda', 'honda', 4);
17
+ insert into car_makers values(12, 'mazda', 'mazda', 4);
18
+ insert into car_makers values(13, 'daimler benz', 'daimler benz', 2);
19
+ insert into car_makers values(14, 'opel', 'opel', 2);
20
+ insert into car_makers values(15, 'peugeaut', 'peugeaut', 3);
21
+ insert into car_makers values(16, 'renault', 'renault', 3);
22
+ insert into car_makers values(17, 'saab', 'saab', 6);
23
+ insert into car_makers values(18, 'subaru', 'subaru', 4);
24
+ insert into car_makers values(19, 'toyota', 'toyota', 4);
25
+ insert into car_makers values(20, 'triumph', 'triumph', 7);
26
+ insert into car_makers values(21, 'volvo', 'volvo', 6);
27
+ insert into car_makers values(22, 'kia', 'kia motors', 8);
28
+ insert into car_makers values(23, 'hyundai', 'hyundai', 8);
29
+
30
+ create table model_list (
31
+ modelid integer,
32
+ maker integer,
33
+ model text
34
+ );
35
+ insert into model_list values(1, 1, 'amc');
36
+ insert into model_list values(2, 2, 'audi');
37
+ insert into model_list values(3, 3, 'bmw');
38
+ insert into model_list values(4, 4, 'buick');
39
+ insert into model_list values(5, 4, 'cadillac');
40
+ insert into model_list values(6, 5, 'capri');
41
+ insert into model_list values(7, 4, 'chevrolet');
42
+ insert into model_list values(8, 6, 'chrysler');
43
+ insert into model_list values(9, 7, 'citroen');
44
+ insert into model_list values(10, 8, 'datsun');
45
+ insert into model_list values(11, 6, 'dodge');
46
+ insert into model_list values(12, 9, 'fiat');
47
+ insert into model_list values(13, 5, 'ford');
48
+ insert into model_list values(14, 10, 'hi');
49
+ insert into model_list values(15, 11, 'honda');
50
+ insert into model_list values(34, 12, 'hyundai');
51
+ insert into model_list values(35, 13, 'jeep');
52
+ insert into model_list values(33, 13, 'kia');
53
+ insert into model_list values(16, 5, 'mazda');
54
+ insert into model_list values(17, 8, 'mercedes');
55
+ insert into model_list values(18, 4, 'mercedes-benz');
56
+ insert into model_list values(19, 14, 'mercury');
57
+ insert into model_list values(20, 15, 'nissan');
58
+ insert into model_list values(21, 6, 'oldsmobile');
59
+ insert into model_list values(22, 4, 'opel');
60
+ insert into model_list values(23, 16, 'peugeot');
61
+ insert into model_list values(24, 17, 'plymouth');
62
+ insert into model_list values(25, 18, 'pontiac');
63
+ insert into model_list values(26, 19, 'renault');
64
+ insert into model_list values(27, 20, 'saab');
65
+ insert into model_list values(36, 2, 'scion');
66
+ insert into model_list values(28, 21, 'subaru');
67
+ insert into model_list values(29, 22, 'toyota');
68
+ insert into model_list values(30, 23, 'triumph');
69
+ insert into model_list values(31, 6, 'volkswagen');
70
+ insert into model_list values(32, 19, 'volvo');
71
+
72
+ create table car_names (
73
+ makeid integer,
74
+ model text,
75
+ make text
76
+ );
77
+ insert into car_names values(1, 'chevrolet', 'chevrolet chevelle malibu');
78
+ insert into car_names values(2, 'buick', 'buick skylark 320');
79
+ insert into car_names values(3, 'plymouth', 'plymouth satellite');
80
+ insert into car_names values(4, 'amc', 'amc rebel sst');
81
+ insert into car_names values(5, 'ford', 'ford torino');
82
+ insert into car_names values(6, 'ford', 'ford galaxie 500');
83
+ insert into car_names values(7, 'chevrolet', 'chevrolet impala');
84
+ insert into car_names values(8, 'plymouth', 'plymouth fury iii');
85
+ insert into car_names values(9, 'pontiac', 'pontiac catalina');
86
+ insert into car_names values(10, 'amc', 'amc ambassador dpl');
87
+ insert into car_names values(11, 'citroen', 'citroen ds-21 pallas');
88
+ insert into car_names values(12, 'chevrolet', 'chevrolet chevelle concours sw');
89
+ insert into car_names values(13, 'ford', 'ford torino sw');
90
+ insert into car_names values(14, 'plymouth', 'plymouth satellite sw');
91
+ insert into car_names values(15, 'amc', 'amc rebel sst sw');
92
+ insert into car_names values(16, 'dodge', 'dodge challenger se');
93
+ insert into car_names values(17, 'plymouth', 'plymouth cuda 340');
94
+ insert into car_names values(18, 'ford', 'ford mustang boss 302');
95
+ insert into car_names values(19, 'chevrolet', 'chevrolet monte carlo');
96
+ insert into car_names values(20, 'buick', 'buick estate wagon sw');
97
+ insert into car_names values(21, 'toyota', 'toyota corona mark ii');
98
+ insert into car_names values(22, 'plymouth', 'plymouth duster');
99
+ insert into car_names values(23, 'amc', 'amc hornet');
100
+ insert into car_names values(24, 'ford', 'ford maverick');
101
+ insert into car_names values(25, 'datsun', 'datsun pl510');
102
+ insert into car_names values(26, 'volkswagen', 'volkswagen 1131 deluxe sedan');
103
+ insert into car_names values(27, 'peugeot', 'peugeot 504');
104
+ insert into car_names values(28, 'audi', 'audi 100 ls');
105
+ insert into car_names values(29, 'saab', 'saab 99e');
106
+ insert into car_names values(30, 'bmw', 'bmw 2002');
107
+ insert into car_names values(31, 'amc', 'amc gremlin');
108
+ insert into car_names values(32, 'ford', 'ford f250');
109
+ insert into car_names values(33, 'chevrolet', 'chevy c20');
110
+ insert into car_names values(34, 'dodge', 'dodge d200');
111
+ insert into car_names values(35, 'hi', 'hi 1200d');
112
+ insert into car_names values(36, 'datsun', 'datsun pl510');
113
+ insert into car_names values(37, 'chevrolet', 'chevrolet vega 2300');
114
+ insert into car_names values(38, 'toyota', 'toyota corona');
115
+ insert into car_names values(39, 'ford', 'ford pinto');
116
+ insert into car_names values(40, 'volkswagen', 'volkswagen super beetle 117');
117
+ insert into car_names values(41, 'amc', 'amc gremlin');
118
+ insert into car_names values(42, 'plymouth', 'plymouth satellite custom');
119
+ insert into car_names values(43, 'chevrolet', 'chevrolet chevelle malibu');
120
+ insert into car_names values(44, 'ford', 'ford torino 500');
121
+ insert into car_names values(45, 'amc', 'amc matador');
122
+ insert into car_names values(46, 'chevrolet', 'chevrolet impala');
123
+ insert into car_names values(47, 'pontiac', 'pontiac catalina brougham');
124
+ insert into car_names values(48, 'ford', 'ford galaxie 500');
125
+ insert into car_names values(49, 'plymouth', 'plymouth fury iii');
126
+ insert into car_names values(50, 'dodge', 'dodge monaco sw');
127
+ insert into car_names values(51, 'ford', 'ford country squire sw');
128
+ insert into car_names values(52, 'pontiac', 'pontiac safari sw');
129
+ insert into car_names values(53, 'amc', 'amc hornet sportabout sw');
130
+ insert into car_names values(54, 'chevrolet', 'chevrolet vega sw');
131
+ insert into car_names values(55, 'pontiac', 'pontiac firebird');
132
+ insert into car_names values(56, 'ford', 'ford mustang');
133
+ insert into car_names values(57, 'mercury', 'mercury capri 2000');
134
+ insert into car_names values(58, 'opel', 'opel 1900');
135
+ insert into car_names values(59, 'peugeot', 'peugeot 304');
136
+ insert into car_names values(60, 'fiat', 'fiat 124b');
137
+ insert into car_names values(61, 'toyota', 'toyota corolla 1200');
138
+ insert into car_names values(62, 'datsun', 'datsun 1200');
139
+ insert into car_names values(63, 'volkswagen', 'volkswagen model 111');
140
+ insert into car_names values(64, 'plymouth', 'plymouth cricket');
141
+ insert into car_names values(65, 'toyota', 'toyota corona hardtop');
142
+ insert into car_names values(66, 'dodge', 'dodge colt hardtop');
143
+ insert into car_names values(67, 'volkswagen', 'volkswagen type 3');
144
+ insert into car_names values(68, 'chevrolet', 'chevrolet vega');
145
+ insert into car_names values(69, 'ford', 'ford pinto runabout');
146
+ insert into car_names values(70, 'chevrolet', 'chevrolet impala');
147
+ insert into car_names values(71, 'pontiac', 'pontiac catalina');
148
+ insert into car_names values(72, 'plymouth', 'plymouth fury iii');
149
+ insert into car_names values(73, 'ford', 'ford galaxie 500');
150
+ insert into car_names values(74, 'amc', 'amc ambassador sst');
151
+ insert into car_names values(75, 'mercury', 'mercury marquis');
152
+ insert into car_names values(76, 'buick', 'buick lesabre custom');
153
+ insert into car_names values(77, 'oldsmobile', 'oldsmobile delta 88 royale');
154
+ insert into car_names values(78, 'chrysler', 'chrysler newport royal');
155
+ insert into car_names values(79, 'mazda', 'mazda rx2 coupe');
156
+ insert into car_names values(80, 'amc', 'amc matador sw');
157
+ insert into car_names values(81, 'chevrolet', 'chevrolet chevelle concours sw');
158
+ insert into car_names values(82, 'ford', 'ford gran torino sw');
159
+ insert into car_names values(83, 'plymouth', 'plymouth satellite custom sw');
160
+ insert into car_names values(84, 'volvo', 'volvo 145e sw');
161
+ insert into car_names values(85, 'volkswagen', 'volkswagen 411 sw');
162
+ insert into car_names values(86, 'peugeot', 'peugeot 504 sw');
163
+ insert into car_names values(87, 'renault', 'renault 12 sw');
164
+ insert into car_names values(88, 'ford', 'ford pinto sw');
165
+ insert into car_names values(89, 'datsun', 'datsun 510 sw');
166
+ insert into car_names values(90, 'toyota', 'toyota corona mark ii sw');
167
+ insert into car_names values(91, 'dodge', 'dodge colt sw');
168
+ insert into car_names values(92, 'toyota', 'toyota corolla 1600 sw');
169
+ insert into car_names values(93, 'buick', 'buick century 350');
170
+ insert into car_names values(94, 'amc', 'amc matador');
171
+ insert into car_names values(95, 'chevrolet', 'chevrolet malibu');
172
+ insert into car_names values(96, 'ford', 'ford gran torino');
173
+ insert into car_names values(97, 'dodge', 'dodge coronet custom');
174
+ insert into car_names values(98, 'mercury', 'mercury marquis brougham');
175
+ insert into car_names values(99, 'chevrolet', 'chevrolet caprice classic');
176
+ insert into car_names values(100, 'ford', 'ford ltd');
177
+
178
+ create table cars_data (
179
+ id integer,
180
+ mpg text,
181
+ cylinders integer,
182
+ edispl real,
183
+ horsepower text,
184
+ weight integer,
185
+ accelerate real,
186
+ year integer
187
+ );
188
+ insert into cars_data values(1, 18, 8, 307.0, 130, 3504, 12.0, 1970);
189
+ insert into cars_data values(2, 15, 8, 350.0, 165, 3693, 11.5, 1970);
190
+ insert into cars_data values(3, 18, 8, 318.0, 150, 3436, 11.0, 1970);
191
+ insert into cars_data values(4, 16, 8, 304.0, 150, 3433, 12.0, 1970);
192
+ insert into cars_data values(5, 17, 8, 302.0, 140, 3449, 10.5, 1970);
193
+ insert into cars_data values(6, 15, 8, 429.0, 198, 4341, 10.0, 1970);
194
+ insert into cars_data values(7, 14, 8, 454.0, 220, 4354, 9.0, 1970);
195
+ insert into cars_data values(8, 14, 8, 440.0, 215, 4312, 8.5, 1970);
196
+ insert into cars_data values(9, 14, 8, 455.0, 225, 4425, 10.0, 1970);
197
+ insert into cars_data values(10, 15, 8, 390.0, 190, 3850, 8.5, 1970);
198
+ insert into cars_data values(11, 'null', 4, 133.0, 115, 3090, 17.5, 1970);
199
+ insert into cars_data values(12, 'null', 8, 350.0, 165, 4142, 11.5, 1970);
200
+ insert into cars_data values(13, 'null', 8, 351.0, 153, 4034, 11.0, 1970);
201
+ insert into cars_data values(14, 'null', 8, 383.0, 175, 4166, 10.5, 1970);
202
+ insert into cars_data values(15, 'null', 8, 360.0, 175, 3850, 11.0, 1970);
203
+ insert into cars_data values(16, 15, 8, 383.0, 170, 3563, 10.0, 1970);
204
+ insert into cars_data values(17, 14, 8, 340.0, 160, 3609, 8.0, 1970);
205
+ insert into cars_data values(18, 'null', 8, 302.0, 140, 3353, 8.0, 1970);
206
+ insert into cars_data values(19, 15, 8, 400.0, 150, 3761, 9.5, 1970);
207
+ insert into cars_data values(20, 14, 8, 455.0, 225, 3086, 10.0, 1970);
208
+ insert into cars_data values(21, 24, 4, 113.0, 95, 2372, 15.0, 1970);
209
+ insert into cars_data values(22, 22, 6, 198.0, 95, 2833, 15.5, 1970);
210
+ insert into cars_data values(23, 18, 6, 199.0, 97, 2774, 15.5, 1970);
211
+ insert into cars_data values(24, 21, 6, 200.0, 85, 2587, 16.0, 1970);
212
+ insert into cars_data values(25, 27, 4, 97.0, 88, 2130, 14.5, 1970);
213
+ insert into cars_data values(26, 26, 4, 97.0, 46, 1835, 20.5, 1970);
214
+ insert into cars_data values(27, 25, 4, 110.0, 87, 2672, 17.5, 1970);
215
+ insert into cars_data values(28, 24, 4, 107.0, 90, 2430, 14.5, 1970);
216
+ insert into cars_data values(29, 25, 4, 104.0, 95, 2375, 17.5, 1970);
217
+ insert into cars_data values(30, 26, 4, 121.0, 113, 2234, 12.5, 1970);
218
+ insert into cars_data values(31, 21, 6, 199.0, 90, 2648, 15.0, 1970);
219
+ insert into cars_data values(32, 10, 8, 360.0, 215, 4615, 14.0, 1970);
220
+ insert into cars_data values(33, 10, 8, 307.0, 200, 4376, 15.0, 1970);
221
+ insert into cars_data values(34, 11, 8, 318.0, 210, 4382, 13.5, 1970);
222
+ insert into cars_data values(35, 9, 8, 304.0, 193, 4732, 18.5, 1970);
223
+ insert into cars_data values(36, 27, 4, 97.0, 88, 2130, 14.5, 1971);
224
+ insert into cars_data values(37, 28, 4, 140.0, 90, 2264, 15.5, 1971);
225
+ insert into cars_data values(38, 25, 4, 113.0, 95, 2228, 14.0, 1971);
226
+ insert into cars_data values(39, 25, 4, 98.0, 'null', 2046, 19.0, 1971);
227
+ insert into cars_data values(40, 'null', 4, 97.0, 48, 1978, 20.0, 1971);
228
+ insert into cars_data values(41, 19, 6, 232.0, 100, 2634, 13.0, 1971);
229
+ insert into cars_data values(42, 16, 6, 225.0, 105, 3439, 15.5, 1971);
230
+ insert into cars_data values(43, 17, 6, 250.0, 100, 3329, 15.5, 1971);
231
+ insert into cars_data values(44, 19, 6, 250.0, 88, 3302, 15.5, 1971);
232
+ insert into cars_data values(45, 18, 6, 232.0, 100, 3288, 15.5, 1971);
233
+ insert into cars_data values(46, 14, 8, 350.0, 165, 4209, 12.0, 1971);
234
+ insert into cars_data values(47, 14, 8, 400.0, 175, 4464, 11.5, 1971);
235
+ insert into cars_data values(48, 14, 8, 351.0, 153, 4154, 13.5, 1971);
236
+ insert into cars_data values(49, 14, 8, 318.0, 150, 4096, 13.0, 1971);
237
+ insert into cars_data values(50, 12, 8, 383.0, 180, 4955, 11.5, 1971);
238
+ insert into cars_data values(51, 13, 8, 400.0, 170, 4746, 12.0, 1971);
239
+ insert into cars_data values(52, 13, 8, 400.0, 175, 5140, 12.0, 1971);
240
+ insert into cars_data values(53, 18, 6, 258.0, 110, 2962, 13.5, 1971);
241
+ insert into cars_data values(54, 22, 4, 140.0, 72, 2408, 19.0, 1971);
242
+ insert into cars_data values(55, 19, 6, 250.0, 100, 3282, 15.0, 1971);
243
+ insert into cars_data values(56, 18, 6, 250.0, 88, 3139, 14.5, 1971);
244
+ insert into cars_data values(57, 23, 4, 122.0, 86, 2220, 14.0, 1971);
245
+ insert into cars_data values(58, 28, 4, 116.0, 90, 2123, 14.0, 1971);
246
+ insert into cars_data values(59, 30, 4, 79.0, 70, 2074, 19.5, 1971);
247
+ insert into cars_data values(60, 30, 4, 88.0, 76, 2065, 14.5, 1971);
248
+ insert into cars_data values(61, 31, 4, 71.0, 65, 1773, 19.0, 1971);
249
+ insert into cars_data values(62, 35, 4, 72.0, 69, 1613, 18.0, 1971);
250
+ insert into cars_data values(63, 27, 4, 97.0, 60, 1834, 19.0, 1971);
251
+ insert into cars_data values(64, 26, 4, 91.0, 70, 1955, 20.5, 1971);
252
+ insert into cars_data values(65, 24, 4, 113.0, 95, 2278, 15.5, 1972);
253
+ insert into cars_data values(66, 25, 4, 97.5, 80, 2126, 17.0, 1972);
254
+ insert into cars_data values(67, 23, 4, 97.0, 54, 2254, 23.5, 1972);
255
+ insert into cars_data values(68, 20, 4, 140.0, 90, 2408, 19.5, 1972);
256
+ insert into cars_data values(69, 21, 4, 122.0, 86, 2226, 16.5, 1972);
257
+ insert into cars_data values(70, 13, 8, 350.0, 165, 4274, 12.0, 1972);
258
+ insert into cars_data values(71, 14, 8, 400.0, 175, 4385, 12.0, 1972);
259
+ insert into cars_data values(72, 15, 8, 318.0, 150, 4135, 13.5, 1972);
260
+ insert into cars_data values(73, 14, 8, 351.0, 153, 4129, 13.0, 1972);
261
+ insert into cars_data values(74, 17, 8, 304.0, 150, 3672, 11.5, 1972);
262
+ insert into cars_data values(75, 11, 8, 429.0, 208, 4633, 11.0, 1972);
263
+ insert into cars_data values(76, 13, 8, 350.0, 155, 4502, 13.5, 1972);
264
+ insert into cars_data values(77, 12, 8, 350.0, 160, 4456, 13.5, 1972);
265
+ insert into cars_data values(78, 13, 8, 400.0, 190, 4422, 12.5, 1972);
266
+ insert into cars_data values(79, 19, 3, 70.0, 97, 2330, 13.5, 1972);
267
+ insert into cars_data values(80, 15, 8, 304.0, 150, 3892, 12.5, 1972);
268
+ insert into cars_data values(81, 13, 8, 307.0, 130, 4098, 14.0, 1972);
269
+ insert into cars_data values(82, 13, 8, 302.0, 140, 4294, 16.0, 1972);
270
+ insert into cars_data values(83, 14, 8, 318.0, 150, 4077, 14.0, 1972);
271
+ insert into cars_data values(84, 18, 4, 121.0, 112, 2933, 14.5, 1972);
272
+ insert into cars_data values(85, 22, 4, 121.0, 76, 2511, 18.0, 1972);
273
+ insert into cars_data values(86, 21, 4, 120.0, 87, 2979, 19.5, 1972);
274
+ insert into cars_data values(87, 26, 4, 96.0, 69, 2189, 18.0, 1972);
275
+ insert into cars_data values(88, 22, 4, 122.0, 86, 2395, 16.0, 1972);
276
+ insert into cars_data values(89, 28, 4, 97.0, 92, 2288, 17.0, 1972);
277
+ insert into cars_data values(90, 23, 4, 120.0, 97, 2506, 14.5, 1972);
278
+ insert into cars_data values(91, 28, 4, 98.0, 80, 2164, 15.0, 1972);
279
+ insert into cars_data values(92, 27, 4, 97.0, 88, 2100, 16.5, 1972);
280
+ insert into cars_data values(93, 13, 8, 350.0, 175, 4100, 13.0, 1973);
281
+ insert into cars_data values(94, 14, 8, 304.0, 150, 3672, 11.5, 1973);
282
+ insert into cars_data values(95, 13, 8, 350.0, 145, 3988, 13.0, 1973);
283
+ insert into cars_data values(96, 14, 8, 302.0, 137, 4042, 14.5, 1973);
284
+ insert into cars_data values(97, 15, 8, 318.0, 150, 3777, 12.5, 1973);
285
+ insert into cars_data values(98, 12, 8, 429.0, 198, 4952, 11.5, 1973);
286
+ insert into cars_data values(99, 13, 8, 400.0, 150, 4464, 12.0, 1973);
287
+ insert into cars_data values(100, 13, 8, 351.0, 158, 4363, 13.0, 1973);
288
+ create table countries_continents (
289
+ countryid integer,
290
+ countryname text,
291
+ continent integer,
292
+ continent_continents text);
293
+ insert into countries_continents values(1, 'usa', 1, 'america');
294
+ insert into countries_continents values(2, 'germany', 2, 'europe');
295
+ insert into countries_continents values(3, 'france', 2, 'europe');
296
+ insert into countries_continents values(4, 'japan', 3, 'asia');
297
+ insert into countries_continents values(5, 'italy', 2, 'europe');
298
+ insert into countries_continents values(6, 'sweden', 2, 'europe');
299
+ insert into countries_continents values(7, 'uk', 2, 'europe');
300
+ insert into countries_continents values(8, 'korea', 3, 'asia');
301
+ insert into countries_continents values(9, 'russia', 2, 'europe');
302
+ insert into countries_continents values(10, 'nigeria', 4, 'africa');
303
+ insert into countries_continents values(11, 'australia', 5, 'australia');
304
+ insert into countries_continents values(12, 'new zealand', 5, 'australia');
305
+ insert into countries_continents values(13, 'egypt', 4, 'africa');
306
+ insert into countries_continents values(14, 'mexico', 1, 'america');
307
+ insert into countries_continents values(15, 'brazil', 1, 'america');
308
+
all/databases/car_1_minus_1_0/car_1_minus_1_0.sqlite ADDED
Binary file (24.6 kB). View file
 
all/databases/car_1_minus_1_1/car_1_minus_1_1.sql ADDED
@@ -0,0 +1,291 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ create table continents (
2
+ contid integer,
3
+ continent text
4
+ );
5
+ insert into continents values(1, 'america');
6
+ insert into continents values(2, 'europe');
7
+ insert into continents values(3, 'asia');
8
+ insert into continents values(4, 'africa');
9
+ insert into continents values(5, 'australia');
10
+
11
+ create table countries (
12
+ countryid integer,
13
+ countryname text,
14
+ continent integer
15
+ );
16
+ insert into countries values(1, 'usa', 1);
17
+ insert into countries values(2, 'germany', 2);
18
+ insert into countries values(3, 'france', 2);
19
+ insert into countries values(4, 'japan', 3);
20
+ insert into countries values(5, 'italy', 2);
21
+ insert into countries values(6, 'sweden', 2);
22
+ insert into countries values(7, 'uk', 2);
23
+ insert into countries values(8, 'korea', 3);
24
+ insert into countries values(9, 'russia', 2);
25
+ insert into countries values(10, 'nigeria', 4);
26
+ insert into countries values(11, 'australia', 5);
27
+ insert into countries values(12, 'new zealand', 5);
28
+ insert into countries values(13, 'egypt', 4);
29
+ insert into countries values(14, 'mexico', 1);
30
+ insert into countries values(15, 'brazil', 1);
31
+
32
+ create table car_names (
33
+ makeid integer,
34
+ model text,
35
+ make text
36
+ );
37
+ insert into car_names values(1, 'chevrolet', 'chevrolet chevelle malibu');
38
+ insert into car_names values(2, 'buick', 'buick skylark 320');
39
+ insert into car_names values(3, 'plymouth', 'plymouth satellite');
40
+ insert into car_names values(4, 'amc', 'amc rebel sst');
41
+ insert into car_names values(5, 'ford', 'ford torino');
42
+ insert into car_names values(6, 'ford', 'ford galaxie 500');
43
+ insert into car_names values(7, 'chevrolet', 'chevrolet impala');
44
+ insert into car_names values(8, 'plymouth', 'plymouth fury iii');
45
+ insert into car_names values(9, 'pontiac', 'pontiac catalina');
46
+ insert into car_names values(10, 'amc', 'amc ambassador dpl');
47
+ insert into car_names values(11, 'citroen', 'citroen ds-21 pallas');
48
+ insert into car_names values(12, 'chevrolet', 'chevrolet chevelle concours sw');
49
+ insert into car_names values(13, 'ford', 'ford torino sw');
50
+ insert into car_names values(14, 'plymouth', 'plymouth satellite sw');
51
+ insert into car_names values(15, 'amc', 'amc rebel sst sw');
52
+ insert into car_names values(16, 'dodge', 'dodge challenger se');
53
+ insert into car_names values(17, 'plymouth', 'plymouth cuda 340');
54
+ insert into car_names values(18, 'ford', 'ford mustang boss 302');
55
+ insert into car_names values(19, 'chevrolet', 'chevrolet monte carlo');
56
+ insert into car_names values(20, 'buick', 'buick estate wagon sw');
57
+ insert into car_names values(21, 'toyota', 'toyota corona mark ii');
58
+ insert into car_names values(22, 'plymouth', 'plymouth duster');
59
+ insert into car_names values(23, 'amc', 'amc hornet');
60
+ insert into car_names values(24, 'ford', 'ford maverick');
61
+ insert into car_names values(25, 'datsun', 'datsun pl510');
62
+ insert into car_names values(26, 'volkswagen', 'volkswagen 1131 deluxe sedan');
63
+ insert into car_names values(27, 'peugeot', 'peugeot 504');
64
+ insert into car_names values(28, 'audi', 'audi 100 ls');
65
+ insert into car_names values(29, 'saab', 'saab 99e');
66
+ insert into car_names values(30, 'bmw', 'bmw 2002');
67
+ insert into car_names values(31, 'amc', 'amc gremlin');
68
+ insert into car_names values(32, 'ford', 'ford f250');
69
+ insert into car_names values(33, 'chevrolet', 'chevy c20');
70
+ insert into car_names values(34, 'dodge', 'dodge d200');
71
+ insert into car_names values(35, 'hi', 'hi 1200d');
72
+ insert into car_names values(36, 'datsun', 'datsun pl510');
73
+ insert into car_names values(37, 'chevrolet', 'chevrolet vega 2300');
74
+ insert into car_names values(38, 'toyota', 'toyota corona');
75
+ insert into car_names values(39, 'ford', 'ford pinto');
76
+ insert into car_names values(40, 'volkswagen', 'volkswagen super beetle 117');
77
+ insert into car_names values(41, 'amc', 'amc gremlin');
78
+ insert into car_names values(42, 'plymouth', 'plymouth satellite custom');
79
+ insert into car_names values(43, 'chevrolet', 'chevrolet chevelle malibu');
80
+ insert into car_names values(44, 'ford', 'ford torino 500');
81
+ insert into car_names values(45, 'amc', 'amc matador');
82
+ insert into car_names values(46, 'chevrolet', 'chevrolet impala');
83
+ insert into car_names values(47, 'pontiac', 'pontiac catalina brougham');
84
+ insert into car_names values(48, 'ford', 'ford galaxie 500');
85
+ insert into car_names values(49, 'plymouth', 'plymouth fury iii');
86
+ insert into car_names values(50, 'dodge', 'dodge monaco sw');
87
+ insert into car_names values(51, 'ford', 'ford country squire sw');
88
+ insert into car_names values(52, 'pontiac', 'pontiac safari sw');
89
+ insert into car_names values(53, 'amc', 'amc hornet sportabout sw');
90
+ insert into car_names values(54, 'chevrolet', 'chevrolet vega sw');
91
+ insert into car_names values(55, 'pontiac', 'pontiac firebird');
92
+ insert into car_names values(56, 'ford', 'ford mustang');
93
+ insert into car_names values(57, 'mercury', 'mercury capri 2000');
94
+ insert into car_names values(58, 'opel', 'opel 1900');
95
+ insert into car_names values(59, 'peugeot', 'peugeot 304');
96
+ insert into car_names values(60, 'fiat', 'fiat 124b');
97
+ insert into car_names values(61, 'toyota', 'toyota corolla 1200');
98
+ insert into car_names values(62, 'datsun', 'datsun 1200');
99
+ insert into car_names values(63, 'volkswagen', 'volkswagen model 111');
100
+ insert into car_names values(64, 'plymouth', 'plymouth cricket');
101
+ insert into car_names values(65, 'toyota', 'toyota corona hardtop');
102
+ insert into car_names values(66, 'dodge', 'dodge colt hardtop');
103
+ insert into car_names values(67, 'volkswagen', 'volkswagen type 3');
104
+ insert into car_names values(68, 'chevrolet', 'chevrolet vega');
105
+ insert into car_names values(69, 'ford', 'ford pinto runabout');
106
+ insert into car_names values(70, 'chevrolet', 'chevrolet impala');
107
+ insert into car_names values(71, 'pontiac', 'pontiac catalina');
108
+ insert into car_names values(72, 'plymouth', 'plymouth fury iii');
109
+ insert into car_names values(73, 'ford', 'ford galaxie 500');
110
+ insert into car_names values(74, 'amc', 'amc ambassador sst');
111
+ insert into car_names values(75, 'mercury', 'mercury marquis');
112
+ insert into car_names values(76, 'buick', 'buick lesabre custom');
113
+ insert into car_names values(77, 'oldsmobile', 'oldsmobile delta 88 royale');
114
+ insert into car_names values(78, 'chrysler', 'chrysler newport royal');
115
+ insert into car_names values(79, 'mazda', 'mazda rx2 coupe');
116
+ insert into car_names values(80, 'amc', 'amc matador sw');
117
+ insert into car_names values(81, 'chevrolet', 'chevrolet chevelle concours sw');
118
+ insert into car_names values(82, 'ford', 'ford gran torino sw');
119
+ insert into car_names values(83, 'plymouth', 'plymouth satellite custom sw');
120
+ insert into car_names values(84, 'volvo', 'volvo 145e sw');
121
+ insert into car_names values(85, 'volkswagen', 'volkswagen 411 sw');
122
+ insert into car_names values(86, 'peugeot', 'peugeot 504 sw');
123
+ insert into car_names values(87, 'renault', 'renault 12 sw');
124
+ insert into car_names values(88, 'ford', 'ford pinto sw');
125
+ insert into car_names values(89, 'datsun', 'datsun 510 sw');
126
+ insert into car_names values(90, 'toyota', 'toyota corona mark ii sw');
127
+ insert into car_names values(91, 'dodge', 'dodge colt sw');
128
+ insert into car_names values(92, 'toyota', 'toyota corolla 1600 sw');
129
+ insert into car_names values(93, 'buick', 'buick century 350');
130
+ insert into car_names values(94, 'amc', 'amc matador');
131
+ insert into car_names values(95, 'chevrolet', 'chevrolet malibu');
132
+ insert into car_names values(96, 'ford', 'ford gran torino');
133
+ insert into car_names values(97, 'dodge', 'dodge coronet custom');
134
+ insert into car_names values(98, 'mercury', 'mercury marquis brougham');
135
+ insert into car_names values(99, 'chevrolet', 'chevrolet caprice classic');
136
+ insert into car_names values(100, 'ford', 'ford ltd');
137
+
138
+ create table cars_data (
139
+ id integer,
140
+ mpg text,
141
+ cylinders integer,
142
+ edispl real,
143
+ horsepower text,
144
+ weight integer,
145
+ accelerate real,
146
+ year integer
147
+ );
148
+ insert into cars_data values(1, 18, 8, 307.0, 130, 3504, 12.0, 1970);
149
+ insert into cars_data values(2, 15, 8, 350.0, 165, 3693, 11.5, 1970);
150
+ insert into cars_data values(3, 18, 8, 318.0, 150, 3436, 11.0, 1970);
151
+ insert into cars_data values(4, 16, 8, 304.0, 150, 3433, 12.0, 1970);
152
+ insert into cars_data values(5, 17, 8, 302.0, 140, 3449, 10.5, 1970);
153
+ insert into cars_data values(6, 15, 8, 429.0, 198, 4341, 10.0, 1970);
154
+ insert into cars_data values(7, 14, 8, 454.0, 220, 4354, 9.0, 1970);
155
+ insert into cars_data values(8, 14, 8, 440.0, 215, 4312, 8.5, 1970);
156
+ insert into cars_data values(9, 14, 8, 455.0, 225, 4425, 10.0, 1970);
157
+ insert into cars_data values(10, 15, 8, 390.0, 190, 3850, 8.5, 1970);
158
+ insert into cars_data values(11, 'null', 4, 133.0, 115, 3090, 17.5, 1970);
159
+ insert into cars_data values(12, 'null', 8, 350.0, 165, 4142, 11.5, 1970);
160
+ insert into cars_data values(13, 'null', 8, 351.0, 153, 4034, 11.0, 1970);
161
+ insert into cars_data values(14, 'null', 8, 383.0, 175, 4166, 10.5, 1970);
162
+ insert into cars_data values(15, 'null', 8, 360.0, 175, 3850, 11.0, 1970);
163
+ insert into cars_data values(16, 15, 8, 383.0, 170, 3563, 10.0, 1970);
164
+ insert into cars_data values(17, 14, 8, 340.0, 160, 3609, 8.0, 1970);
165
+ insert into cars_data values(18, 'null', 8, 302.0, 140, 3353, 8.0, 1970);
166
+ insert into cars_data values(19, 15, 8, 400.0, 150, 3761, 9.5, 1970);
167
+ insert into cars_data values(20, 14, 8, 455.0, 225, 3086, 10.0, 1970);
168
+ insert into cars_data values(21, 24, 4, 113.0, 95, 2372, 15.0, 1970);
169
+ insert into cars_data values(22, 22, 6, 198.0, 95, 2833, 15.5, 1970);
170
+ insert into cars_data values(23, 18, 6, 199.0, 97, 2774, 15.5, 1970);
171
+ insert into cars_data values(24, 21, 6, 200.0, 85, 2587, 16.0, 1970);
172
+ insert into cars_data values(25, 27, 4, 97.0, 88, 2130, 14.5, 1970);
173
+ insert into cars_data values(26, 26, 4, 97.0, 46, 1835, 20.5, 1970);
174
+ insert into cars_data values(27, 25, 4, 110.0, 87, 2672, 17.5, 1970);
175
+ insert into cars_data values(28, 24, 4, 107.0, 90, 2430, 14.5, 1970);
176
+ insert into cars_data values(29, 25, 4, 104.0, 95, 2375, 17.5, 1970);
177
+ insert into cars_data values(30, 26, 4, 121.0, 113, 2234, 12.5, 1970);
178
+ insert into cars_data values(31, 21, 6, 199.0, 90, 2648, 15.0, 1970);
179
+ insert into cars_data values(32, 10, 8, 360.0, 215, 4615, 14.0, 1970);
180
+ insert into cars_data values(33, 10, 8, 307.0, 200, 4376, 15.0, 1970);
181
+ insert into cars_data values(34, 11, 8, 318.0, 210, 4382, 13.5, 1970);
182
+ insert into cars_data values(35, 9, 8, 304.0, 193, 4732, 18.5, 1970);
183
+ insert into cars_data values(36, 27, 4, 97.0, 88, 2130, 14.5, 1971);
184
+ insert into cars_data values(37, 28, 4, 140.0, 90, 2264, 15.5, 1971);
185
+ insert into cars_data values(38, 25, 4, 113.0, 95, 2228, 14.0, 1971);
186
+ insert into cars_data values(39, 25, 4, 98.0, 'null', 2046, 19.0, 1971);
187
+ insert into cars_data values(40, 'null', 4, 97.0, 48, 1978, 20.0, 1971);
188
+ insert into cars_data values(41, 19, 6, 232.0, 100, 2634, 13.0, 1971);
189
+ insert into cars_data values(42, 16, 6, 225.0, 105, 3439, 15.5, 1971);
190
+ insert into cars_data values(43, 17, 6, 250.0, 100, 3329, 15.5, 1971);
191
+ insert into cars_data values(44, 19, 6, 250.0, 88, 3302, 15.5, 1971);
192
+ insert into cars_data values(45, 18, 6, 232.0, 100, 3288, 15.5, 1971);
193
+ insert into cars_data values(46, 14, 8, 350.0, 165, 4209, 12.0, 1971);
194
+ insert into cars_data values(47, 14, 8, 400.0, 175, 4464, 11.5, 1971);
195
+ insert into cars_data values(48, 14, 8, 351.0, 153, 4154, 13.5, 1971);
196
+ insert into cars_data values(49, 14, 8, 318.0, 150, 4096, 13.0, 1971);
197
+ insert into cars_data values(50, 12, 8, 383.0, 180, 4955, 11.5, 1971);
198
+ insert into cars_data values(51, 13, 8, 400.0, 170, 4746, 12.0, 1971);
199
+ insert into cars_data values(52, 13, 8, 400.0, 175, 5140, 12.0, 1971);
200
+ insert into cars_data values(53, 18, 6, 258.0, 110, 2962, 13.5, 1971);
201
+ insert into cars_data values(54, 22, 4, 140.0, 72, 2408, 19.0, 1971);
202
+ insert into cars_data values(55, 19, 6, 250.0, 100, 3282, 15.0, 1971);
203
+ insert into cars_data values(56, 18, 6, 250.0, 88, 3139, 14.5, 1971);
204
+ insert into cars_data values(57, 23, 4, 122.0, 86, 2220, 14.0, 1971);
205
+ insert into cars_data values(58, 28, 4, 116.0, 90, 2123, 14.0, 1971);
206
+ insert into cars_data values(59, 30, 4, 79.0, 70, 2074, 19.5, 1971);
207
+ insert into cars_data values(60, 30, 4, 88.0, 76, 2065, 14.5, 1971);
208
+ insert into cars_data values(61, 31, 4, 71.0, 65, 1773, 19.0, 1971);
209
+ insert into cars_data values(62, 35, 4, 72.0, 69, 1613, 18.0, 1971);
210
+ insert into cars_data values(63, 27, 4, 97.0, 60, 1834, 19.0, 1971);
211
+ insert into cars_data values(64, 26, 4, 91.0, 70, 1955, 20.5, 1971);
212
+ insert into cars_data values(65, 24, 4, 113.0, 95, 2278, 15.5, 1972);
213
+ insert into cars_data values(66, 25, 4, 97.5, 80, 2126, 17.0, 1972);
214
+ insert into cars_data values(67, 23, 4, 97.0, 54, 2254, 23.5, 1972);
215
+ insert into cars_data values(68, 20, 4, 140.0, 90, 2408, 19.5, 1972);
216
+ insert into cars_data values(69, 21, 4, 122.0, 86, 2226, 16.5, 1972);
217
+ insert into cars_data values(70, 13, 8, 350.0, 165, 4274, 12.0, 1972);
218
+ insert into cars_data values(71, 14, 8, 400.0, 175, 4385, 12.0, 1972);
219
+ insert into cars_data values(72, 15, 8, 318.0, 150, 4135, 13.5, 1972);
220
+ insert into cars_data values(73, 14, 8, 351.0, 153, 4129, 13.0, 1972);
221
+ insert into cars_data values(74, 17, 8, 304.0, 150, 3672, 11.5, 1972);
222
+ insert into cars_data values(75, 11, 8, 429.0, 208, 4633, 11.0, 1972);
223
+ insert into cars_data values(76, 13, 8, 350.0, 155, 4502, 13.5, 1972);
224
+ insert into cars_data values(77, 12, 8, 350.0, 160, 4456, 13.5, 1972);
225
+ insert into cars_data values(78, 13, 8, 400.0, 190, 4422, 12.5, 1972);
226
+ insert into cars_data values(79, 19, 3, 70.0, 97, 2330, 13.5, 1972);
227
+ insert into cars_data values(80, 15, 8, 304.0, 150, 3892, 12.5, 1972);
228
+ insert into cars_data values(81, 13, 8, 307.0, 130, 4098, 14.0, 1972);
229
+ insert into cars_data values(82, 13, 8, 302.0, 140, 4294, 16.0, 1972);
230
+ insert into cars_data values(83, 14, 8, 318.0, 150, 4077, 14.0, 1972);
231
+ insert into cars_data values(84, 18, 4, 121.0, 112, 2933, 14.5, 1972);
232
+ insert into cars_data values(85, 22, 4, 121.0, 76, 2511, 18.0, 1972);
233
+ insert into cars_data values(86, 21, 4, 120.0, 87, 2979, 19.5, 1972);
234
+ insert into cars_data values(87, 26, 4, 96.0, 69, 2189, 18.0, 1972);
235
+ insert into cars_data values(88, 22, 4, 122.0, 86, 2395, 16.0, 1972);
236
+ insert into cars_data values(89, 28, 4, 97.0, 92, 2288, 17.0, 1972);
237
+ insert into cars_data values(90, 23, 4, 120.0, 97, 2506, 14.5, 1972);
238
+ insert into cars_data values(91, 28, 4, 98.0, 80, 2164, 15.0, 1972);
239
+ insert into cars_data values(92, 27, 4, 97.0, 88, 2100, 16.5, 1972);
240
+ insert into cars_data values(93, 13, 8, 350.0, 175, 4100, 13.0, 1973);
241
+ insert into cars_data values(94, 14, 8, 304.0, 150, 3672, 11.5, 1973);
242
+ insert into cars_data values(95, 13, 8, 350.0, 145, 3988, 13.0, 1973);
243
+ insert into cars_data values(96, 14, 8, 302.0, 137, 4042, 14.5, 1973);
244
+ insert into cars_data values(97, 15, 8, 318.0, 150, 3777, 12.5, 1973);
245
+ insert into cars_data values(98, 12, 8, 429.0, 198, 4952, 11.5, 1973);
246
+ insert into cars_data values(99, 13, 8, 400.0, 150, 4464, 12.0, 1973);
247
+ insert into cars_data values(100, 13, 8, 351.0, 158, 4363, 13.0, 1973);
248
+ create table model_list_car_makers (
249
+ modelid integer,
250
+ maker integer,
251
+ model text,
252
+ maker_car_makers text,
253
+ fullname text,
254
+ country text);
255
+ insert into model_list_car_makers values(1, 1, 'amc', 'amc', 'american motor company', '1');
256
+ insert into model_list_car_makers values(2, 2, 'audi', 'volkswagen', 'volkswagen', '2');
257
+ insert into model_list_car_makers values(3, 3, 'bmw', 'bmw', 'bmw', '2');
258
+ insert into model_list_car_makers values(4, 4, 'buick', 'gm', 'general motors', '1');
259
+ insert into model_list_car_makers values(5, 4, 'cadillac', 'gm', 'general motors', '1');
260
+ insert into model_list_car_makers values(6, 5, 'capri', 'ford', 'ford motor company', '1');
261
+ insert into model_list_car_makers values(7, 4, 'chevrolet', 'gm', 'general motors', '1');
262
+ insert into model_list_car_makers values(8, 6, 'chrysler', 'chrysler', 'chrysler', '1');
263
+ insert into model_list_car_makers values(9, 7, 'citroen', 'citroen', 'citroen', '3');
264
+ insert into model_list_car_makers values(10, 8, 'datsun', 'nissan', 'nissan motors', '4');
265
+ insert into model_list_car_makers values(11, 6, 'dodge', 'chrysler', 'chrysler', '1');
266
+ insert into model_list_car_makers values(12, 9, 'fiat', 'fiat', 'fiat', '5');
267
+ insert into model_list_car_makers values(13, 5, 'ford', 'ford', 'ford motor company', '1');
268
+ insert into model_list_car_makers values(14, 10, 'hi', 'None', 'None', 'None');
269
+ insert into model_list_car_makers values(15, 11, 'honda', 'honda', 'honda', '4');
270
+ insert into model_list_car_makers values(34, 12, 'hyundai', 'mazda', 'mazda', '4');
271
+ insert into model_list_car_makers values(35, 13, 'jeep', 'daimler benz', 'daimler benz', '2');
272
+ insert into model_list_car_makers values(33, 13, 'kia', 'daimler benz', 'daimler benz', '2');
273
+ insert into model_list_car_makers values(16, 5, 'mazda', 'ford', 'ford motor company', '1');
274
+ insert into model_list_car_makers values(17, 8, 'mercedes', 'nissan', 'nissan motors', '4');
275
+ insert into model_list_car_makers values(18, 4, 'mercedes-benz', 'gm', 'general motors', '1');
276
+ insert into model_list_car_makers values(19, 14, 'mercury', 'opel', 'opel', '2');
277
+ insert into model_list_car_makers values(20, 15, 'nissan', 'peugeaut', 'peugeaut', '3');
278
+ insert into model_list_car_makers values(21, 6, 'oldsmobile', 'chrysler', 'chrysler', '1');
279
+ insert into model_list_car_makers values(22, 4, 'opel', 'gm', 'general motors', '1');
280
+ insert into model_list_car_makers values(23, 16, 'peugeot', 'renault', 'renault', '3');
281
+ insert into model_list_car_makers values(24, 17, 'plymouth', 'saab', 'saab', '6');
282
+ insert into model_list_car_makers values(25, 18, 'pontiac', 'subaru', 'subaru', '4');
283
+ insert into model_list_car_makers values(26, 19, 'renault', 'toyota', 'toyota', '4');
284
+ insert into model_list_car_makers values(27, 20, 'saab', 'triumph', 'triumph', '7');
285
+ insert into model_list_car_makers values(36, 2, 'scion', 'volkswagen', 'volkswagen', '2');
286
+ insert into model_list_car_makers values(28, 21, 'subaru', 'volvo', 'volvo', '6');
287
+ insert into model_list_car_makers values(29, 22, 'toyota', 'kia', 'kia motors', '8');
288
+ insert into model_list_car_makers values(30, 23, 'triumph', 'hyundai', 'hyundai', '8');
289
+ insert into model_list_car_makers values(31, 6, 'volkswagen', 'chrysler', 'chrysler', '1');
290
+ insert into model_list_car_makers values(32, 19, 'volvo', 'toyota', 'toyota', '4');
291
+
all/databases/car_1_minus_1_1/car_1_minus_1_1.sqlite ADDED
Binary file (24.6 kB). View file
 
all/databases/car_1_total_7/car_1_total_7.sql ADDED
@@ -0,0 +1,291 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ create table continents (
2
+ contid integer,
3
+ continent text
4
+ );
5
+ insert into continents values(1, 'america');
6
+ insert into continents values(2, 'europe');
7
+ insert into continents values(3, 'asia');
8
+ insert into continents values(4, 'africa');
9
+ insert into continents values(5, 'australia');
10
+
11
+ create table countries (
12
+ countryid integer,
13
+ countryname text,
14
+ continent integer
15
+ );
16
+ insert into countries values(1, 'usa', 1);
17
+ insert into countries values(2, 'germany', 2);
18
+ insert into countries values(3, 'france', 2);
19
+ insert into countries values(4, 'japan', 3);
20
+ insert into countries values(5, 'italy', 2);
21
+ insert into countries values(6, 'sweden', 2);
22
+ insert into countries values(7, 'uk', 2);
23
+ insert into countries values(8, 'korea', 3);
24
+ insert into countries values(9, 'russia', 2);
25
+ insert into countries values(10, 'nigeria', 4);
26
+ insert into countries values(11, 'australia', 5);
27
+ insert into countries values(12, 'new zealand', 5);
28
+ insert into countries values(13, 'egypt', 4);
29
+ insert into countries values(14, 'mexico', 1);
30
+ insert into countries values(15, 'brazil', 1);
31
+
32
+ create table car_names (
33
+ makeid integer,
34
+ model text,
35
+ make text
36
+ );
37
+ insert into car_names values(1, 'chevrolet', 'chevrolet chevelle malibu');
38
+ insert into car_names values(2, 'buick', 'buick skylark 320');
39
+ insert into car_names values(3, 'plymouth', 'plymouth satellite');
40
+ insert into car_names values(4, 'amc', 'amc rebel sst');
41
+ insert into car_names values(5, 'ford', 'ford torino');
42
+ insert into car_names values(6, 'ford', 'ford galaxie 500');
43
+ insert into car_names values(7, 'chevrolet', 'chevrolet impala');
44
+ insert into car_names values(8, 'plymouth', 'plymouth fury iii');
45
+ insert into car_names values(9, 'pontiac', 'pontiac catalina');
46
+ insert into car_names values(10, 'amc', 'amc ambassador dpl');
47
+ insert into car_names values(11, 'citroen', 'citroen ds-21 pallas');
48
+ insert into car_names values(12, 'chevrolet', 'chevrolet chevelle concours sw');
49
+ insert into car_names values(13, 'ford', 'ford torino sw');
50
+ insert into car_names values(14, 'plymouth', 'plymouth satellite sw');
51
+ insert into car_names values(15, 'amc', 'amc rebel sst sw');
52
+ insert into car_names values(16, 'dodge', 'dodge challenger se');
53
+ insert into car_names values(17, 'plymouth', 'plymouth cuda 340');
54
+ insert into car_names values(18, 'ford', 'ford mustang boss 302');
55
+ insert into car_names values(19, 'chevrolet', 'chevrolet monte carlo');
56
+ insert into car_names values(20, 'buick', 'buick estate wagon sw');
57
+ insert into car_names values(21, 'toyota', 'toyota corona mark ii');
58
+ insert into car_names values(22, 'plymouth', 'plymouth duster');
59
+ insert into car_names values(23, 'amc', 'amc hornet');
60
+ insert into car_names values(24, 'ford', 'ford maverick');
61
+ insert into car_names values(25, 'datsun', 'datsun pl510');
62
+ insert into car_names values(26, 'volkswagen', 'volkswagen 1131 deluxe sedan');
63
+ insert into car_names values(27, 'peugeot', 'peugeot 504');
64
+ insert into car_names values(28, 'audi', 'audi 100 ls');
65
+ insert into car_names values(29, 'saab', 'saab 99e');
66
+ insert into car_names values(30, 'bmw', 'bmw 2002');
67
+ insert into car_names values(31, 'amc', 'amc gremlin');
68
+ insert into car_names values(32, 'ford', 'ford f250');
69
+ insert into car_names values(33, 'chevrolet', 'chevy c20');
70
+ insert into car_names values(34, 'dodge', 'dodge d200');
71
+ insert into car_names values(35, 'hi', 'hi 1200d');
72
+ insert into car_names values(36, 'datsun', 'datsun pl510');
73
+ insert into car_names values(37, 'chevrolet', 'chevrolet vega 2300');
74
+ insert into car_names values(38, 'toyota', 'toyota corona');
75
+ insert into car_names values(39, 'ford', 'ford pinto');
76
+ insert into car_names values(40, 'volkswagen', 'volkswagen super beetle 117');
77
+ insert into car_names values(41, 'amc', 'amc gremlin');
78
+ insert into car_names values(42, 'plymouth', 'plymouth satellite custom');
79
+ insert into car_names values(43, 'chevrolet', 'chevrolet chevelle malibu');
80
+ insert into car_names values(44, 'ford', 'ford torino 500');
81
+ insert into car_names values(45, 'amc', 'amc matador');
82
+ insert into car_names values(46, 'chevrolet', 'chevrolet impala');
83
+ insert into car_names values(47, 'pontiac', 'pontiac catalina brougham');
84
+ insert into car_names values(48, 'ford', 'ford galaxie 500');
85
+ insert into car_names values(49, 'plymouth', 'plymouth fury iii');
86
+ insert into car_names values(50, 'dodge', 'dodge monaco sw');
87
+ insert into car_names values(51, 'ford', 'ford country squire sw');
88
+ insert into car_names values(52, 'pontiac', 'pontiac safari sw');
89
+ insert into car_names values(53, 'amc', 'amc hornet sportabout sw');
90
+ insert into car_names values(54, 'chevrolet', 'chevrolet vega sw');
91
+ insert into car_names values(55, 'pontiac', 'pontiac firebird');
92
+ insert into car_names values(56, 'ford', 'ford mustang');
93
+ insert into car_names values(57, 'mercury', 'mercury capri 2000');
94
+ insert into car_names values(58, 'opel', 'opel 1900');
95
+ insert into car_names values(59, 'peugeot', 'peugeot 304');
96
+ insert into car_names values(60, 'fiat', 'fiat 124b');
97
+ insert into car_names values(61, 'toyota', 'toyota corolla 1200');
98
+ insert into car_names values(62, 'datsun', 'datsun 1200');
99
+ insert into car_names values(63, 'volkswagen', 'volkswagen model 111');
100
+ insert into car_names values(64, 'plymouth', 'plymouth cricket');
101
+ insert into car_names values(65, 'toyota', 'toyota corona hardtop');
102
+ insert into car_names values(66, 'dodge', 'dodge colt hardtop');
103
+ insert into car_names values(67, 'volkswagen', 'volkswagen type 3');
104
+ insert into car_names values(68, 'chevrolet', 'chevrolet vega');
105
+ insert into car_names values(69, 'ford', 'ford pinto runabout');
106
+ insert into car_names values(70, 'chevrolet', 'chevrolet impala');
107
+ insert into car_names values(71, 'pontiac', 'pontiac catalina');
108
+ insert into car_names values(72, 'plymouth', 'plymouth fury iii');
109
+ insert into car_names values(73, 'ford', 'ford galaxie 500');
110
+ insert into car_names values(74, 'amc', 'amc ambassador sst');
111
+ insert into car_names values(75, 'mercury', 'mercury marquis');
112
+ insert into car_names values(76, 'buick', 'buick lesabre custom');
113
+ insert into car_names values(77, 'oldsmobile', 'oldsmobile delta 88 royale');
114
+ insert into car_names values(78, 'chrysler', 'chrysler newport royal');
115
+ insert into car_names values(79, 'mazda', 'mazda rx2 coupe');
116
+ insert into car_names values(80, 'amc', 'amc matador sw');
117
+ insert into car_names values(81, 'chevrolet', 'chevrolet chevelle concours sw');
118
+ insert into car_names values(82, 'ford', 'ford gran torino sw');
119
+ insert into car_names values(83, 'plymouth', 'plymouth satellite custom sw');
120
+ insert into car_names values(84, 'volvo', 'volvo 145e sw');
121
+ insert into car_names values(85, 'volkswagen', 'volkswagen 411 sw');
122
+ insert into car_names values(86, 'peugeot', 'peugeot 504 sw');
123
+ insert into car_names values(87, 'renault', 'renault 12 sw');
124
+ insert into car_names values(88, 'ford', 'ford pinto sw');
125
+ insert into car_names values(89, 'datsun', 'datsun 510 sw');
126
+ insert into car_names values(90, 'toyota', 'toyota corona mark ii sw');
127
+ insert into car_names values(91, 'dodge', 'dodge colt sw');
128
+ insert into car_names values(92, 'toyota', 'toyota corolla 1600 sw');
129
+ insert into car_names values(93, 'buick', 'buick century 350');
130
+ insert into car_names values(94, 'amc', 'amc matador');
131
+ insert into car_names values(95, 'chevrolet', 'chevrolet malibu');
132
+ insert into car_names values(96, 'ford', 'ford gran torino');
133
+ insert into car_names values(97, 'dodge', 'dodge coronet custom');
134
+ insert into car_names values(98, 'mercury', 'mercury marquis brougham');
135
+ insert into car_names values(99, 'chevrolet', 'chevrolet caprice classic');
136
+ insert into car_names values(100, 'ford', 'ford ltd');
137
+
138
+ create table cars_data (
139
+ id integer,
140
+ mpg text,
141
+ cylinders integer,
142
+ edispl real,
143
+ horsepower text,
144
+ weight integer,
145
+ accelerate real,
146
+ year integer
147
+ );
148
+ insert into cars_data values(1, 18, 8, 307.0, 130, 3504, 12.0, 1970);
149
+ insert into cars_data values(2, 15, 8, 350.0, 165, 3693, 11.5, 1970);
150
+ insert into cars_data values(3, 18, 8, 318.0, 150, 3436, 11.0, 1970);
151
+ insert into cars_data values(4, 16, 8, 304.0, 150, 3433, 12.0, 1970);
152
+ insert into cars_data values(5, 17, 8, 302.0, 140, 3449, 10.5, 1970);
153
+ insert into cars_data values(6, 15, 8, 429.0, 198, 4341, 10.0, 1970);
154
+ insert into cars_data values(7, 14, 8, 454.0, 220, 4354, 9.0, 1970);
155
+ insert into cars_data values(8, 14, 8, 440.0, 215, 4312, 8.5, 1970);
156
+ insert into cars_data values(9, 14, 8, 455.0, 225, 4425, 10.0, 1970);
157
+ insert into cars_data values(10, 15, 8, 390.0, 190, 3850, 8.5, 1970);
158
+ insert into cars_data values(11, 'null', 4, 133.0, 115, 3090, 17.5, 1970);
159
+ insert into cars_data values(12, 'null', 8, 350.0, 165, 4142, 11.5, 1970);
160
+ insert into cars_data values(13, 'null', 8, 351.0, 153, 4034, 11.0, 1970);
161
+ insert into cars_data values(14, 'null', 8, 383.0, 175, 4166, 10.5, 1970);
162
+ insert into cars_data values(15, 'null', 8, 360.0, 175, 3850, 11.0, 1970);
163
+ insert into cars_data values(16, 15, 8, 383.0, 170, 3563, 10.0, 1970);
164
+ insert into cars_data values(17, 14, 8, 340.0, 160, 3609, 8.0, 1970);
165
+ insert into cars_data values(18, 'null', 8, 302.0, 140, 3353, 8.0, 1970);
166
+ insert into cars_data values(19, 15, 8, 400.0, 150, 3761, 9.5, 1970);
167
+ insert into cars_data values(20, 14, 8, 455.0, 225, 3086, 10.0, 1970);
168
+ insert into cars_data values(21, 24, 4, 113.0, 95, 2372, 15.0, 1970);
169
+ insert into cars_data values(22, 22, 6, 198.0, 95, 2833, 15.5, 1970);
170
+ insert into cars_data values(23, 18, 6, 199.0, 97, 2774, 15.5, 1970);
171
+ insert into cars_data values(24, 21, 6, 200.0, 85, 2587, 16.0, 1970);
172
+ insert into cars_data values(25, 27, 4, 97.0, 88, 2130, 14.5, 1970);
173
+ insert into cars_data values(26, 26, 4, 97.0, 46, 1835, 20.5, 1970);
174
+ insert into cars_data values(27, 25, 4, 110.0, 87, 2672, 17.5, 1970);
175
+ insert into cars_data values(28, 24, 4, 107.0, 90, 2430, 14.5, 1970);
176
+ insert into cars_data values(29, 25, 4, 104.0, 95, 2375, 17.5, 1970);
177
+ insert into cars_data values(30, 26, 4, 121.0, 113, 2234, 12.5, 1970);
178
+ insert into cars_data values(31, 21, 6, 199.0, 90, 2648, 15.0, 1970);
179
+ insert into cars_data values(32, 10, 8, 360.0, 215, 4615, 14.0, 1970);
180
+ insert into cars_data values(33, 10, 8, 307.0, 200, 4376, 15.0, 1970);
181
+ insert into cars_data values(34, 11, 8, 318.0, 210, 4382, 13.5, 1970);
182
+ insert into cars_data values(35, 9, 8, 304.0, 193, 4732, 18.5, 1970);
183
+ insert into cars_data values(36, 27, 4, 97.0, 88, 2130, 14.5, 1971);
184
+ insert into cars_data values(37, 28, 4, 140.0, 90, 2264, 15.5, 1971);
185
+ insert into cars_data values(38, 25, 4, 113.0, 95, 2228, 14.0, 1971);
186
+ insert into cars_data values(39, 25, 4, 98.0, 'null', 2046, 19.0, 1971);
187
+ insert into cars_data values(40, 'null', 4, 97.0, 48, 1978, 20.0, 1971);
188
+ insert into cars_data values(41, 19, 6, 232.0, 100, 2634, 13.0, 1971);
189
+ insert into cars_data values(42, 16, 6, 225.0, 105, 3439, 15.5, 1971);
190
+ insert into cars_data values(43, 17, 6, 250.0, 100, 3329, 15.5, 1971);
191
+ insert into cars_data values(44, 19, 6, 250.0, 88, 3302, 15.5, 1971);
192
+ insert into cars_data values(45, 18, 6, 232.0, 100, 3288, 15.5, 1971);
193
+ insert into cars_data values(46, 14, 8, 350.0, 165, 4209, 12.0, 1971);
194
+ insert into cars_data values(47, 14, 8, 400.0, 175, 4464, 11.5, 1971);
195
+ insert into cars_data values(48, 14, 8, 351.0, 153, 4154, 13.5, 1971);
196
+ insert into cars_data values(49, 14, 8, 318.0, 150, 4096, 13.0, 1971);
197
+ insert into cars_data values(50, 12, 8, 383.0, 180, 4955, 11.5, 1971);
198
+ insert into cars_data values(51, 13, 8, 400.0, 170, 4746, 12.0, 1971);
199
+ insert into cars_data values(52, 13, 8, 400.0, 175, 5140, 12.0, 1971);
200
+ insert into cars_data values(53, 18, 6, 258.0, 110, 2962, 13.5, 1971);
201
+ insert into cars_data values(54, 22, 4, 140.0, 72, 2408, 19.0, 1971);
202
+ insert into cars_data values(55, 19, 6, 250.0, 100, 3282, 15.0, 1971);
203
+ insert into cars_data values(56, 18, 6, 250.0, 88, 3139, 14.5, 1971);
204
+ insert into cars_data values(57, 23, 4, 122.0, 86, 2220, 14.0, 1971);
205
+ insert into cars_data values(58, 28, 4, 116.0, 90, 2123, 14.0, 1971);
206
+ insert into cars_data values(59, 30, 4, 79.0, 70, 2074, 19.5, 1971);
207
+ insert into cars_data values(60, 30, 4, 88.0, 76, 2065, 14.5, 1971);
208
+ insert into cars_data values(61, 31, 4, 71.0, 65, 1773, 19.0, 1971);
209
+ insert into cars_data values(62, 35, 4, 72.0, 69, 1613, 18.0, 1971);
210
+ insert into cars_data values(63, 27, 4, 97.0, 60, 1834, 19.0, 1971);
211
+ insert into cars_data values(64, 26, 4, 91.0, 70, 1955, 20.5, 1971);
212
+ insert into cars_data values(65, 24, 4, 113.0, 95, 2278, 15.5, 1972);
213
+ insert into cars_data values(66, 25, 4, 97.5, 80, 2126, 17.0, 1972);
214
+ insert into cars_data values(67, 23, 4, 97.0, 54, 2254, 23.5, 1972);
215
+ insert into cars_data values(68, 20, 4, 140.0, 90, 2408, 19.5, 1972);
216
+ insert into cars_data values(69, 21, 4, 122.0, 86, 2226, 16.5, 1972);
217
+ insert into cars_data values(70, 13, 8, 350.0, 165, 4274, 12.0, 1972);
218
+ insert into cars_data values(71, 14, 8, 400.0, 175, 4385, 12.0, 1972);
219
+ insert into cars_data values(72, 15, 8, 318.0, 150, 4135, 13.5, 1972);
220
+ insert into cars_data values(73, 14, 8, 351.0, 153, 4129, 13.0, 1972);
221
+ insert into cars_data values(74, 17, 8, 304.0, 150, 3672, 11.5, 1972);
222
+ insert into cars_data values(75, 11, 8, 429.0, 208, 4633, 11.0, 1972);
223
+ insert into cars_data values(76, 13, 8, 350.0, 155, 4502, 13.5, 1972);
224
+ insert into cars_data values(77, 12, 8, 350.0, 160, 4456, 13.5, 1972);
225
+ insert into cars_data values(78, 13, 8, 400.0, 190, 4422, 12.5, 1972);
226
+ insert into cars_data values(79, 19, 3, 70.0, 97, 2330, 13.5, 1972);
227
+ insert into cars_data values(80, 15, 8, 304.0, 150, 3892, 12.5, 1972);
228
+ insert into cars_data values(81, 13, 8, 307.0, 130, 4098, 14.0, 1972);
229
+ insert into cars_data values(82, 13, 8, 302.0, 140, 4294, 16.0, 1972);
230
+ insert into cars_data values(83, 14, 8, 318.0, 150, 4077, 14.0, 1972);
231
+ insert into cars_data values(84, 18, 4, 121.0, 112, 2933, 14.5, 1972);
232
+ insert into cars_data values(85, 22, 4, 121.0, 76, 2511, 18.0, 1972);
233
+ insert into cars_data values(86, 21, 4, 120.0, 87, 2979, 19.5, 1972);
234
+ insert into cars_data values(87, 26, 4, 96.0, 69, 2189, 18.0, 1972);
235
+ insert into cars_data values(88, 22, 4, 122.0, 86, 2395, 16.0, 1972);
236
+ insert into cars_data values(89, 28, 4, 97.0, 92, 2288, 17.0, 1972);
237
+ insert into cars_data values(90, 23, 4, 120.0, 97, 2506, 14.5, 1972);
238
+ insert into cars_data values(91, 28, 4, 98.0, 80, 2164, 15.0, 1972);
239
+ insert into cars_data values(92, 27, 4, 97.0, 88, 2100, 16.5, 1972);
240
+ insert into cars_data values(93, 13, 8, 350.0, 175, 4100, 13.0, 1973);
241
+ insert into cars_data values(94, 14, 8, 304.0, 150, 3672, 11.5, 1973);
242
+ insert into cars_data values(95, 13, 8, 350.0, 145, 3988, 13.0, 1973);
243
+ insert into cars_data values(96, 14, 8, 302.0, 137, 4042, 14.5, 1973);
244
+ insert into cars_data values(97, 15, 8, 318.0, 150, 3777, 12.5, 1973);
245
+ insert into cars_data values(98, 12, 8, 429.0, 198, 4952, 11.5, 1973);
246
+ insert into cars_data values(99, 13, 8, 400.0, 150, 4464, 12.0, 1973);
247
+ insert into cars_data values(100, 13, 8, 351.0, 158, 4363, 13.0, 1973);
248
+ create table car_makers_model_list (
249
+ id integer,
250
+ maker_car_makers text,
251
+ fullname text,
252
+ country text,
253
+ modelid integer,
254
+ model text);
255
+ insert into car_makers_model_list values(1, 'amc', 'american motor company', '1', 1, 'amc');
256
+ insert into car_makers_model_list values(2, 'volkswagen', 'volkswagen', '2', 2, 'audi');
257
+ insert into car_makers_model_list values(2, 'volkswagen', 'volkswagen', '2', 36, 'scion');
258
+ insert into car_makers_model_list values(3, 'bmw', 'bmw', '2', 3, 'bmw');
259
+ insert into car_makers_model_list values(4, 'gm', 'general motors', '1', 4, 'buick');
260
+ insert into car_makers_model_list values(4, 'gm', 'general motors', '1', 5, 'cadillac');
261
+ insert into car_makers_model_list values(4, 'gm', 'general motors', '1', 7, 'chevrolet');
262
+ insert into car_makers_model_list values(4, 'gm', 'general motors', '1', 18, 'mercedes-benz');
263
+ insert into car_makers_model_list values(4, 'gm', 'general motors', '1', 22, 'opel');
264
+ insert into car_makers_model_list values(5, 'ford', 'ford motor company', '1', 6, 'capri');
265
+ insert into car_makers_model_list values(5, 'ford', 'ford motor company', '1', 13, 'ford');
266
+ insert into car_makers_model_list values(5, 'ford', 'ford motor company', '1', 16, 'mazda');
267
+ insert into car_makers_model_list values(6, 'chrysler', 'chrysler', '1', 8, 'chrysler');
268
+ insert into car_makers_model_list values(6, 'chrysler', 'chrysler', '1', 11, 'dodge');
269
+ insert into car_makers_model_list values(6, 'chrysler', 'chrysler', '1', 21, 'oldsmobile');
270
+ insert into car_makers_model_list values(6, 'chrysler', 'chrysler', '1', 31, 'volkswagen');
271
+ insert into car_makers_model_list values(7, 'citroen', 'citroen', '3', 9, 'citroen');
272
+ insert into car_makers_model_list values(8, 'nissan', 'nissan motors', '4', 10, 'datsun');
273
+ insert into car_makers_model_list values(8, 'nissan', 'nissan motors', '4', 17, 'mercedes');
274
+ insert into car_makers_model_list values(9, 'fiat', 'fiat', '5', 12, 'fiat');
275
+ insert into car_makers_model_list values(11, 'honda', 'honda', '4', 15, 'honda');
276
+ insert into car_makers_model_list values(12, 'mazda', 'mazda', '4', 34, 'hyundai');
277
+ insert into car_makers_model_list values(13, 'daimler benz', 'daimler benz', '2', 33, 'kia');
278
+ insert into car_makers_model_list values(13, 'daimler benz', 'daimler benz', '2', 35, 'jeep');
279
+ insert into car_makers_model_list values(14, 'opel', 'opel', '2', 19, 'mercury');
280
+ insert into car_makers_model_list values(15, 'peugeaut', 'peugeaut', '3', 20, 'nissan');
281
+ insert into car_makers_model_list values(16, 'renault', 'renault', '3', 23, 'peugeot');
282
+ insert into car_makers_model_list values(17, 'saab', 'saab', '6', 24, 'plymouth');
283
+ insert into car_makers_model_list values(18, 'subaru', 'subaru', '4', 25, 'pontiac');
284
+ insert into car_makers_model_list values(19, 'toyota', 'toyota', '4', 26, 'renault');
285
+ insert into car_makers_model_list values(19, 'toyota', 'toyota', '4', 32, 'volvo');
286
+ insert into car_makers_model_list values(20, 'triumph', 'triumph', '7', 27, 'saab');
287
+ insert into car_makers_model_list values(21, 'volvo', 'volvo', '6', 28, 'subaru');
288
+ insert into car_makers_model_list values(22, 'kia', 'kia motors', '8', 29, 'toyota');
289
+ insert into car_makers_model_list values(23, 'hyundai', 'hyundai', '8', 30, 'triumph');
290
+ insert into car_makers_model_list values(10, 'None', 'None', 'None', 14, 'hi');
291
+
all/databases/car_1_total_7/car_1_total_7.sqlite ADDED
Binary file (24.6 kB). View file
 
all/databases/cinema/cinema.sql ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CREATE TABLE "film" (
2
+ "film_id" integer,
3
+ "rank_in_series" integer,
4
+ "number_in_season" integer,
5
+ "title" text,
6
+ "directed_by" text,
7
+ "original_air_date" text,
8
+ "production_code" text
9
+ );
10
+
11
+ INSERT INTO film VALUES (1, 26, 1, "the case of the mystery weekend", "bill schreiner", "september 21–25 1992", "50021–50025");
12
+ INSERT INTO film VALUES (2, 27, 2, "the case of the smart dummy", "bill schreiner", "september 28–october 2 1992", "50231–50235");
13
+ INSERT INTO film VALUES (3, 28, 3, "the case: off the record", "bill schreiner", "october 5–9 1992", "50011–50015");
14
+ INSERT INTO film VALUES (4, 29, 4, "the case of the bermuda triangle", "jesus salvador treviño", "october 12–16 1992", "50251–50255");
15
+ INSERT INTO film VALUES (5, 30, 5, "the case of the piggy banker", "bill schreiner", "october 19–23 1992", "50241–50245");
16
+
17
+ CREATE TABLE "cinema" (
18
+ "cinema_id" integer,
19
+ "name" text,
20
+ "openning_year" integer,
21
+ "capacity" integer,
22
+ "location" text
23
+ );
24
+
25
+ INSERT INTO cinema VALUES (1, "codling", 2010, 1100, "county wicklow");
26
+ INSERT INTO cinema VALUES (2, "carrowleagh", 2012, 368, "county cork");
27
+ INSERT INTO cinema VALUES (3, "dublin array", 2015, 364, "county dublin");
28
+ INSERT INTO cinema VALUES (4, "glenmore", 2009, 305, "county clare");
29
+ INSERT INTO cinema VALUES (5, "glenough", 2010, 325, "county tipperary");
30
+ INSERT INTO cinema VALUES (6, "gortahile", 2010, 208, "county laois");
31
+ INSERT INTO cinema VALUES (7, "grouse lodge", 2011, 203, "county tipperary");
32
+ INSERT INTO cinema VALUES (8, "moneypoint", 2011, 225, "county clare");
33
+ INSERT INTO cinema VALUES (9, "mount callan", 2011, 908, "county clare");
34
+ INSERT INTO cinema VALUES (10, "oriel", 2013, 330, "county louth");
35
+
36
+ CREATE TABLE "schedule" (
37
+ "cinema_id" integer,
38
+ "film_id" integer,
39
+ "date" text,
40
+ "show_times_per_day" integer,
41
+ "price" real
42
+ );
43
+
44
+ INSERT INTO schedule VALUES (1, 1, "21 may", 5, 12.99);
45
+ INSERT INTO schedule VALUES (1, 2, "21 may", 3, 12.99);
46
+ INSERT INTO schedule VALUES (1, 3, "21 jun", 2, 8.99);
47
+ INSERT INTO schedule VALUES (2, 1, "11 july", 5, 9.99);
48
+ INSERT INTO schedule VALUES (6, 5, "2 aug", 4, 12.99);
49
+ INSERT INTO schedule VALUES (9, 4, "20 may", 5, 9.99);
50
+ INSERT INTO schedule VALUES (10, 1, "19 may", 5, 15.99);
51
+
52
+
53
+ COMMIT;
all/databases/cinema/cinema.sqlite ADDED
Binary file (16.4 kB). View file
 
all/databases/college_1_minus_1_2/college_1_minus_1_2.sql ADDED
@@ -0,0 +1,159 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ create table class (
2
+ class_code text,
3
+ crs_code text,
4
+ class_section text,
5
+ class_time text,
6
+ class_room text,
7
+ prof_num integer
8
+ );
9
+ insert into class values(10012, 'acct-211', 1, 'mwf 8:00-8:50 a.m.', 'bus311', 105);
10
+ insert into class values(10013, 'acct-211', 2, 'mwf 9:00-9:50 a.m.', 'bus200', 105);
11
+ insert into class values(10014, 'acct-211', 3, 'tth 2:30-3:45 p.m.', 'bus252', 342);
12
+ insert into class values(10015, 'acct-212', 1, 'mwf 10:00-10:50 a.m.', 'bus311', 301);
13
+ insert into class values(10016, 'acct-212', 2, 'th 6:00-8:40 p.m.', 'bus252', 301);
14
+ insert into class values(10017, 'cis-220', 1, 'mwf 9:00-9:50 a.m.', 'klr209', 228);
15
+ insert into class values(10018, 'cis-220', 2, 'mwf 9:00-9:50 a.m.', 'klr211', 114);
16
+ insert into class values(10019, 'cis-220', 3, 'mwf 10:00-10:50 a.m.', 'klr209', 228);
17
+ insert into class values(10020, 'cis-420', 1, 'w 6:00-8:40 p.m.', 'klr209', 162);
18
+ insert into class values(10021, 'qm-261', 1, 'mwf 8:00-8:50 a.m.', 'klr200', 114);
19
+ insert into class values(10022, 'qm-261', 2, 'tth 1:00-2:15 p.m.', 'klr200', 114);
20
+ insert into class values(10023, 'qm-362', 1, 'mwf 11:00-11:50 a.m.', 'klr200', 162);
21
+ insert into class values(10024, 'qm-362', 2, 'tth 2:30-3:45 p.m.', 'klr200', 162);
22
+
23
+ create table course (
24
+ crs_code text,
25
+ dept_code text,
26
+ crs_description text,
27
+ crs_credit real
28
+ );
29
+ insert into course values('acct-211', 'acct', 'accounting i', 3.0);
30
+ insert into course values('acct-212', 'acct', 'accounting ii', 3.0);
31
+ insert into course values('cis-220', 'cis', 'intro. to microcomputing', 3.0);
32
+ insert into course values('cis-420', 'cis', 'database design and implementation', 4.0);
33
+ insert into course values('qm-261', 'cis', 'intro. to statistics', 3.0);
34
+ insert into course values('qm-362', 'cis', 'statistical applications', 4.0);
35
+
36
+ create table department (
37
+ dept_code text,
38
+ dept_name text,
39
+ school_code text,
40
+ emp_num integer,
41
+ dept_address text,
42
+ dept_extension text
43
+ );
44
+ insert into department values('acct', 'accounting', 'bus', 114, 'klr 211 box 52', 3119);
45
+ insert into department values('art', 'fine arts', 'a&sci', 435, 'bbg 185 box 128', 2278);
46
+ insert into department values('biol', 'biology', 'a&sci', 387, 'aak 230 box 415', 4117);
47
+ insert into department values('cis', 'computer info. systems', 'bus', 209, 'klr 333 box 56', 3245);
48
+ insert into department values('econ/fin', 'economics/finance', 'bus', 299, 'klr 284 box 63', 3126);
49
+ insert into department values('eng', 'english', 'a&sci', 160, 'dre 102 box 223', 1004);
50
+ insert into department values('hist', 'history', 'a&sci', 103, 'dre 156 box 284', 1867);
51
+ insert into department values('math', 'mathematics', 'a&sci', 297, 'aak 194 box 422', 4234);
52
+ insert into department values('mkt/mgt', 'marketing/management', 'bus', 106, 'klr 126 box 55', 3342);
53
+ insert into department values('psych', 'psychology', 'a&sci', 195, 'aak 297 box 438', 4110);
54
+ insert into department values('soc', 'sociology', 'a&sci', 342, 'bbg 208 box 132', 2008);
55
+
56
+ create table employee (
57
+ emp_num integer,
58
+ emp_lname text,
59
+ emp_fname text,
60
+ emp_initial text,
61
+ emp_jobcode text,
62
+ emp_hiredate text,
63
+ emp_dob text
64
+ );
65
+ insert into employee values(100, 'worley', 'james', 'f', 'cust', '1978-2-23', '1950-6-12');
66
+ insert into employee values(101, 'ramso', 'henry', 'b', 'cust', '1994-11-15', '1961-11-2');
67
+ insert into employee values(102, 'edwards', 'rosemary', 'd', 'tech', '1990-7-23', '1953-7-3');
68
+ insert into employee values(103, 'donelly', 'ronald', 'o', 'prof', '1987-7-1', '1952-10-2');
69
+ insert into employee values(104, 'yukon', 'preston', 'd', 'prof', '1992-5-1', '1948-2-23');
70
+ insert into employee values(105, 'heffington', 'arnelle', 'b', 'prof', '1991-7-1', '1950-11-2');
71
+ insert into employee values(106, 'washington', 'ross', 'e', 'prof', '1976-8-1', '1941-3-4');
72
+ insert into employee values(108, 'robertson', 'elaine', 'w', 'tech', '1983-10-18', '1961-6-20');
73
+ insert into employee values(110, 'thieu', 'van', 's', 'prof', '1989-8-1', '1951-8-12');
74
+ insert into employee values(114, 'graztevski', 'gerald', 'b', 'prof', '1978-8-1', '1939-3-18');
75
+ insert into employee values(122, 'wilson', 'todd', 'h', 'cust', '1990-11-6', '1966-10-19');
76
+ insert into employee values(123, 'jones', 'suzanne', 'b', 'tech', '1994-1-5', '1967-12-30');
77
+ insert into employee values(124, 'smith', 'elsa', 'k', 'clrk', '1982-12-16', '1943-9-13');
78
+ insert into employee values(126, 'ardano', 'james', 'g', 'clrk', '1994-10-1', '1970-3-12');
79
+ insert into employee values(155, 'ritula', 'annelise', '', 'prof', '1990-8-1', '1957-5-24');
80
+ insert into employee values(160, 'smith', 'robert', 't', 'prof', '1992-8-1', '1955-6-19');
81
+ insert into employee values(161, 'watson', 'george', 'f', 'cust', '1994-11-1', '1962-10-2');
82
+ insert into employee values(162, 'rob', 'peter', '', 'prof', '1981-8-1', '1940-6-20');
83
+ insert into employee values(165, 'williamson', 'kathryn', 'a', 'clrk', '1992-6-15', '1968-11-17');
84
+ insert into employee values(166, 'herndon', 'jill', 'm', 'tech', '1990-8-18', '1965-8-29');
85
+ insert into employee values(173, 'teng', 'weston', 'j', 'tech', '1980-7-15', '1951-11-17');
86
+ insert into employee values(191, 'dexter', 'willa', 'n', 'prof', '1984-8-1', '1953-5-17');
87
+ insert into employee values(195, 'williams', 'herman', 'h', 'prof', '1988-8-1', '1955-11-19');
88
+ insert into employee values(209, 'smith', 'melanie', 'k', 'prof', '1983-8-1', '1946-5-24');
89
+ insert into employee values(228, 'coronel', 'carlos', 'm', 'prof', '1988-8-1', '1949-5-16');
90
+ insert into employee values(231, 'shebert', 'rebecca', 'a', 'cust', '1994-2-21', '1963-2-27');
91
+ insert into employee values(297, 'jones', 'hermine', '', 'prof', '1985-1-1', '1950-7-4');
92
+ insert into employee values(299, 'stoddard', 'doreen', 'l', 'prof', '1994-8-1', '1960-4-25');
93
+ insert into employee values(301, 'osaki', 'ismael', 'k', 'prof', '1989-8-1', '1952-5-25');
94
+ insert into employee values(333, 'jordan', 'julian', 'h', 'tech', '1991-4-23', '1968-7-16');
95
+ insert into employee values(335, 'okomoto', 'ronald', 'f', 'prof', '1975-8-1', '1944-3-3');
96
+ insert into employee values(342, 'smith', 'robert', 'a', 'prof', '1978-8-1', '1937-12-30');
97
+ insert into employee values(387, 'smithson', 'george', 'd', 'prof', '1982-8-1', '1948-10-1');
98
+ insert into employee values(401, 'blalock', 'james', 'g', 'prof', '1981-8-1', '1945-3-15');
99
+ insert into employee values(412, 'smith', 'robert', 'e', 'cust', '1985-6-24', '1963-9-25');
100
+ insert into employee values(425, 'matler', 'ralph', 'f', 'prof', '1995-8-1', '1973-12-2');
101
+ insert into employee values(435, 'doornberg', 'anne', 'd', 'prof', '1992-8-1', '1963-10-2');
102
+
103
+ create table professor (
104
+ emp_num integer,
105
+ dept_code text,
106
+ prof_office text,
107
+ prof_extension text,
108
+ prof_high_degree text
109
+ );
110
+ insert into professor values(103, 'hist', 'dre 156', 6783, 'ph.d.');
111
+ insert into professor values(104, 'eng', 'dre 102', 5561, 'ma');
112
+ insert into professor values(105, 'acct', 'klr 229d', 8665, 'ph.d.');
113
+ insert into professor values(106, 'mkt/mgt', 'klr 126', 3899, 'ph.d.');
114
+ insert into professor values(110, 'biol', 'aak 160', 3412, 'ph.d.');
115
+ insert into professor values(114, 'acct', 'klr 211', 4436, 'ph.d.');
116
+ insert into professor values(155, 'math', 'aak 201', 4440, 'ph.d.');
117
+ insert into professor values(160, 'eng', 'dre 102', 2248, 'ph.d.');
118
+ insert into professor values(162, 'cis', 'klr 203e', 2359, 'ph.d.');
119
+ insert into professor values(191, 'mkt/mgt', 'klr 409b', 4016, 'dba');
120
+ insert into professor values(195, 'psych', 'aak 297', 3550, 'ph.d.');
121
+ insert into professor values(209, 'cis', 'klr 333', 3421, 'ph.d.');
122
+ insert into professor values(228, 'cis', 'klr 300', 3000, 'ph.d.');
123
+ insert into professor values(297, 'math', 'aak 194', 1145, 'ph.d.');
124
+ insert into professor values(299, 'econ/fin', 'klr 284', 2851, 'ph.d.');
125
+ insert into professor values(301, 'acct', 'klr 244', 4683, 'ph.d.');
126
+ insert into professor values(335, 'eng', 'dre 208', 2000, 'ph.d.');
127
+ insert into professor values(342, 'soc', 'bbg 208', 5514, 'ph.d.');
128
+ insert into professor values(387, 'biol', 'aak 230', 8665, 'ph.d.');
129
+ insert into professor values(401, 'hist', 'dre 156', 6783, 'ma');
130
+ insert into professor values(425, 'econ/fin', 'klr 284', 2851, 'mba');
131
+ insert into professor values(435, 'art', 'bbg 185', 2278, 'ph.d.');
132
+ create table student_enroll (
133
+ stu_num integer,
134
+ stu_lname text,
135
+ stu_fname text,
136
+ stu_init text,
137
+ stu_dob text,
138
+ stu_hrs integer,
139
+ stu_class text,
140
+ stu_gpa real,
141
+ stu_transfer integer,
142
+ dept_code text,
143
+ stu_phone text,
144
+ prof_num integer,
145
+ class_code text,
146
+ enroll_grade text);
147
+ insert into student_enroll values(321452, 'bowser', 'william', 'c', '1975-2-12', 42, 'so', 2.84, 0, 'biol', '2134', 205, '10014', 'c');
148
+ insert into student_enroll values(321452, 'bowser', 'william', 'c', '1975-2-12', 42, 'so', 2.84, 0, 'biol', '2134', 205, '10018', 'a');
149
+ insert into student_enroll values(321452, 'bowser', 'william', 'c', '1975-2-12', 42, 'so', 2.84, 0, 'biol', '2134', 205, '10021', 'c');
150
+ insert into student_enroll values(324257, 'smithson', 'anne', 'k', '1981-11-15', 81, 'jr', 3.27, 1, 'cis', '2256', 222, '10014', 'b');
151
+ insert into student_enroll values(324257, 'smithson', 'anne', 'k', '1981-11-15', 81, 'jr', 3.27, 1, 'cis', '2256', 222, '10018', 'b');
152
+ insert into student_enroll values(324257, 'smithson', 'anne', 'k', '1981-11-15', 81, 'jr', 3.27, 1, 'cis', '2256', 222, '10021', 'c');
153
+ insert into student_enroll values(324258, 'brewer', 'juliette', '', '1969-8-23', 36, 'so', 2.26, 1, 'acct', '2256', 228, 'None', 'None');
154
+ insert into student_enroll values(324269, 'oblonski', 'walter', 'h', '1976-9-16', 66, 'jr', 3.09, 0, 'cis', '2114', 222, 'None', 'None');
155
+ insert into student_enroll values(324273, 'smith', 'john', 'd', '1958-12-30', 102, 'sr', 2.11, 1, 'engl', '2231', 199, 'None', 'None');
156
+ insert into student_enroll values(324274, 'katinga', 'raphael', 'p', '1979-10-21', 114, 'sr', 3.15, 0, 'acct', '2267', 228, 'None', 'None');
157
+ insert into student_enroll values(324291, 'robertson', 'gerald', 't', '1973-4-8', 120, 'sr', 3.87, 0, 'edu', '2267', 311, 'None', 'None');
158
+ insert into student_enroll values(324299, 'smith', 'john', 'b', '1986-11-30', 15, 'fr', 2.92, 0, 'acct', '2315', 230, 'None', 'None');
159
+
all/databases/college_1_minus_1_2/college_1_minus_1_2.sqlite ADDED
Binary file (28.7 kB). View file
 
all/databases/college_1_total_0/college_1_total_0.sql ADDED
@@ -0,0 +1,142 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ create table employee (
2
+ emp_num integer,
3
+ emp_lname text,
4
+ emp_fname text,
5
+ emp_initial text,
6
+ emp_jobcode text,
7
+ emp_hiredate text,
8
+ emp_dob text
9
+ );
10
+ insert into employee values(100, 'worley', 'james', 'f', 'cust', '1978-2-23', '1950-6-12');
11
+ insert into employee values(101, 'ramso', 'henry', 'b', 'cust', '1994-11-15', '1961-11-2');
12
+ insert into employee values(102, 'edwards', 'rosemary', 'd', 'tech', '1990-7-23', '1953-7-3');
13
+ insert into employee values(103, 'donelly', 'ronald', 'o', 'prof', '1987-7-1', '1952-10-2');
14
+ insert into employee values(104, 'yukon', 'preston', 'd', 'prof', '1992-5-1', '1948-2-23');
15
+ insert into employee values(105, 'heffington', 'arnelle', 'b', 'prof', '1991-7-1', '1950-11-2');
16
+ insert into employee values(106, 'washington', 'ross', 'e', 'prof', '1976-8-1', '1941-3-4');
17
+ insert into employee values(108, 'robertson', 'elaine', 'w', 'tech', '1983-10-18', '1961-6-20');
18
+ insert into employee values(110, 'thieu', 'van', 's', 'prof', '1989-8-1', '1951-8-12');
19
+ insert into employee values(114, 'graztevski', 'gerald', 'b', 'prof', '1978-8-1', '1939-3-18');
20
+ insert into employee values(122, 'wilson', 'todd', 'h', 'cust', '1990-11-6', '1966-10-19');
21
+ insert into employee values(123, 'jones', 'suzanne', 'b', 'tech', '1994-1-5', '1967-12-30');
22
+ insert into employee values(124, 'smith', 'elsa', 'k', 'clrk', '1982-12-16', '1943-9-13');
23
+ insert into employee values(126, 'ardano', 'james', 'g', 'clrk', '1994-10-1', '1970-3-12');
24
+ insert into employee values(155, 'ritula', 'annelise', '', 'prof', '1990-8-1', '1957-5-24');
25
+ insert into employee values(160, 'smith', 'robert', 't', 'prof', '1992-8-1', '1955-6-19');
26
+ insert into employee values(161, 'watson', 'george', 'f', 'cust', '1994-11-1', '1962-10-2');
27
+ insert into employee values(162, 'rob', 'peter', '', 'prof', '1981-8-1', '1940-6-20');
28
+ insert into employee values(165, 'williamson', 'kathryn', 'a', 'clrk', '1992-6-15', '1968-11-17');
29
+ insert into employee values(166, 'herndon', 'jill', 'm', 'tech', '1990-8-18', '1965-8-29');
30
+ insert into employee values(173, 'teng', 'weston', 'j', 'tech', '1980-7-15', '1951-11-17');
31
+ insert into employee values(191, 'dexter', 'willa', 'n', 'prof', '1984-8-1', '1953-5-17');
32
+ insert into employee values(195, 'williams', 'herman', 'h', 'prof', '1988-8-1', '1955-11-19');
33
+ insert into employee values(209, 'smith', 'melanie', 'k', 'prof', '1983-8-1', '1946-5-24');
34
+ insert into employee values(228, 'coronel', 'carlos', 'm', 'prof', '1988-8-1', '1949-5-16');
35
+ insert into employee values(231, 'shebert', 'rebecca', 'a', 'cust', '1994-2-21', '1963-2-27');
36
+ insert into employee values(297, 'jones', 'hermine', '', 'prof', '1985-1-1', '1950-7-4');
37
+ insert into employee values(299, 'stoddard', 'doreen', 'l', 'prof', '1994-8-1', '1960-4-25');
38
+ insert into employee values(301, 'osaki', 'ismael', 'k', 'prof', '1989-8-1', '1952-5-25');
39
+ insert into employee values(333, 'jordan', 'julian', 'h', 'tech', '1991-4-23', '1968-7-16');
40
+ insert into employee values(335, 'okomoto', 'ronald', 'f', 'prof', '1975-8-1', '1944-3-3');
41
+ insert into employee values(342, 'smith', 'robert', 'a', 'prof', '1978-8-1', '1937-12-30');
42
+ insert into employee values(387, 'smithson', 'george', 'd', 'prof', '1982-8-1', '1948-10-1');
43
+ insert into employee values(401, 'blalock', 'james', 'g', 'prof', '1981-8-1', '1945-3-15');
44
+ insert into employee values(412, 'smith', 'robert', 'e', 'cust', '1985-6-24', '1963-9-25');
45
+ insert into employee values(425, 'matler', 'ralph', 'f', 'prof', '1995-8-1', '1973-12-2');
46
+ insert into employee values(435, 'doornberg', 'anne', 'd', 'prof', '1992-8-1', '1963-10-2');
47
+
48
+ create table professor (
49
+ emp_num integer,
50
+ dept_code text,
51
+ prof_office text,
52
+ prof_extension text,
53
+ prof_high_degree text
54
+ );
55
+ insert into professor values(103, 'hist', 'dre 156', 6783, 'ph.d.');
56
+ insert into professor values(104, 'eng', 'dre 102', 5561, 'ma');
57
+ insert into professor values(105, 'acct', 'klr 229d', 8665, 'ph.d.');
58
+ insert into professor values(106, 'mkt/mgt', 'klr 126', 3899, 'ph.d.');
59
+ insert into professor values(110, 'biol', 'aak 160', 3412, 'ph.d.');
60
+ insert into professor values(114, 'acct', 'klr 211', 4436, 'ph.d.');
61
+ insert into professor values(155, 'math', 'aak 201', 4440, 'ph.d.');
62
+ insert into professor values(160, 'eng', 'dre 102', 2248, 'ph.d.');
63
+ insert into professor values(162, 'cis', 'klr 203e', 2359, 'ph.d.');
64
+ insert into professor values(191, 'mkt/mgt', 'klr 409b', 4016, 'dba');
65
+ insert into professor values(195, 'psych', 'aak 297', 3550, 'ph.d.');
66
+ insert into professor values(209, 'cis', 'klr 333', 3421, 'ph.d.');
67
+ insert into professor values(228, 'cis', 'klr 300', 3000, 'ph.d.');
68
+ insert into professor values(297, 'math', 'aak 194', 1145, 'ph.d.');
69
+ insert into professor values(299, 'econ/fin', 'klr 284', 2851, 'ph.d.');
70
+ insert into professor values(301, 'acct', 'klr 244', 4683, 'ph.d.');
71
+ insert into professor values(335, 'eng', 'dre 208', 2000, 'ph.d.');
72
+ insert into professor values(342, 'soc', 'bbg 208', 5514, 'ph.d.');
73
+ insert into professor values(387, 'biol', 'aak 230', 8665, 'ph.d.');
74
+ insert into professor values(401, 'hist', 'dre 156', 6783, 'ma');
75
+ insert into professor values(425, 'econ/fin', 'klr 284', 2851, 'mba');
76
+ insert into professor values(435, 'art', 'bbg 185', 2278, 'ph.d.');
77
+
78
+ create table student (
79
+ stu_num integer,
80
+ stu_lname text,
81
+ stu_fname text,
82
+ stu_init text,
83
+ stu_dob text,
84
+ stu_hrs integer,
85
+ stu_class text,
86
+ stu_gpa real,
87
+ stu_transfer integer,
88
+ dept_code text,
89
+ stu_phone text,
90
+ prof_num integer
91
+ );
92
+ insert into student values(321452, 'bowser', 'william', 'c', '1975-2-12', 42, 'so', 2.84, 0, 'biol', 2134, 205);
93
+ insert into student values(324257, 'smithson', 'anne', 'k', '1981-11-15', 81, 'jr', 3.27, 1, 'cis', 2256, 222);
94
+ insert into student values(324258, 'brewer', 'juliette', '', '1969-8-23', 36, 'so', 2.26, 1, 'acct', 2256, 228);
95
+ insert into student values(324269, 'oblonski', 'walter', 'h', '1976-9-16', 66, 'jr', 3.09, 0, 'cis', 2114, 222);
96
+ insert into student values(324273, 'smith', 'john', 'd', '1958-12-30', 102, 'sr', 2.11, 1, 'engl', 2231, 199);
97
+ insert into student values(324274, 'katinga', 'raphael', 'p', '1979-10-21', 114, 'sr', 3.15, 0, 'acct', 2267, 228);
98
+ insert into student values(324291, 'robertson', 'gerald', 't', '1973-4-8', 120, 'sr', 3.87, 0, 'edu', 2267, 311);
99
+ insert into student values(324299, 'smith', 'john', 'b', '1986-11-30', 15, 'fr', 2.92, 0, 'acct', 2315, 230);
100
+ create table class_enroll_course_department (
101
+ class_code text,
102
+ crs_code text,
103
+ class_section text,
104
+ class_time text,
105
+ class_room text,
106
+ prof_num integer,
107
+ stu_num integer,
108
+ enroll_grade text,
109
+ dept_code text,
110
+ crs_description text,
111
+ crs_credit real,
112
+ dept_name text,
113
+ school_code text,
114
+ emp_num integer,
115
+ dept_address text,
116
+ dept_extension text);
117
+ insert into class_enroll_course_department values('10012', 'acct-211', '1', 'mwf 8:00-8:50 a.m.', 'bus311', 105, 'None', 'None', 'acct', 'accounting i', 3.0, 'accounting', 'bus', 114, 'klr 211 box 52', '3119');
118
+ insert into class_enroll_course_department values('10013', 'acct-211', '2', 'mwf 9:00-9:50 a.m.', 'bus200', 105, 'None', 'None', 'acct', 'accounting i', 3.0, 'accounting', 'bus', 114, 'klr 211 box 52', '3119');
119
+ insert into class_enroll_course_department values('10014', 'acct-211', '3', 'tth 2:30-3:45 p.m.', 'bus252', 342, 321452, 'c', 'acct', 'accounting i', 3.0, 'accounting', 'bus', 114, 'klr 211 box 52', '3119');
120
+ insert into class_enroll_course_department values('10014', 'acct-211', '3', 'tth 2:30-3:45 p.m.', 'bus252', 342, 324257, 'b', 'acct', 'accounting i', 3.0, 'accounting', 'bus', 114, 'klr 211 box 52', '3119');
121
+ insert into class_enroll_course_department values('10015', 'acct-212', '1', 'mwf 10:00-10:50 a.m.', 'bus311', 301, 'None', 'None', 'acct', 'accounting ii', 3.0, 'accounting', 'bus', 114, 'klr 211 box 52', '3119');
122
+ insert into class_enroll_course_department values('10016', 'acct-212', '2', 'th 6:00-8:40 p.m.', 'bus252', 301, 'None', 'None', 'acct', 'accounting ii', 3.0, 'accounting', 'bus', 114, 'klr 211 box 52', '3119');
123
+ insert into class_enroll_course_department values('10017', 'cis-220', '1', 'mwf 9:00-9:50 a.m.', 'klr209', 228, 'None', 'None', 'cis', 'intro. to microcomputing', 3.0, 'computer info. systems', 'bus', 209, 'klr 333 box 56', '3245');
124
+ insert into class_enroll_course_department values('10018', 'cis-220', '2', 'mwf 9:00-9:50 a.m.', 'klr211', 114, 321452, 'a', 'cis', 'intro. to microcomputing', 3.0, 'computer info. systems', 'bus', 209, 'klr 333 box 56', '3245');
125
+ insert into class_enroll_course_department values('10018', 'cis-220', '2', 'mwf 9:00-9:50 a.m.', 'klr211', 114, 324257, 'b', 'cis', 'intro. to microcomputing', 3.0, 'computer info. systems', 'bus', 209, 'klr 333 box 56', '3245');
126
+ insert into class_enroll_course_department values('10019', 'cis-220', '3', 'mwf 10:00-10:50 a.m.', 'klr209', 228, 'None', 'None', 'cis', 'intro. to microcomputing', 3.0, 'computer info. systems', 'bus', 209, 'klr 333 box 56', '3245');
127
+ insert into class_enroll_course_department values('10020', 'cis-420', '1', 'w 6:00-8:40 p.m.', 'klr209', 162, 'None', 'None', 'cis', 'database design and implementation', 4.0, 'computer info. systems', 'bus', 209, 'klr 333 box 56', '3245');
128
+ insert into class_enroll_course_department values('10021', 'qm-261', '1', 'mwf 8:00-8:50 a.m.', 'klr200', 114, 321452, 'c', 'cis', 'intro. to statistics', 3.0, 'computer info. systems', 'bus', 209, 'klr 333 box 56', '3245');
129
+ insert into class_enroll_course_department values('10021', 'qm-261', '1', 'mwf 8:00-8:50 a.m.', 'klr200', 114, 324257, 'c', 'cis', 'intro. to statistics', 3.0, 'computer info. systems', 'bus', 209, 'klr 333 box 56', '3245');
130
+ insert into class_enroll_course_department values('10022', 'qm-261', '2', 'tth 1:00-2:15 p.m.', 'klr200', 114, 'None', 'None', 'cis', 'intro. to statistics', 3.0, 'computer info. systems', 'bus', 209, 'klr 333 box 56', '3245');
131
+ insert into class_enroll_course_department values('10023', 'qm-362', '1', 'mwf 11:00-11:50 a.m.', 'klr200', 162, 'None', 'None', 'cis', 'statistical applications', 4.0, 'computer info. systems', 'bus', 209, 'klr 333 box 56', '3245');
132
+ insert into class_enroll_course_department values('10024', 'qm-362', '2', 'tth 2:30-3:45 p.m.', 'klr200', 162, 'None', 'None', 'cis', 'statistical applications', 4.0, 'computer info. systems', 'bus', 209, 'klr 333 box 56', '3245');
133
+ insert into class_enroll_course_department values('None', 'None', 'None', 'None', 'None', 'None', 'None', 'None', 'art', 'None', 'None', 'fine arts', 'a&sci', 435, 'bbg 185 box 128', '2278');
134
+ insert into class_enroll_course_department values('None', 'None', 'None', 'None', 'None', 'None', 'None', 'None', 'biol', 'None', 'None', 'biology', 'a&sci', 387, 'aak 230 box 415', '4117');
135
+ insert into class_enroll_course_department values('None', 'None', 'None', 'None', 'None', 'None', 'None', 'None', 'econ/fin', 'None', 'None', 'economics/finance', 'bus', 299, 'klr 284 box 63', '3126');
136
+ insert into class_enroll_course_department values('None', 'None', 'None', 'None', 'None', 'None', 'None', 'None', 'eng', 'None', 'None', 'english', 'a&sci', 160, 'dre 102 box 223', '1004');
137
+ insert into class_enroll_course_department values('None', 'None', 'None', 'None', 'None', 'None', 'None', 'None', 'hist', 'None', 'None', 'history', 'a&sci', 103, 'dre 156 box 284', '1867');
138
+ insert into class_enroll_course_department values('None', 'None', 'None', 'None', 'None', 'None', 'None', 'None', 'math', 'None', 'None', 'mathematics', 'a&sci', 297, 'aak 194 box 422', '4234');
139
+ insert into class_enroll_course_department values('None', 'None', 'None', 'None', 'None', 'None', 'None', 'None', 'mkt/mgt', 'None', 'None', 'marketing/management', 'bus', 106, 'klr 126 box 55', '3342');
140
+ insert into class_enroll_course_department values('None', 'None', 'None', 'None', 'None', 'None', 'None', 'None', 'psych', 'None', 'None', 'psychology', 'a&sci', 195, 'aak 297 box 438', '4110');
141
+ insert into class_enroll_course_department values('None', 'None', 'None', 'None', 'None', 'None', 'None', 'None', 'soc', 'None', 'None', 'sociology', 'a&sci', 342, 'bbg 208 box 132', '2008');
142
+
all/databases/college_1_total_0/college_1_total_0.sqlite ADDED
Binary file (20.5 kB). View file
 
all/databases/college_2/college_2.sql ADDED
@@ -0,0 +1,912 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CREATE TABLE "classroom" (
2
+ "building" text,
3
+ "room_number" text,
4
+ "capacity" integer
5
+ );
6
+
7
+ INSERT INTO classroom VALUES ("alumni", "143", 10);
8
+ INSERT INTO classroom VALUES ("alumni", "547", 10);
9
+ INSERT INTO classroom VALUES ("bronfman", "700", 27);
10
+ INSERT INTO classroom VALUES ("chandler", "375", 92);
11
+ INSERT INTO classroom VALUES ("chandler", "804", 34);
12
+ INSERT INTO classroom VALUES ("drown", "757", 120);
13
+ INSERT INTO classroom VALUES ("fairchild", "145", 10);
14
+ INSERT INTO classroom VALUES ("garfield", "119", 115);
15
+ INSERT INTO classroom VALUES ("gates", "314", 109);
16
+ INSERT INTO classroom VALUES ("gates", "707", 97);
17
+ INSERT INTO classroom VALUES ("grace", "40", 26);
18
+ INSERT INTO classroom VALUES ("lambeau", "348", 47);
19
+ INSERT INTO classroom VALUES ("lamberton", "134", 18);
20
+ INSERT INTO classroom VALUES ("lamberton", "143", 15);
21
+ INSERT INTO classroom VALUES ("main", "425", 32);
22
+ INSERT INTO classroom VALUES ("main", "45", 24);
23
+ INSERT INTO classroom VALUES ("nassau", "45", 12);
24
+ INSERT INTO classroom VALUES ("painter", "86", 28);
25
+ INSERT INTO classroom VALUES ("polya", "808", 65);
26
+ INSERT INTO classroom VALUES ("power", "717", 10);
27
+ INSERT INTO classroom VALUES ("power", "972", 30);
28
+ INSERT INTO classroom VALUES ("rathbone", "261", 71);
29
+ INSERT INTO classroom VALUES ("saucon", "113", 10);
30
+ INSERT INTO classroom VALUES ("saucon", "180", 59);
31
+ INSERT INTO classroom VALUES ("saucon", "844", 60);
32
+ INSERT INTO classroom VALUES ("stabler", "105", 113);
33
+ INSERT INTO classroom VALUES ("taylor", "183", 12);
34
+ INSERT INTO classroom VALUES ("taylor", "812", 22);
35
+ INSERT INTO classroom VALUES ("whitman", "134", 51);
36
+ INSERT INTO classroom VALUES ("whitman", "434", 11);
37
+
38
+ CREATE TABLE "department" (
39
+ "dept_name" text,
40
+ "building" text,
41
+ "budget" real
42
+ );
43
+
44
+ INSERT INTO department VALUES ("accounting", "chandler", 255041.46);
45
+ INSERT INTO department VALUES ("astronomy", "candlestick", 647610.55);
46
+ INSERT INTO department VALUES ("athletics", "taylor", 699140.86);
47
+ INSERT INTO department VALUES ("biology", "wrigley", 942162.76);
48
+ INSERT INTO department VALUES ("civil eng.", "lambeau", 210627.58);
49
+ INSERT INTO department VALUES ("comp. sci.", "whitman", 573745.09);
50
+ INSERT INTO department VALUES ("cybernetics", "palmer", 611042.66);
51
+ INSERT INTO department VALUES ("elec. eng.", "saucon", 441840.92);
52
+ INSERT INTO department VALUES ("english", "lamberton", 106378.69);
53
+ INSERT INTO department VALUES ("finance", "linderman", 601283.6);
54
+ INSERT INTO department VALUES ("geology", "candlestick", 866831.75);
55
+ INSERT INTO department VALUES ("history", "palmer", 406557.93);
56
+ INSERT INTO department VALUES ("languages", "mercer", 794541.46);
57
+ INSERT INTO department VALUES ("marketing", "taylor", 617253.94);
58
+ INSERT INTO department VALUES ("math", "bronfman", 734550.7);
59
+ INSERT INTO department VALUES ("mech. eng.", "taylor", 395051.74);
60
+ INSERT INTO department VALUES ("physics", "thompson", 848175.04);
61
+ INSERT INTO department VALUES ("pol. sci.", "brodhead", 777605.11);
62
+ INSERT INTO department VALUES ("psychology", "main", 276527.61);
63
+ INSERT INTO department VALUES ("statistics", "rauch", 520350.65);
64
+
65
+ CREATE TABLE "course" (
66
+ "course_id" text,
67
+ "title" text,
68
+ "dept_name" text,
69
+ "credits" integer
70
+ );
71
+
72
+ INSERT INTO course VALUES ("101", "c programming", "mech. eng.", 4);
73
+ INSERT INTO course VALUES ("105", "the music of donovan", "mech. eng.", 3);
74
+ INSERT INTO course VALUES ("123", "electron microscopy", "mech. eng.", 3);
75
+ INSERT INTO course VALUES ("127", "international finance", "comp. sci.", 3);
76
+ INSERT INTO course VALUES ("130", "greek tragedy", "statistics", 4);
77
+ INSERT INTO course VALUES ("133", "greek tragedy", "psychology", 4);
78
+ INSERT INTO course VALUES ("137", "virology", "biology", 3);
79
+ INSERT INTO course VALUES ("139", "compiler design", "elec. eng.", 3);
80
+ INSERT INTO course VALUES ("158", "geology", "mech. eng.", 3);
81
+ INSERT INTO course VALUES ("169", "mobile computing", "physics", 3);
82
+ INSERT INTO course VALUES ("190", "surfing", "cybernetics", 3);
83
+ INSERT INTO course VALUES ("192", "international trade", "marketing", 3);
84
+ INSERT INTO course VALUES ("195", "latin", "mech. eng.", 3);
85
+ INSERT INTO course VALUES ("200", "composition and literature", "cybernetics", 3);
86
+ INSERT INTO course VALUES ("209", "music of the 50s", "history", 3);
87
+ INSERT INTO course VALUES ("224", "biostatistics", "geology", 3);
88
+ INSERT INTO course VALUES ("227", "graph theory", "psychology", 3);
89
+ INSERT INTO course VALUES ("235", "visual basic", "psychology", 4);
90
+ INSERT INTO course VALUES ("236", "how to groom your cat", "accounting", 3);
91
+ INSERT INTO course VALUES ("237", "finite element analysis", "cybernetics", 3);
92
+ INSERT INTO course VALUES ("238", "the monkeys", "history", 4);
93
+ INSERT INTO course VALUES ("239", "rock and roll", "marketing", 3);
94
+ INSERT INTO course VALUES ("241", "focal programming", "psychology", 4);
95
+ INSERT INTO course VALUES ("242", "calculus", "pol. sci.", 4);
96
+ INSERT INTO course VALUES ("254", "environmental law", "math", 4);
97
+ INSERT INTO course VALUES ("258", "the beatles", "math", 3);
98
+ INSERT INTO course VALUES ("265", "marine mammals", "geology", 4);
99
+ INSERT INTO course VALUES ("267", "game programming", "cybernetics", 4);
100
+ INSERT INTO course VALUES ("270", "shakespeare", "pol. sci.", 4);
101
+ INSERT INTO course VALUES ("272", "world history", "finance", 4);
102
+ INSERT INTO course VALUES ("274", "tort law", "civil eng.", 3);
103
+ INSERT INTO course VALUES ("275", "corporate law", "comp. sci.", 4);
104
+ INSERT INTO course VALUES ("276", "video gaming", "finance", 3);
105
+ INSERT INTO course VALUES ("278", "world history", "athletics", 4);
106
+ INSERT INTO course VALUES ("284", "bankruptcy", "accounting", 3);
107
+ INSERT INTO course VALUES ("292", "organic chemistry", "english", 4);
108
+ INSERT INTO course VALUES ("304", "existentialism", "finance", 3);
109
+ INSERT INTO course VALUES ("313", "quantum mechanics", "elec. eng.", 4);
110
+ INSERT INTO course VALUES ("318", "embedded systems", "finance", 4);
111
+ INSERT INTO course VALUES ("319", "quantum mechanics", "cybernetics", 3);
112
+ INSERT INTO course VALUES ("324", "marine mammals", "cybernetics", 3);
113
+ INSERT INTO course VALUES ("328", "the ibm 360 architecture", "history", 3);
114
+ INSERT INTO course VALUES ("334", "marine mammals", "elec. eng.", 3);
115
+ INSERT INTO course VALUES ("337", "electricity and magnetism", "civil eng.", 3);
116
+ INSERT INTO course VALUES ("338", "elastic structures", "languages", 4);
117
+ INSERT INTO course VALUES ("340", "transaction processing", "psychology", 3);
118
+ INSERT INTO course VALUES ("341", "computational biology", "english", 3);
119
+ INSERT INTO course VALUES ("344", "cost accounting", "physics", 4);
120
+ INSERT INTO course VALUES ("345", "journalism", "astronomy", 4);
121
+ INSERT INTO course VALUES ("348", "geology", "psychology", 3);
122
+ INSERT INTO course VALUES ("349", "physical chemistry", "math", 3);
123
+ INSERT INTO course VALUES ("352", "image processing", "astronomy", 3);
124
+ INSERT INTO course VALUES ("353", "industrial organization", "languages", 4);
125
+ INSERT INTO course VALUES ("359", "security", "cybernetics", 3);
126
+ INSERT INTO course VALUES ("362", "immunology", "civil eng.", 4);
127
+ INSERT INTO course VALUES ("366", "systems software", "history", 3);
128
+ INSERT INTO course VALUES ("371", "sanitary engineering", "athletics", 4);
129
+ INSERT INTO course VALUES ("376", "thermodynamics", "geology", 3);
130
+ INSERT INTO course VALUES ("377", "rpg programming", "pol. sci.", 4);
131
+ INSERT INTO course VALUES ("391", "japanese", "comp. sci.", 3);
132
+ INSERT INTO course VALUES ("392", "aquatic chemistry", "cybernetics", 3);
133
+ INSERT INTO course VALUES ("393", "international trade", "athletics", 3);
134
+ INSERT INTO course VALUES ("394", "differential geometry", "statistics", 3);
135
+ INSERT INTO course VALUES ("396", "database system concepts", "pol. sci.", 4);
136
+ INSERT INTO course VALUES ("399", "romantic literature", "civil eng.", 3);
137
+ INSERT INTO course VALUES ("400", "religion", "english", 3);
138
+ INSERT INTO course VALUES ("401", "existentialism", "athletics", 3);
139
+ INSERT INTO course VALUES ("403", "introduction to burglary", "cybernetics", 4);
140
+ INSERT INTO course VALUES ("407", "compiler design", "finance", 4);
141
+ INSERT INTO course VALUES ("408", "composition and literature", "statistics", 4);
142
+ INSERT INTO course VALUES ("411", "geology", "cybernetics", 3);
143
+ INSERT INTO course VALUES ("415", "operating systems", "psychology", 3);
144
+ INSERT INTO course VALUES ("416", "c programming", "athletics", 3);
145
+ INSERT INTO course VALUES ("421", "manufacturing", "finance", 3);
146
+ INSERT INTO course VALUES ("426", "drama", "languages", 4);
147
+ INSERT INTO course VALUES ("436", "medieval civilization or lack thereof", "english", 3);
148
+ INSERT INTO course VALUES ("442", "differential geometry", "astronomy", 4);
149
+ INSERT INTO course VALUES ("443", "bacteriology", "physics", 4);
150
+ INSERT INTO course VALUES ("445", "international trade", "math", 3);
151
+ INSERT INTO course VALUES ("451", "aquatic chemistry", "athletics", 4);
152
+ INSERT INTO course VALUES ("456", "service-oriented architectures", "comp. sci.", 4);
153
+ INSERT INTO course VALUES ("457", "number theory", "accounting", 4);
154
+ INSERT INTO course VALUES ("458", "sailing", "math", 4);
155
+ INSERT INTO course VALUES ("461", "physical chemistry", "history", 3);
156
+ INSERT INTO course VALUES ("468", "antidisestablishmentarianism in modern america", "biology", 4);
157
+ INSERT INTO course VALUES ("476", "hydraulics", "physics", 4);
158
+ INSERT INTO course VALUES ("482", "the music of the ramones", "accounting", 4);
159
+ INSERT INTO course VALUES ("486", "elastic structures", "english", 3);
160
+ INSERT INTO course VALUES ("487", "mechanics", "psychology", 4);
161
+ INSERT INTO course VALUES ("489", "hebrew", "civil eng.", 3);
162
+ INSERT INTO course VALUES ("493", "environmental law", "psychology", 3);
163
+ INSERT INTO course VALUES ("494", "computability theory", "math", 3);
164
+ INSERT INTO course VALUES ("496", "creative writing", "mech. eng.", 4);
165
+ INSERT INTO course VALUES ("500", "the monkeys", "astronomy", 4);
166
+ INSERT INTO course VALUES ("527", "composition and literature", "biology", 4);
167
+ INSERT INTO course VALUES ("539", "differential geometry", "statistics", 3);
168
+ INSERT INTO course VALUES ("544", "virology", "languages", 4);
169
+ INSERT INTO course VALUES ("545", "care and feeding of cats", "statistics", 3);
170
+ INSERT INTO course VALUES ("546", "international practicum", "comp. sci.", 4);
171
+ INSERT INTO course VALUES ("549", "geology", "math", 4);
172
+
173
+ CREATE TABLE "instructor" (
174
+ "id" text,
175
+ "name" text,
176
+ "dept_name" text,
177
+ "salary" real
178
+ );
179
+
180
+ INSERT INTO instructor VALUES ("14365", "mckinnon", "cybernetics", 94333.99);
181
+ INSERT INTO instructor VALUES ("15347", "pingr", "statistics", 59303.62);
182
+ INSERT INTO instructor VALUES ("16807", "mird", "marketing", 119921.41);
183
+ INSERT INTO instructor VALUES ("19368", "luo", "english", 88791.45);
184
+ INSERT INTO instructor VALUES ("22591", "murata", "athletics", 61387.56);
185
+ INSERT INTO instructor VALUES ("25946", "konstantinides", "languages", 32570.5);
186
+ INSERT INTO instructor VALUES ("28097", "levine", "elec. eng.", 89805.83);
187
+ INSERT INTO instructor VALUES ("28400", "shuming", "physics", 108011.81);
188
+ INSERT INTO instructor VALUES ("31955", "queiroz", "biology", 45538.32);
189
+ INSERT INTO instructor VALUES ("3199", "sullivan", "elec. eng.", 90038.09);
190
+ INSERT INTO instructor VALUES ("3335", "bertolino", "mech. eng.", 51647.57);
191
+ INSERT INTO instructor VALUES ("34175", "hau", "accounting", 43966.29);
192
+ INSERT INTO instructor VALUES ("35579", "voronina", "physics", 121141.99);
193
+ INSERT INTO instructor VALUES ("36897", "soisalon-soininen", "psychology", 62579.61);
194
+ INSERT INTO instructor VALUES ("37687", "moreira", "accounting", 71351.42);
195
+ INSERT INTO instructor VALUES ("4034", "arias", "statistics", 104563.38);
196
+ INSERT INTO instructor VALUES ("41930", "mingoz", "finance", 105311.38);
197
+ INSERT INTO instructor VALUES ("4233", "yazdi", "athletics", 98333.65);
198
+ INSERT INTO instructor VALUES ("42782", "lembr", "accounting", 32241.56);
199
+ INSERT INTO instructor VALUES ("43779", "choll", "statistics", 57807.09);
200
+ INSERT INTO instructor VALUES ("48507", "valtchev", "biology", 77036.18);
201
+ INSERT INTO instructor VALUES ("48570", "arinb", "statistics", 54805.11);
202
+ INSERT INTO instructor VALUES ("50330", "bawa", "athletics", 72140.88);
203
+ INSERT INTO instructor VALUES ("50885", "kenje", "marketing", 106554.73);
204
+ INSERT INTO instructor VALUES ("52647", "vicentino", "elec. eng.", 34272.67);
205
+ INSERT INTO instructor VALUES ("57180", "dusserre", "marketing", 66143.25);
206
+ INSERT INTO instructor VALUES ("58558", "jaekel", "athletics", 103146.87);
207
+ INSERT INTO instructor VALUES ("59795", "desyl", "languages", 48803.38);
208
+ INSERT INTO instructor VALUES ("63287", "dagostino", "psychology", 59706.49);
209
+ INSERT INTO instructor VALUES ("63395", "sarkar", "pol. sci.", 87549.8);
210
+ INSERT INTO instructor VALUES ("64871", "ullman", "accounting", 47307.1);
211
+ INSERT INTO instructor VALUES ("6569", "bancilhon", "pol. sci.", 87958.01);
212
+ INSERT INTO instructor VALUES ("65931", "liley", "languages", 90891.69);
213
+ INSERT INTO instructor VALUES ("72553", "morris", "marketing", 43770.36);
214
+ INSERT INTO instructor VALUES ("73623", "yin", "english", 46397.59);
215
+ INSERT INTO instructor VALUES ("74420", "gustafsson", "elec. eng.", 82534.37);
216
+ INSERT INTO instructor VALUES ("74426", "bondi", "comp. sci.", 115469.11);
217
+ INSERT INTO instructor VALUES ("77346", "lent", "mech. eng.", 107978.47);
218
+ INSERT INTO instructor VALUES ("78699", "pimenta", "cybernetics", 79866.95);
219
+ INSERT INTO instructor VALUES ("79081", "bourrier", "comp. sci.", 80797.83);
220
+ INSERT INTO instructor VALUES ("79653", "gutierrez", "statistics", 45310.53);
221
+ INSERT INTO instructor VALUES ("80759", "sakurai", "english", 118143.98);
222
+ INSERT INTO instructor VALUES ("81991", "romero", "astronomy", 79070.08);
223
+ INSERT INTO instructor VALUES ("90376", "mahmoud", "geology", 99382.59);
224
+ INSERT INTO instructor VALUES ("90643", "kean", "english", 35023.18);
225
+ INSERT INTO instructor VALUES ("95030", "bietzk", "cybernetics", 117836.5);
226
+ INSERT INTO instructor VALUES ("95709", "atanassov", "statistics", 84982.92);
227
+ INSERT INTO instructor VALUES ("96895", "tung", "athletics", 50482.03);
228
+ INSERT INTO instructor VALUES ("97302", "wieland", "pol. sci.", 124651.41);
229
+ INSERT INTO instructor VALUES ("99052", "dale", "cybernetics", 93348.83);
230
+
231
+ CREATE TABLE "section" (
232
+ "course_id" text,
233
+ "sec_id" text,
234
+ "semester" text,
235
+ "year" integer,
236
+ "building" text,
237
+ "room_number" text,
238
+ "time_slot_id" text
239
+ );
240
+
241
+ INSERT INTO section VALUES ("105", "1", "fall", 2009, "chandler", "804", "n");
242
+ INSERT INTO section VALUES ("105", "2", "fall", 2002, "gates", "314", "k");
243
+ INSERT INTO section VALUES ("137", "1", "spring", 2002, "whitman", "434", "o");
244
+ INSERT INTO section VALUES ("158", "1", "fall", 2008, "fairchild", "145", "b");
245
+ INSERT INTO section VALUES ("158", "2", "spring", 2008, "fairchild", "145", "d");
246
+ INSERT INTO section VALUES ("169", "1", "spring", 2007, "saucon", "844", "d");
247
+ INSERT INTO section VALUES ("169", "2", "fall", 2002, "alumni", "547", "j");
248
+ INSERT INTO section VALUES ("192", "1", "fall", 2002, "lamberton", "134", "j");
249
+ INSERT INTO section VALUES ("200", "1", "spring", 2007, "taylor", "183", "c");
250
+ INSERT INTO section VALUES ("200", "2", "fall", 2002, "saucon", "113", "j");
251
+ INSERT INTO section VALUES ("237", "1", "spring", 2008, "whitman", "434", "f");
252
+ INSERT INTO section VALUES ("237", "2", "fall", 2009, "drown", "757", "d");
253
+ INSERT INTO section VALUES ("239", "1", "fall", 2006, "power", "717", "d");
254
+ INSERT INTO section VALUES ("242", "1", "fall", 2009, "fairchild", "145", "g");
255
+ INSERT INTO section VALUES ("258", "1", "fall", 2007, "power", "717", "k");
256
+ INSERT INTO section VALUES ("270", "1", "spring", 2010, "saucon", "180", "f");
257
+ INSERT INTO section VALUES ("274", "1", "fall", 2002, "taylor", "183", "i");
258
+ INSERT INTO section VALUES ("304", "1", "fall", 2009, "taylor", "183", "e");
259
+ INSERT INTO section VALUES ("313", "1", "fall", 2010, "main", "45", "l");
260
+ INSERT INTO section VALUES ("319", "1", "spring", 2003, "bronfman", "700", "n");
261
+ INSERT INTO section VALUES ("334", "1", "fall", 2009, "polya", "808", "h");
262
+ INSERT INTO section VALUES ("338", "1", "spring", 2007, "saucon", "180", "m");
263
+ INSERT INTO section VALUES ("338", "2", "spring", 2006, "saucon", "113", "o");
264
+ INSERT INTO section VALUES ("345", "1", "spring", 2008, "taylor", "183", "e");
265
+ INSERT INTO section VALUES ("349", "1", "spring", 2008, "taylor", "812", "o");
266
+ INSERT INTO section VALUES ("352", "1", "spring", 2006, "main", "425", "n");
267
+ INSERT INTO section VALUES ("362", "1", "fall", 2005, "saucon", "844", "o");
268
+ INSERT INTO section VALUES ("362", "2", "fall", 2006, "saucon", "180", "p");
269
+ INSERT INTO section VALUES ("362", "3", "spring", 2008, "whitman", "134", "k");
270
+ INSERT INTO section VALUES ("366", "1", "fall", 2005, "lamberton", "134", "g");
271
+ INSERT INTO section VALUES ("376", "1", "fall", 2006, "main", "45", "k");
272
+ INSERT INTO section VALUES ("400", "1", "spring", 2007, "taylor", "183", "j");
273
+ INSERT INTO section VALUES ("400", "2", "fall", 2003, "saucon", "113", "k");
274
+ INSERT INTO section VALUES ("401", "1", "fall", 2003, "lamberton", "134", "d");
275
+ INSERT INTO section VALUES ("408", "1", "spring", 2007, "fairchild", "145", "i");
276
+ INSERT INTO section VALUES ("408", "2", "spring", 2003, "lamberton", "143", "h");
277
+ INSERT INTO section VALUES ("415", "1", "fall", 2010, "lambeau", "348", "j");
278
+ INSERT INTO section VALUES ("421", "1", "fall", 2004, "saucon", "180", "l");
279
+ INSERT INTO section VALUES ("426", "1", "spring", 2006, "alumni", "143", "o");
280
+ INSERT INTO section VALUES ("443", "1", "spring", 2010, "taylor", "183", "a");
281
+ INSERT INTO section VALUES ("443", "2", "spring", 2002, "lambeau", "348", "m");
282
+ INSERT INTO section VALUES ("445", "1", "spring", 2001, "alumni", "547", "g");
283
+ INSERT INTO section VALUES ("457", "1", "spring", 2001, "lamberton", "134", "h");
284
+ INSERT INTO section VALUES ("461", "1", "fall", 2002, "lamberton", "143", "d");
285
+ INSERT INTO section VALUES ("468", "1", "fall", 2005, "nassau", "45", "f");
286
+ INSERT INTO section VALUES ("468", "2", "fall", 2007, "fairchild", "145", "j");
287
+ INSERT INTO section VALUES ("476", "1", "fall", 2010, "lamberton", "143", "i");
288
+ INSERT INTO section VALUES ("482", "1", "fall", 2005, "saucon", "113", "d");
289
+ INSERT INTO section VALUES ("486", "1", "fall", 2009, "polya", "808", "m");
290
+ INSERT INTO section VALUES ("489", "1", "fall", 2007, "saucon", "844", "d");
291
+ INSERT INTO section VALUES ("493", "1", "spring", 2010, "stabler", "105", "f");
292
+ INSERT INTO section VALUES ("496", "1", "fall", 2001, "lambeau", "348", "m");
293
+ INSERT INTO section VALUES ("527", "1", "fall", 2004, "chandler", "804", "d");
294
+ INSERT INTO section VALUES ("545", "1", "fall", 2001, "garfield", "119", "a");
295
+ INSERT INTO section VALUES ("559", "1", "fall", 2002, "fairchild", "145", "j");
296
+ INSERT INTO section VALUES ("561", "1", "fall", 2006, "saucon", "180", "d");
297
+ INSERT INTO section VALUES ("571", "1", "spring", 2004, "gates", "707", "k");
298
+ INSERT INTO section VALUES ("581", "1", "spring", 2005, "lamberton", "143", "g");
299
+ INSERT INTO section VALUES ("591", "1", "spring", 2005, "gates", "314", "a");
300
+ INSERT INTO section VALUES ("599", "1", "spring", 2003, "polya", "808", "h");
301
+ INSERT INTO section VALUES ("603", "1", "fall", 2003, "lamberton", "134", "m");
302
+ INSERT INTO section VALUES ("604", "1", "spring", 2009, "lamberton", "143", "d");
303
+ INSERT INTO section VALUES ("612", "1", "fall", 2007, "taylor", "812", "d");
304
+ INSERT INTO section VALUES ("626", "1", "fall", 2006, "fairchild", "145", "c");
305
+ INSERT INTO section VALUES ("629", "1", "spring", 2003, "lamberton", "134", "j");
306
+ INSERT INTO section VALUES ("631", "1", "spring", 2007, "gates", "707", "e");
307
+ INSERT INTO section VALUES ("642", "1", "fall", 2004, "chandler", "375", "c");
308
+ INSERT INTO section VALUES ("663", "1", "spring", 2005, "saucon", "180", "f");
309
+ INSERT INTO section VALUES ("679", "1", "spring", 2010, "polya", "808", "b");
310
+ INSERT INTO section VALUES ("692", "1", "spring", 2010, "alumni", "547", "a");
311
+ INSERT INTO section VALUES ("694", "1", "fall", 2002, "power", "717", "m");
312
+ INSERT INTO section VALUES ("696", "1", "spring", 2002, "main", "425", "p");
313
+ INSERT INTO section VALUES ("702", "1", "spring", 2001, "taylor", "812", "e");
314
+ INSERT INTO section VALUES ("704", "1", "spring", 2008, "lamberton", "143", "b");
315
+ INSERT INTO section VALUES ("735", "1", "spring", 2003, "taylor", "183", "c");
316
+ INSERT INTO section VALUES ("735", "2", "spring", 2010, "saucon", "180", "e");
317
+ INSERT INTO section VALUES ("747", "1", "spring", 2004, "nassau", "45", "l");
318
+ INSERT INTO section VALUES ("748", "1", "fall", 2003, "bronfman", "700", "l");
319
+ INSERT INTO section VALUES ("760", "1", "spring", 2004, "gates", "707", "f");
320
+ INSERT INTO section VALUES ("791", "1", "spring", 2006, "saucon", "180", "b");
321
+ INSERT INTO section VALUES ("793", "1", "spring", 2002, "whitman", "434", "h");
322
+ INSERT INTO section VALUES ("795", "1", "spring", 2004, "saucon", "113", "m");
323
+ INSERT INTO section VALUES ("802", "1", "spring", 2003, "drown", "757", "c");
324
+ INSERT INTO section VALUES ("808", "1", "fall", 2003, "lamberton", "134", "j");
325
+ INSERT INTO section VALUES ("843", "1", "fall", 2010, "taylor", "812", "c");
326
+ INSERT INTO section VALUES ("852", "1", "spring", 2008, "rathbone", "261", "e");
327
+ INSERT INTO section VALUES ("864", "1", "spring", 2006, "main", "425", "o");
328
+ INSERT INTO section VALUES ("867", "1", "fall", 2006, "saucon", "180", "a");
329
+ INSERT INTO section VALUES ("867", "2", "fall", 2010, "power", "717", "m");
330
+ INSERT INTO section VALUES ("875", "1", "spring", 2005, "power", "972", "i");
331
+ INSERT INTO section VALUES ("893", "1", "fall", 2007, "power", "717", "l");
332
+ INSERT INTO section VALUES ("927", "1", "fall", 2002, "taylor", "183", "d");
333
+ INSERT INTO section VALUES ("949", "1", "fall", 2007, "drown", "757", "l");
334
+ INSERT INTO section VALUES ("959", "1", "fall", 2006, "taylor", "812", "i");
335
+ INSERT INTO section VALUES ("960", "1", "fall", 2009, "chandler", "375", "d");
336
+ INSERT INTO section VALUES ("960", "2", "fall", 2006, "power", "717", "p");
337
+ INSERT INTO section VALUES ("962", "1", "spring", 2008, "taylor", "812", "p");
338
+ INSERT INTO section VALUES ("972", "1", "spring", 2009, "taylor", "183", "j");
339
+ INSERT INTO section VALUES ("974", "1", "fall", 2003, "stabler", "105", "j");
340
+ INSERT INTO section VALUES ("991", "1", "spring", 2008, "power", "972", "d");
341
+
342
+ CREATE TABLE "teaches" (
343
+ "id" text,
344
+ "course_id" text,
345
+ "sec_id" text,
346
+ "semester" text,
347
+ "year" integer
348
+ );
349
+
350
+ INSERT INTO teaches VALUES ("34175", "747", "1", "spring", 2004);
351
+ INSERT INTO teaches VALUES ("3199", "169", "1", "spring", 2007);
352
+ INSERT INTO teaches VALUES ("6569", "445", "1", "spring", 2001);
353
+ INSERT INTO teaches VALUES ("28097", "808", "1", "fall", 2003);
354
+ INSERT INTO teaches VALUES ("22591", "962", "1", "spring", 2008);
355
+ INSERT INTO teaches VALUES ("90376", "158", "1", "fall", 2008);
356
+ INSERT INTO teaches VALUES ("3199", "561", "1", "fall", 2006);
357
+ INSERT INTO teaches VALUES ("34175", "274", "1", "fall", 2002);
358
+ INSERT INTO teaches VALUES ("34175", "571", "1", "spring", 2004);
359
+ INSERT INTO teaches VALUES ("79081", "345", "1", "spring", 2008);
360
+ INSERT INTO teaches VALUES ("80759", "559", "1", "fall", 2002);
361
+ INSERT INTO teaches VALUES ("22591", "991", "1", "spring", 2008);
362
+ INSERT INTO teaches VALUES ("22591", "400", "2", "fall", 2003);
363
+ INSERT INTO teaches VALUES ("74420", "376", "1", "fall", 2006);
364
+ INSERT INTO teaches VALUES ("73623", "694", "1", "fall", 2002);
365
+ INSERT INTO teaches VALUES ("6569", "137", "1", "spring", 2002);
366
+ INSERT INTO teaches VALUES ("95709", "270", "1", "spring", 2010);
367
+ INSERT INTO teaches VALUES ("36897", "795", "1", "spring", 2004);
368
+ INSERT INTO teaches VALUES ("74420", "443", "2", "spring", 2002);
369
+ INSERT INTO teaches VALUES ("77346", "486", "1", "fall", 2009);
370
+ INSERT INTO teaches VALUES ("79081", "408", "1", "spring", 2007);
371
+ INSERT INTO teaches VALUES ("6569", "362", "3", "spring", 2008);
372
+ INSERT INTO teaches VALUES ("6569", "527", "1", "fall", 2004);
373
+ INSERT INTO teaches VALUES ("41930", "401", "1", "fall", 2003);
374
+ INSERT INTO teaches VALUES ("79081", "408", "2", "spring", 2003);
375
+ INSERT INTO teaches VALUES ("77346", "493", "1", "spring", 2010);
376
+ INSERT INTO teaches VALUES ("4233", "679", "1", "spring", 2010);
377
+ INSERT INTO teaches VALUES ("99052", "237", "2", "fall", 2009);
378
+ INSERT INTO teaches VALUES ("95709", "258", "1", "fall", 2007);
379
+ INSERT INTO teaches VALUES ("63287", "334", "1", "fall", 2009);
380
+ INSERT INTO teaches VALUES ("28097", "366", "1", "fall", 2005);
381
+ INSERT INTO teaches VALUES ("19368", "581", "1", "spring", 2005);
382
+ INSERT INTO teaches VALUES ("42782", "793", "1", "spring", 2002);
383
+ INSERT INTO teaches VALUES ("74420", "959", "1", "fall", 2006);
384
+ INSERT INTO teaches VALUES ("41930", "421", "1", "fall", 2004);
385
+ INSERT INTO teaches VALUES ("6569", "426", "1", "spring", 2006);
386
+ INSERT INTO teaches VALUES ("6569", "362", "2", "fall", 2006);
387
+ INSERT INTO teaches VALUES ("77346", "864", "1", "spring", 2006);
388
+ INSERT INTO teaches VALUES ("3335", "960", "1", "fall", 2009);
389
+ INSERT INTO teaches VALUES ("43779", "105", "1", "fall", 2009);
390
+ INSERT INTO teaches VALUES ("48507", "626", "1", "fall", 2006);
391
+ INSERT INTO teaches VALUES ("99052", "893", "1", "fall", 2007);
392
+ INSERT INTO teaches VALUES ("22591", "663", "1", "spring", 2005);
393
+ INSERT INTO teaches VALUES ("25946", "192", "1", "fall", 2002);
394
+ INSERT INTO teaches VALUES ("6569", "349", "1", "spring", 2008);
395
+ INSERT INTO teaches VALUES ("99052", "237", "1", "spring", 2008);
396
+ INSERT INTO teaches VALUES ("22591", "972", "1", "spring", 2009);
397
+ INSERT INTO teaches VALUES ("77346", "704", "1", "spring", 2008);
398
+ INSERT INTO teaches VALUES ("36897", "242", "1", "fall", 2009);
399
+ INSERT INTO teaches VALUES ("99052", "158", "2", "spring", 2008);
400
+ INSERT INTO teaches VALUES ("19368", "545", "1", "fall", 2001);
401
+ INSERT INTO teaches VALUES ("36897", "791", "1", "spring", 2006);
402
+ INSERT INTO teaches VALUES ("22591", "642", "1", "fall", 2004);
403
+ INSERT INTO teaches VALUES ("95709", "468", "1", "fall", 2005);
404
+ INSERT INTO teaches VALUES ("3335", "949", "1", "fall", 2007);
405
+ INSERT INTO teaches VALUES ("99052", "748", "1", "fall", 2003);
406
+ INSERT INTO teaches VALUES ("43779", "489", "1", "fall", 2007);
407
+ INSERT INTO teaches VALUES ("28400", "603", "1", "fall", 2003);
408
+ INSERT INTO teaches VALUES ("81991", "415", "1", "fall", 2010);
409
+ INSERT INTO teaches VALUES ("48570", "867", "2", "fall", 2010);
410
+ INSERT INTO teaches VALUES ("3199", "631", "1", "spring", 2007);
411
+ INSERT INTO teaches VALUES ("74420", "443", "1", "spring", 2010);
412
+ INSERT INTO teaches VALUES ("81991", "702", "1", "spring", 2001);
413
+ INSERT INTO teaches VALUES ("14365", "843", "1", "fall", 2010);
414
+ INSERT INTO teaches VALUES ("74420", "612", "1", "fall", 2007);
415
+ INSERT INTO teaches VALUES ("99052", "629", "1", "spring", 2003);
416
+ INSERT INTO teaches VALUES ("43779", "105", "2", "fall", 2002);
417
+ INSERT INTO teaches VALUES ("79081", "200", "2", "fall", 2002);
418
+ INSERT INTO teaches VALUES ("99052", "496", "1", "fall", 2001);
419
+ INSERT INTO teaches VALUES ("50330", "468", "2", "fall", 2007);
420
+ INSERT INTO teaches VALUES ("36897", "696", "1", "spring", 2002);
421
+ INSERT INTO teaches VALUES ("77346", "735", "1", "spring", 2003);
422
+ INSERT INTO teaches VALUES ("14365", "200", "1", "spring", 2007);
423
+ INSERT INTO teaches VALUES ("90643", "461", "1", "fall", 2002);
424
+ INSERT INTO teaches VALUES ("77346", "735", "2", "spring", 2010);
425
+ INSERT INTO teaches VALUES ("6569", "362", "1", "fall", 2005);
426
+ INSERT INTO teaches VALUES ("43779", "476", "1", "fall", 2010);
427
+ INSERT INTO teaches VALUES ("74420", "239", "1", "fall", 2006);
428
+ INSERT INTO teaches VALUES ("6569", "304", "1", "fall", 2009);
429
+ INSERT INTO teaches VALUES ("22591", "599", "1", "spring", 2003);
430
+ INSERT INTO teaches VALUES ("63287", "852", "1", "spring", 2008);
431
+ INSERT INTO teaches VALUES ("79081", "760", "1", "spring", 2004);
432
+ INSERT INTO teaches VALUES ("19368", "591", "1", "spring", 2005);
433
+ INSERT INTO teaches VALUES ("3199", "169", "2", "fall", 2002);
434
+ INSERT INTO teaches VALUES ("36897", "313", "1", "fall", 2010);
435
+ INSERT INTO teaches VALUES ("41930", "692", "1", "spring", 2010);
436
+ INSERT INTO teaches VALUES ("22591", "867", "1", "fall", 2006);
437
+ INSERT INTO teaches VALUES ("22591", "482", "1", "fall", 2005);
438
+ INSERT INTO teaches VALUES ("15347", "457", "1", "spring", 2001);
439
+ INSERT INTO teaches VALUES ("99052", "802", "1", "spring", 2003);
440
+ INSERT INTO teaches VALUES ("22591", "338", "1", "spring", 2007);
441
+ INSERT INTO teaches VALUES ("22591", "352", "1", "spring", 2006);
442
+ INSERT INTO teaches VALUES ("22591", "338", "2", "spring", 2006);
443
+ INSERT INTO teaches VALUES ("95709", "960", "2", "fall", 2006);
444
+ INSERT INTO teaches VALUES ("65931", "875", "1", "spring", 2005);
445
+ INSERT INTO teaches VALUES ("22591", "400", "1", "spring", 2007);
446
+ INSERT INTO teaches VALUES ("99052", "927", "1", "fall", 2002);
447
+ INSERT INTO teaches VALUES ("79081", "974", "1", "fall", 2003);
448
+ INSERT INTO teaches VALUES ("28400", "604", "1", "spring", 2009);
449
+ INSERT INTO teaches VALUES ("6569", "319", "1", "spring", 2003);
450
+
451
+ CREATE TABLE "student" (
452
+ "id" text,
453
+ "name" text,
454
+ "dept_name" text,
455
+ "tot_cred" integer
456
+ );
457
+
458
+ INSERT INTO student VALUES ("1000", "schrefl", "history", 4);
459
+ INSERT INTO student VALUES ("10033", "rumat", "finance", 100);
460
+ INSERT INTO student VALUES ("10076", "miliko", "statistics", 116);
461
+ INSERT INTO student VALUES ("1018", "moszkowski", "civil eng.", 73);
462
+ INSERT INTO student VALUES ("10204", "prieto", "biology", 91);
463
+ INSERT INTO student VALUES ("10267", "marcol", "cybernetics", 15);
464
+ INSERT INTO student VALUES ("10269", "quimby", "history", 4);
465
+ INSERT INTO student VALUES ("10454", "sowerby", "english", 108);
466
+ INSERT INTO student VALUES ("10481", "coppens", "math", 58);
467
+ INSERT INTO student VALUES ("10527", "cirsto", "math", 115);
468
+ INSERT INTO student VALUES ("10556", "velikovs", "marketing", 110);
469
+ INSERT INTO student VALUES ("10663", "marek", "psychology", 53);
470
+ INSERT INTO student VALUES ("10693", "tran-", "marketing", 116);
471
+ INSERT INTO student VALUES ("107", "guerra", "elec. eng.", 59);
472
+ INSERT INTO student VALUES ("10705", "hawthorne", "marketing", 78);
473
+ INSERT INTO student VALUES ("10727", "leuen", "math", 43);
474
+ INSERT INTO student VALUES ("10736", "eguchi", "astronomy", 14);
475
+ INSERT INTO student VALUES ("108", "moei", "elec. eng.", 15);
476
+ INSERT INTO student VALUES ("1080", "alfaro", "elec. eng.", 69);
477
+ INSERT INTO student VALUES ("10814", "krishnakumar", "physics", 81);
478
+ INSERT INTO student VALUES ("10834", "inoue", "math", 18);
479
+ INSERT INTO student VALUES ("10838", "sahm", "finance", 4);
480
+ INSERT INTO student VALUES ("1087", "tomason", "pol. sci.", 118);
481
+ INSERT INTO student VALUES ("10904", "karande", "astronomy", 57);
482
+ INSERT INTO student VALUES ("10917", "wunderli", "languages", 117);
483
+ INSERT INTO student VALUES ("11055", "greve", "psychology", 113);
484
+ INSERT INTO student VALUES ("11057", "cerime", "accounting", 35);
485
+ INSERT INTO student VALUES ("11076", "crick", "comp. sci.", 86);
486
+ INSERT INTO student VALUES ("11083", "hashimoto", "athletics", 102);
487
+ INSERT INTO student VALUES ("11095", "dage", "physics", 7);
488
+ INSERT INTO student VALUES ("1110", "pearlman", "biology", 45);
489
+ INSERT INTO student VALUES ("11101", "macias", "psychology", 128);
490
+ INSERT INTO student VALUES ("11126", "dawson", "mech. eng.", 88);
491
+ INSERT INTO student VALUES ("11152", "gay", "statistics", 92);
492
+ INSERT INTO student VALUES ("11194", "tiamp", "pol. sci.", 63);
493
+ INSERT INTO student VALUES ("11195", "weller", "geology", 45);
494
+ INSERT INTO student VALUES ("11201", "kee", "languages", 57);
495
+ INSERT INTO student VALUES ("11202", "milner", "finance", 8);
496
+ INSERT INTO student VALUES ("11237", "guthk", "finance", 80);
497
+ INSERT INTO student VALUES ("11262", "kagd", "cybernetics", 61);
498
+ INSERT INTO student VALUES ("11377", "samel", "math", 100);
499
+ INSERT INTO student VALUES ("11419", "vanrell", "comp. sci.", 61);
500
+ INSERT INTO student VALUES ("11422", "zaniolo", "math", 0);
501
+ INSERT INTO student VALUES ("11441", "dhav", "biology", 80);
502
+ INSERT INTO student VALUES ("11453", "she", "statistics", 29);
503
+ INSERT INTO student VALUES ("11455", "holn", "math", 27);
504
+ INSERT INTO student VALUES ("11510", "agar", "geology", 58);
505
+ INSERT INTO student VALUES ("11530", "curutchet", "languages", 121);
506
+ INSERT INTO student VALUES ("11578", "di", "civil eng.", 81);
507
+ INSERT INTO student VALUES ("11604", "lemoine", "athletics", 60);
508
+ INSERT INTO student VALUES ("11682", "kereth", "accounting", 96);
509
+ INSERT INTO student VALUES ("11855", "cal", "cybernetics", 20);
510
+ INSERT INTO student VALUES ("11966", "mccarter", "cybernetics", 38);
511
+ INSERT INTO student VALUES ("12069", "yemini", "statistics", 43);
512
+ INSERT INTO student VALUES ("12078", "erol", "statistics", 21);
513
+ INSERT INTO student VALUES ("12173", "chyr", "math", 10);
514
+ INSERT INTO student VALUES ("1220", "moreira", "comp. sci.", 107);
515
+ INSERT INTO student VALUES ("12214", "kruglyak", "pol. sci.", 99);
516
+ INSERT INTO student VALUES ("12216", "keuk", "geology", 107);
517
+ INSERT INTO student VALUES ("12236", "katzenb", "statistics", 78);
518
+ INSERT INTO student VALUES ("123", "dano", "civil eng.", 16);
519
+ INSERT INTO student VALUES ("1232", "torres", "cybernetics", 108);
520
+ INSERT INTO student VALUES ("12326", "garze", "physics", 92);
521
+ INSERT INTO student VALUES ("12362", "gibbs", "finance", 129);
522
+ INSERT INTO student VALUES ("12563", "murphy", "marketing", 30);
523
+ INSERT INTO student VALUES ("12615", "hughes", "languages", 79);
524
+ INSERT INTO student VALUES ("12666", "frolova", "comp. sci.", 13);
525
+ INSERT INTO student VALUES ("12683", "falconer", "physics", 78);
526
+ INSERT INTO student VALUES ("12711", "cochran", "english", 127);
527
+ INSERT INTO student VALUES ("1285", "bannac", "biology", 56);
528
+ INSERT INTO student VALUES ("12941", "paul", "mech. eng.", 62);
529
+ INSERT INTO student VALUES ("12971", "rakoj", "mech. eng.", 37);
530
+ INSERT INTO student VALUES ("12979", "otterm", "finance", 73);
531
+ INSERT INTO student VALUES ("13023", "bai", "geology", 100);
532
+ INSERT INTO student VALUES ("13028", "seike", "geology", 2);
533
+ INSERT INTO student VALUES ("13081", "kite", "history", 47);
534
+ INSERT INTO student VALUES ("13211", "terauchi", "physics", 48);
535
+ INSERT INTO student VALUES ("13217", "boyle", "languages", 87);
536
+ INSERT INTO student VALUES ("13290", "harrison", "elec. eng.", 81);
537
+ INSERT INTO student VALUES ("13352", "pavlovico", "marketing", 90);
538
+ INSERT INTO student VALUES ("13365", "bouamama", "comp. sci.", 8);
539
+ INSERT INTO student VALUES ("13403", "liley", "english", 34);
540
+ INSERT INTO student VALUES ("13408", "triebel", "comp. sci.", 115);
541
+ INSERT INTO student VALUES ("13495", "prabhakaran", "statistics", 26);
542
+ INSERT INTO student VALUES ("13504", "benson", "mech. eng.", 63);
543
+ INSERT INTO student VALUES ("13506", "vogel", "psychology", 46);
544
+ INSERT INTO student VALUES ("13511", "midu", "languages", 33);
545
+ INSERT INTO student VALUES ("1367", "ivanov", "finance", 11);
546
+ INSERT INTO student VALUES ("13741", "boldin", "mech. eng.", 89);
547
+ INSERT INTO student VALUES ("13749", "kannan", "athletics", 99);
548
+ INSERT INTO student VALUES ("13753", "collet", "geology", 76);
549
+ INSERT INTO student VALUES ("13757", "anse", "history", 58);
550
+ INSERT INTO student VALUES ("13826", "ishihara", "elec. eng.", 86);
551
+ INSERT INTO student VALUES ("13880", "nirenbu", "history", 102);
552
+ INSERT INTO student VALUES ("13921", "hoov", "math", 118);
553
+ INSERT INTO student VALUES ("1402", "andrews", "psychology", 7);
554
+ INSERT INTO student VALUES ("14023", "xiong", "athletics", 27);
555
+ INSERT INTO student VALUES ("14032", "carey", "marketing", 56);
556
+ INSERT INTO student VALUES ("14065", "corbac", "mech. eng.", 86);
557
+ INSERT INTO student VALUES ("14094", "kok", "geology", 57);
558
+
559
+ CREATE TABLE "takes" (
560
+ "id" text,
561
+ "course_id" text,
562
+ "sec_id" text,
563
+ "semester" text,
564
+ "year" integer,
565
+ "grade" text
566
+ );
567
+
568
+ INSERT INTO takes VALUES ("1000", "239", "1", "fall", 2006, "c-");
569
+ INSERT INTO takes VALUES ("1000", "319", "1", "spring", 2003, "b-");
570
+ INSERT INTO takes VALUES ("1000", "362", "1", "fall", 2005, "a-");
571
+ INSERT INTO takes VALUES ("1000", "493", "1", "spring", 2010, "a");
572
+ INSERT INTO takes VALUES ("1000", "571", "1", "spring", 2004, "b+");
573
+ INSERT INTO takes VALUES ("1000", "642", "1", "fall", 2004, "b-");
574
+ INSERT INTO takes VALUES ("1000", "663", "1", "spring", 2005, "b");
575
+ INSERT INTO takes VALUES ("1000", "696", "1", "spring", 2002, "a");
576
+ INSERT INTO takes VALUES ("1000", "748", "1", "fall", 2003, "c+");
577
+ INSERT INTO takes VALUES ("1000", "802", "1", "spring", 2003, "b-");
578
+ INSERT INTO takes VALUES ("1000", "959", "1", "fall", 2006, "c-");
579
+ INSERT INTO takes VALUES ("1000", "962", "1", "spring", 2008, "a+");
580
+ INSERT INTO takes VALUES ("1000", "972", "1", "spring", 2009, "c");
581
+ INSERT INTO takes VALUES ("10033", "242", "1", "fall", 2009, "a-");
582
+ INSERT INTO takes VALUES ("10033", "334", "1", "fall", 2009, "c-");
583
+ INSERT INTO takes VALUES ("10033", "338", "1", "spring", 2007, "b");
584
+ INSERT INTO takes VALUES ("10033", "338", "2", "spring", 2006, "a");
585
+ INSERT INTO takes VALUES ("10033", "352", "1", "spring", 2006, "a-");
586
+ INSERT INTO takes VALUES ("10033", "362", "3", "spring", 2008, "c+");
587
+ INSERT INTO takes VALUES ("10033", "408", "1", "spring", 2007, "a-");
588
+ INSERT INTO takes VALUES ("10033", "408", "2", "spring", 2003, "c+");
589
+ INSERT INTO takes VALUES ("10033", "443", "2", "spring", 2002, "a+");
590
+ INSERT INTO takes VALUES ("10033", "445", "1", "spring", 2001, "a+");
591
+ INSERT INTO takes VALUES ("10033", "457", "1", "spring", 2001, "a+");
592
+ INSERT INTO takes VALUES ("10033", "486", "1", "fall", 2009, "c");
593
+ INSERT INTO takes VALUES ("10033", "493", "1", "spring", 2010, "a");
594
+ INSERT INTO takes VALUES ("10033", "603", "1", "fall", 2003, "c");
595
+ INSERT INTO takes VALUES ("10033", "604", "1", "spring", 2009, "a-");
596
+ INSERT INTO takes VALUES ("10033", "629", "1", "spring", 2003, "b-");
597
+ INSERT INTO takes VALUES ("10033", "679", "1", "spring", 2010, "c");
598
+ INSERT INTO takes VALUES ("10033", "692", "1", "spring", 2010, "a-");
599
+ INSERT INTO takes VALUES ("10033", "702", "1", "spring", 2001, "b");
600
+ INSERT INTO takes VALUES ("10033", "791", "1", "spring", 2006, "a-");
601
+ INSERT INTO takes VALUES ("10033", "960", "1", "fall", 2009, "a");
602
+ INSERT INTO takes VALUES ("10033", "972", "1", "spring", 2009, "a+");
603
+ INSERT INTO takes VALUES ("10076", "105", "1", "fall", 2009, "a+");
604
+ INSERT INTO takes VALUES ("10076", "137", "1", "spring", 2002, "b-");
605
+ INSERT INTO takes VALUES ("10076", "237", "1", "spring", 2008, "b-");
606
+ INSERT INTO takes VALUES ("10076", "482", "1", "fall", 2005, "a+");
607
+ INSERT INTO takes VALUES ("10076", "493", "1", "spring", 2010, "a");
608
+ INSERT INTO takes VALUES ("10076", "559", "1", "fall", 2002, "b-");
609
+ INSERT INTO takes VALUES ("10076", "629", "1", "spring", 2003, "b-");
610
+ INSERT INTO takes VALUES ("10076", "663", "1", "spring", 2005, "c-");
611
+ INSERT INTO takes VALUES ("10076", "692", "1", "spring", 2010, "a+");
612
+ INSERT INTO takes VALUES ("10076", "696", "1", "spring", 2002, "a");
613
+ INSERT INTO takes VALUES ("10076", "704", "1", "spring", 2008, "c");
614
+ INSERT INTO takes VALUES ("10076", "747", "1", "spring", 2004, "b+");
615
+ INSERT INTO takes VALUES ("10076", "949", "1", "fall", 2007, "a-");
616
+ INSERT INTO takes VALUES ("10076", "962", "1", "spring", 2008, "a-");
617
+ INSERT INTO takes VALUES ("1018", "105", "1", "fall", 2009, "b");
618
+ INSERT INTO takes VALUES ("1018", "158", "1", "fall", 2008, "c+");
619
+ INSERT INTO takes VALUES ("1018", "192", "1", "fall", 2002, "c-");
620
+ INSERT INTO takes VALUES ("1018", "200", "2", "fall", 2002, "c-");
621
+ INSERT INTO takes VALUES ("1018", "239", "1", "fall", 2006, "b");
622
+ INSERT INTO takes VALUES ("1018", "274", "1", "fall", 2002, "b-");
623
+ INSERT INTO takes VALUES ("1018", "304", "1", "fall", 2009, "b");
624
+ INSERT INTO takes VALUES ("1018", "319", "1", "spring", 2003, "c+");
625
+ INSERT INTO takes VALUES ("1018", "338", "1", "spring", 2007, "c+");
626
+ INSERT INTO takes VALUES ("1018", "349", "1", "spring", 2008, "b-");
627
+ INSERT INTO takes VALUES ("1018", "362", "3", "spring", 2008, "c+");
628
+ INSERT INTO takes VALUES ("1018", "401", "1", "fall", 2003, "b");
629
+ INSERT INTO takes VALUES ("1018", "421", "1", "fall", 2004, "a");
630
+ INSERT INTO takes VALUES ("1018", "457", "1", "spring", 2001, "a+");
631
+ INSERT INTO takes VALUES ("1018", "468", "1", "fall", 2005, "b");
632
+ INSERT INTO takes VALUES ("1018", "476", "1", "fall", 2010, "c");
633
+ INSERT INTO takes VALUES ("1018", "482", "1", "fall", 2005, "a");
634
+ INSERT INTO takes VALUES ("1018", "581", "1", "spring", 2005, "b+");
635
+ INSERT INTO takes VALUES ("1018", "599", "1", "spring", 2003, "b-");
636
+ INSERT INTO takes VALUES ("1018", "603", "1", "fall", 2003, "c-");
637
+ INSERT INTO takes VALUES ("1018", "791", "1", "spring", 2006, "c");
638
+ INSERT INTO takes VALUES ("1018", "972", "1", "spring", 2009, "a-");
639
+ INSERT INTO takes VALUES ("10204", "137", "1", "spring", 2002, "a");
640
+ INSERT INTO takes VALUES ("10204", "169", "1", "spring", 2007, "b-");
641
+ INSERT INTO takes VALUES ("10204", "200", "2", "fall", 2002, "a-");
642
+ INSERT INTO takes VALUES ("10204", "237", "2", "fall", 2009, "a-");
643
+ INSERT INTO takes VALUES ("10204", "274", "1", "fall", 2002, "c-");
644
+ INSERT INTO takes VALUES ("10204", "408", "2", "spring", 2003, "c-");
645
+ INSERT INTO takes VALUES ("10204", "443", "1", "spring", 2010, "c-");
646
+ INSERT INTO takes VALUES ("10204", "692", "1", "spring", 2010, "a-");
647
+ INSERT INTO takes VALUES ("10204", "696", "1", "spring", 2002, "a+");
648
+ INSERT INTO takes VALUES ("10204", "735", "2", "spring", 2010, "b-");
649
+ INSERT INTO takes VALUES ("10204", "791", "1", "spring", 2006, "c");
650
+ INSERT INTO takes VALUES ("10204", "875", "1", "spring", 2005, "b+");
651
+ INSERT INTO takes VALUES ("10267", "192", "1", "fall", 2002, "a");
652
+ INSERT INTO takes VALUES ("10267", "237", "2", "fall", 2009, "b+");
653
+ INSERT INTO takes VALUES ("10267", "242", "1", "fall", 2009, "c");
654
+ INSERT INTO takes VALUES ("10267", "345", "1", "spring", 2008, "c-");
655
+ INSERT INTO takes VALUES ("10267", "362", "2", "fall", 2006, "b+");
656
+ INSERT INTO takes VALUES ("10267", "366", "1", "fall", 2005, "c-");
657
+ INSERT INTO takes VALUES ("10267", "545", "1", "fall", 2001, "a+");
658
+ INSERT INTO takes VALUES ("10267", "603", "1", "fall", 2003, "b+");
659
+ INSERT INTO takes VALUES ("10267", "604", "1", "spring", 2009, "c");
660
+ INSERT INTO takes VALUES ("10267", "748", "1", "fall", 2003, "c-");
661
+ INSERT INTO takes VALUES ("10267", "793", "1", "spring", 2002, "c-");
662
+ INSERT INTO takes VALUES ("10269", "237", "2", "fall", 2009, "c+");
663
+ INSERT INTO takes VALUES ("10269", "352", "1", "spring", 2006, "b");
664
+ INSERT INTO takes VALUES ("10269", "362", "2", "fall", 2006, "c-");
665
+ INSERT INTO takes VALUES ("10269", "408", "2", "spring", 2003, "c");
666
+ INSERT INTO takes VALUES ("10269", "421", "1", "fall", 2004, "c-");
667
+ INSERT INTO takes VALUES ("10269", "489", "1", "fall", 2007, "b-");
668
+
669
+ CREATE TABLE "advisor" (
670
+ "s_id" text,
671
+ "i_id" text
672
+ );
673
+
674
+ INSERT INTO advisor VALUES ("1000", "19368");
675
+ INSERT INTO advisor VALUES ("10033", "95030");
676
+ INSERT INTO advisor VALUES ("10076", "22591");
677
+ INSERT INTO advisor VALUES ("1018", "77346");
678
+ INSERT INTO advisor VALUES ("10204", "31955");
679
+ INSERT INTO advisor VALUES ("10267", "73623");
680
+ INSERT INTO advisor VALUES ("10269", "90643");
681
+ INSERT INTO advisor VALUES ("10454", "58558");
682
+ INSERT INTO advisor VALUES ("10481", "73623");
683
+ INSERT INTO advisor VALUES ("10527", "25946");
684
+ INSERT INTO advisor VALUES ("10556", "58558");
685
+ INSERT INTO advisor VALUES ("10663", "48570");
686
+ INSERT INTO advisor VALUES ("10693", "6569");
687
+ INSERT INTO advisor VALUES ("107", "31955");
688
+ INSERT INTO advisor VALUES ("10705", "99052");
689
+ INSERT INTO advisor VALUES ("10727", "58558");
690
+ INSERT INTO advisor VALUES ("10736", "28097");
691
+ INSERT INTO advisor VALUES ("108", "74420");
692
+ INSERT INTO advisor VALUES ("1080", "64871");
693
+ INSERT INTO advisor VALUES ("10814", "50330");
694
+ INSERT INTO advisor VALUES ("10834", "57180");
695
+ INSERT INTO advisor VALUES ("10838", "3335");
696
+ INSERT INTO advisor VALUES ("1087", "48507");
697
+ INSERT INTO advisor VALUES ("10904", "58558");
698
+ INSERT INTO advisor VALUES ("10917", "59795");
699
+ INSERT INTO advisor VALUES ("11055", "6569");
700
+ INSERT INTO advisor VALUES ("11057", "41930");
701
+ INSERT INTO advisor VALUES ("11076", "25946");
702
+ INSERT INTO advisor VALUES ("11083", "48507");
703
+ INSERT INTO advisor VALUES ("11095", "81991");
704
+ INSERT INTO advisor VALUES ("1110", "36897");
705
+ INSERT INTO advisor VALUES ("11101", "3199");
706
+ INSERT INTO advisor VALUES ("11126", "15347");
707
+ INSERT INTO advisor VALUES ("11152", "25946");
708
+ INSERT INTO advisor VALUES ("11194", "48507");
709
+ INSERT INTO advisor VALUES ("11195", "52647");
710
+ INSERT INTO advisor VALUES ("11201", "22591");
711
+ INSERT INTO advisor VALUES ("11202", "28400");
712
+ INSERT INTO advisor VALUES ("11237", "58558");
713
+ INSERT INTO advisor VALUES ("11262", "48570");
714
+ INSERT INTO advisor VALUES ("11377", "15347");
715
+ INSERT INTO advisor VALUES ("11419", "59795");
716
+ INSERT INTO advisor VALUES ("11422", "64871");
717
+ INSERT INTO advisor VALUES ("11441", "77346");
718
+ INSERT INTO advisor VALUES ("11453", "50885");
719
+ INSERT INTO advisor VALUES ("11455", "65931");
720
+ INSERT INTO advisor VALUES ("11510", "64871");
721
+ INSERT INTO advisor VALUES ("11530", "90376");
722
+ INSERT INTO advisor VALUES ("11578", "73623");
723
+ INSERT INTO advisor VALUES ("11604", "79081");
724
+ INSERT INTO advisor VALUES ("11682", "3199");
725
+ INSERT INTO advisor VALUES ("11855", "48507");
726
+ INSERT INTO advisor VALUES ("11966", "52647");
727
+ INSERT INTO advisor VALUES ("12069", "81991");
728
+ INSERT INTO advisor VALUES ("12078", "25946");
729
+ INSERT INTO advisor VALUES ("12173", "64871");
730
+ INSERT INTO advisor VALUES ("1220", "96895");
731
+ INSERT INTO advisor VALUES ("12214", "80759");
732
+ INSERT INTO advisor VALUES ("12216", "41930");
733
+ INSERT INTO advisor VALUES ("12236", "96895");
734
+ INSERT INTO advisor VALUES ("123", "72553");
735
+ INSERT INTO advisor VALUES ("1232", "77346");
736
+ INSERT INTO advisor VALUES ("12326", "79081");
737
+ INSERT INTO advisor VALUES ("12362", "15347");
738
+ INSERT INTO advisor VALUES ("12563", "37687");
739
+ INSERT INTO advisor VALUES ("12615", "28097");
740
+ INSERT INTO advisor VALUES ("12666", "80759");
741
+ INSERT INTO advisor VALUES ("12683", "80759");
742
+ INSERT INTO advisor VALUES ("12711", "28097");
743
+ INSERT INTO advisor VALUES ("1285", "16807");
744
+ INSERT INTO advisor VALUES ("12941", "79653");
745
+ INSERT INTO advisor VALUES ("12971", "95709");
746
+ INSERT INTO advisor VALUES ("12979", "74420");
747
+ INSERT INTO advisor VALUES ("13023", "80759");
748
+ INSERT INTO advisor VALUES ("13028", "96895");
749
+ INSERT INTO advisor VALUES ("13081", "73623");
750
+ INSERT INTO advisor VALUES ("13211", "6569");
751
+ INSERT INTO advisor VALUES ("13217", "74426");
752
+ INSERT INTO advisor VALUES ("13290", "34175");
753
+ INSERT INTO advisor VALUES ("13352", "14365");
754
+ INSERT INTO advisor VALUES ("13365", "28400");
755
+ INSERT INTO advisor VALUES ("13403", "58558");
756
+ INSERT INTO advisor VALUES ("13408", "42782");
757
+ INSERT INTO advisor VALUES ("13495", "25946");
758
+ INSERT INTO advisor VALUES ("13504", "3335");
759
+ INSERT INTO advisor VALUES ("13506", "4034");
760
+ INSERT INTO advisor VALUES ("13511", "36897");
761
+ INSERT INTO advisor VALUES ("1367", "74420");
762
+ INSERT INTO advisor VALUES ("13741", "95030");
763
+ INSERT INTO advisor VALUES ("13749", "72553");
764
+ INSERT INTO advisor VALUES ("13753", "3335");
765
+ INSERT INTO advisor VALUES ("13757", "79081");
766
+ INSERT INTO advisor VALUES ("13826", "97302");
767
+ INSERT INTO advisor VALUES ("13880", "58558");
768
+ INSERT INTO advisor VALUES ("13921", "25946");
769
+ INSERT INTO advisor VALUES ("1402", "35579");
770
+ INSERT INTO advisor VALUES ("14023", "28400");
771
+ INSERT INTO advisor VALUES ("14032", "6569");
772
+ INSERT INTO advisor VALUES ("14065", "41930");
773
+ INSERT INTO advisor VALUES ("14094", "59795");
774
+
775
+ CREATE TABLE "time_slot" (
776
+ "time_slot_id" text,
777
+ "day" text,
778
+ "start_hr" integer,
779
+ "start_min" integer,
780
+ "end_hr" integer,
781
+ "end_min" integer
782
+ );
783
+
784
+ INSERT INTO time_slot VALUES ("a", "f", 8, 0, 8, 50);
785
+ INSERT INTO time_slot VALUES ("a", "m", 8, 0, 8, 50);
786
+ INSERT INTO time_slot VALUES ("a", "w", 8, 0, 8, 50);
787
+ INSERT INTO time_slot VALUES ("b", "f", 9, 0, 9, 50);
788
+ INSERT INTO time_slot VALUES ("b", "m", 9, 0, 9, 50);
789
+ INSERT INTO time_slot VALUES ("b", "w", 9, 0, 9, 50);
790
+ INSERT INTO time_slot VALUES ("c", "f", 11, 0, 11, 50);
791
+ INSERT INTO time_slot VALUES ("c", "m", 11, 0, 11, 50);
792
+ INSERT INTO time_slot VALUES ("c", "w", 11, 0, 11, 50);
793
+ INSERT INTO time_slot VALUES ("d", "f", 13, 0, 13, 50);
794
+ INSERT INTO time_slot VALUES ("d", "m", 13, 0, 13, 50);
795
+ INSERT INTO time_slot VALUES ("d", "w", 13, 0, 13, 50);
796
+ INSERT INTO time_slot VALUES ("e", "r", 10, 30, 11, 45);
797
+ INSERT INTO time_slot VALUES ("e", "t", 10, 30, 11, 45);
798
+ INSERT INTO time_slot VALUES ("f", "r", 14, 30, 15, 45);
799
+ INSERT INTO time_slot VALUES ("f", "t", 14, 30, 15, 45);
800
+ INSERT INTO time_slot VALUES ("g", "f", 16, 0, 16, 50);
801
+ INSERT INTO time_slot VALUES ("g", "m", 16, 0, 16, 50);
802
+ INSERT INTO time_slot VALUES ("g", "w", 16, 0, 16, 50);
803
+ INSERT INTO time_slot VALUES ("h", "w", 10, 0, 12, 30);
804
+
805
+ CREATE TABLE "prereq" (
806
+ "course_id" text,
807
+ "prereq_id" text
808
+ );
809
+
810
+ INSERT INTO prereq VALUES ("376", "130");
811
+ INSERT INTO prereq VALUES ("760", "169");
812
+ INSERT INTO prereq VALUES ("403", "345");
813
+ INSERT INTO prereq VALUES ("353", "647");
814
+ INSERT INTO prereq VALUES ("629", "139");
815
+ INSERT INTO prereq VALUES ("608", "864");
816
+ INSERT INTO prereq VALUES ("158", "408");
817
+ INSERT INTO prereq VALUES ("496", "489");
818
+ INSERT INTO prereq VALUES ("241", "486");
819
+ INSERT INTO prereq VALUES ("958", "969");
820
+ INSERT INTO prereq VALUES ("591", "403");
821
+ INSERT INTO prereq VALUES ("656", "659");
822
+ INSERT INTO prereq VALUES ("864", "634");
823
+ INSERT INTO prereq VALUES ("559", "500");
824
+ INSERT INTO prereq VALUES ("209", "780");
825
+ INSERT INTO prereq VALUES ("603", "735");
826
+ INSERT INTO prereq VALUES ("804", "947");
827
+ INSERT INTO prereq VALUES ("545", "947");
828
+ INSERT INTO prereq VALUES ("353", "694");
829
+ INSERT INTO prereq VALUES ("692", "761");
830
+ INSERT INTO prereq VALUES ("774", "258");
831
+ INSERT INTO prereq VALUES ("747", "927");
832
+ INSERT INTO prereq VALUES ("496", "416");
833
+ INSERT INTO prereq VALUES ("544", "702");
834
+ INSERT INTO prereq VALUES ("608", "421");
835
+ INSERT INTO prereq VALUES ("313", "731");
836
+ INSERT INTO prereq VALUES ("258", "137");
837
+ INSERT INTO prereq VALUES ("486", "371");
838
+ INSERT INTO prereq VALUES ("224", "227");
839
+ INSERT INTO prereq VALUES ("972", "958");
840
+ INSERT INTO prereq VALUES ("359", "694");
841
+ INSERT INTO prereq VALUES ("998", "319");
842
+ INSERT INTO prereq VALUES ("392", "875");
843
+ INSERT INTO prereq VALUES ("443", "852");
844
+ INSERT INTO prereq VALUES ("324", "408");
845
+ INSERT INTO prereq VALUES ("805", "774");
846
+ INSERT INTO prereq VALUES ("242", "304");
847
+ INSERT INTO prereq VALUES ("795", "123");
848
+ INSERT INTO prereq VALUES ("169", "603");
849
+ INSERT INTO prereq VALUES ("774", "769");
850
+ INSERT INTO prereq VALUES ("958", "735");
851
+ INSERT INTO prereq VALUES ("692", "426");
852
+ INSERT INTO prereq VALUES ("958", "139");
853
+ INSERT INTO prereq VALUES ("663", "998");
854
+ INSERT INTO prereq VALUES ("586", "468");
855
+ INSERT INTO prereq VALUES ("254", "877");
856
+ INSERT INTO prereq VALUES ("802", "666");
857
+ INSERT INTO prereq VALUES ("820", "371");
858
+ INSERT INTO prereq VALUES ("902", "130");
859
+ INSERT INTO prereq VALUES ("362", "242");
860
+ INSERT INTO prereq VALUES ("359", "818");
861
+ INSERT INTO prereq VALUES ("664", "489");
862
+ INSERT INTO prereq VALUES ("276", "403");
863
+ INSERT INTO prereq VALUES ("582", "487");
864
+ INSERT INTO prereq VALUES ("694", "254");
865
+ INSERT INTO prereq VALUES ("841", "818");
866
+ INSERT INTO prereq VALUES ("852", "133");
867
+ INSERT INTO prereq VALUES ("843", "324");
868
+ INSERT INTO prereq VALUES ("810", "966");
869
+ INSERT INTO prereq VALUES ("628", "340");
870
+ INSERT INTO prereq VALUES ("242", "594");
871
+ INSERT INTO prereq VALUES ("292", "399");
872
+ INSERT INTO prereq VALUES ("618", "352");
873
+ INSERT INTO prereq VALUES ("664", "704");
874
+ INSERT INTO prereq VALUES ("793", "791");
875
+ INSERT INTO prereq VALUES ("692", "774");
876
+ INSERT INTO prereq VALUES ("324", "857");
877
+ INSERT INTO prereq VALUES ("612", "123");
878
+ INSERT INTO prereq VALUES ("991", "598");
879
+ INSERT INTO prereq VALUES ("544", "254");
880
+ INSERT INTO prereq VALUES ("852", "267");
881
+ INSERT INTO prereq VALUES ("792", "814");
882
+ INSERT INTO prereq VALUES ("133", "852");
883
+ INSERT INTO prereq VALUES ("496", "443");
884
+ INSERT INTO prereq VALUES ("338", "133");
885
+ INSERT INTO prereq VALUES ("399", "664");
886
+ INSERT INTO prereq VALUES ("747", "272");
887
+ INSERT INTO prereq VALUES ("696", "101");
888
+ INSERT INTO prereq VALUES ("403", "352");
889
+ INSERT INTO prereq VALUES ("545", "318");
890
+ INSERT INTO prereq VALUES ("634", "864");
891
+ INSERT INTO prereq VALUES ("947", "494");
892
+ INSERT INTO prereq VALUES ("647", "792");
893
+ INSERT INTO prereq VALUES ("631", "681");
894
+ INSERT INTO prereq VALUES ("236", "984");
895
+ INSERT INTO prereq VALUES ("362", "696");
896
+ INSERT INTO prereq VALUES ("875", "458");
897
+ INSERT INTO prereq VALUES ("457", "544");
898
+ INSERT INTO prereq VALUES ("704", "416");
899
+ INSERT INTO prereq VALUES ("656", "559");
900
+ INSERT INTO prereq VALUES ("272", "275");
901
+ INSERT INTO prereq VALUES ("338", "852");
902
+ INSERT INTO prereq VALUES ("780", "345");
903
+ INSERT INTO prereq VALUES ("458", "696");
904
+ INSERT INTO prereq VALUES ("239", "628");
905
+ INSERT INTO prereq VALUES ("411", "401");
906
+ INSERT INTO prereq VALUES ("830", "748");
907
+ INSERT INTO prereq VALUES ("558", "130");
908
+ INSERT INTO prereq VALUES ("877", "599");
909
+ INSERT INTO prereq VALUES ("349", "612");
910
+
911
+
912
+ COMMIT;
all/databases/college_2/college_2.sqlite ADDED
Binary file (49.2 kB). View file
 
all/databases/college_2_minus_1_0/college_2_minus_1_0.sql ADDED
@@ -0,0 +1,862 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ create table classroom (
2
+ building text,
3
+ room_number text,
4
+ capacity integer
5
+ );
6
+ insert into classroom values('alumni', 143, 10);
7
+ insert into classroom values('alumni', 547, 10);
8
+ insert into classroom values('bronfman', 700, 27);
9
+ insert into classroom values('chandler', 375, 92);
10
+ insert into classroom values('chandler', 804, 34);
11
+ insert into classroom values('drown', 757, 120);
12
+ insert into classroom values('fairchild', 145, 10);
13
+ insert into classroom values('garfield', 119, 115);
14
+ insert into classroom values('gates', 314, 109);
15
+ insert into classroom values('gates', 707, 97);
16
+ insert into classroom values('grace', 40, 26);
17
+ insert into classroom values('lambeau', 348, 47);
18
+ insert into classroom values('lamberton', 134, 18);
19
+ insert into classroom values('lamberton', 143, 15);
20
+ insert into classroom values('main', 425, 32);
21
+ insert into classroom values('main', 45, 24);
22
+ insert into classroom values('nassau', 45, 12);
23
+ insert into classroom values('painter', 86, 28);
24
+ insert into classroom values('polya', 808, 65);
25
+ insert into classroom values('power', 717, 10);
26
+ insert into classroom values('power', 972, 30);
27
+ insert into classroom values('rathbone', 261, 71);
28
+ insert into classroom values('saucon', 113, 10);
29
+ insert into classroom values('saucon', 180, 59);
30
+ insert into classroom values('saucon', 844, 60);
31
+ insert into classroom values('stabler', 105, 113);
32
+ insert into classroom values('taylor', 183, 12);
33
+ insert into classroom values('taylor', 812, 22);
34
+ insert into classroom values('whitman', 134, 51);
35
+ insert into classroom values('whitman', 434, 11);
36
+
37
+ create table department (
38
+ dept_name text,
39
+ building text,
40
+ budget real
41
+ );
42
+ insert into department values('accounting', 'chandler', 255041.46);
43
+ insert into department values('astronomy', 'candlestick', 647610.55);
44
+ insert into department values('athletics', 'taylor', 699140.86);
45
+ insert into department values('biology', 'wrigley', 942162.76);
46
+ insert into department values('civil eng.', 'lambeau', 210627.58);
47
+ insert into department values('comp. sci.', 'whitman', 573745.09);
48
+ insert into department values('cybernetics', 'palmer', 611042.66);
49
+ insert into department values('elec. eng.', 'saucon', 441840.92);
50
+ insert into department values('english', 'lamberton', 106378.69);
51
+ insert into department values('finance', 'linderman', 601283.6);
52
+ insert into department values('geology', 'candlestick', 866831.75);
53
+ insert into department values('history', 'palmer', 406557.93);
54
+ insert into department values('languages', 'mercer', 794541.46);
55
+ insert into department values('marketing', 'taylor', 617253.94);
56
+ insert into department values('math', 'bronfman', 734550.7);
57
+ insert into department values('mech. eng.', 'taylor', 395051.74);
58
+ insert into department values('physics', 'thompson', 848175.04);
59
+ insert into department values('pol. sci.', 'brodhead', 777605.11);
60
+ insert into department values('psychology', 'main', 276527.61);
61
+ insert into department values('statistics', 'rauch', 520350.65);
62
+
63
+ create table course (
64
+ course_id text,
65
+ title text,
66
+ dept_name text,
67
+ credits integer
68
+ );
69
+ insert into course values(101, 'c programming', 'mech. eng.', 4);
70
+ insert into course values(105, 'the music of donovan', 'mech. eng.', 3);
71
+ insert into course values(123, 'electron microscopy', 'mech. eng.', 3);
72
+ insert into course values(127, 'international finance', 'comp. sci.', 3);
73
+ insert into course values(130, 'greek tragedy', 'statistics', 4);
74
+ insert into course values(133, 'greek tragedy', 'psychology', 4);
75
+ insert into course values(137, 'virology', 'biology', 3);
76
+ insert into course values(139, 'compiler design', 'elec. eng.', 3);
77
+ insert into course values(158, 'geology', 'mech. eng.', 3);
78
+ insert into course values(169, 'mobile computing', 'physics', 3);
79
+ insert into course values(190, 'surfing', 'cybernetics', 3);
80
+ insert into course values(192, 'international trade', 'marketing', 3);
81
+ insert into course values(195, 'latin', 'mech. eng.', 3);
82
+ insert into course values(200, 'composition and literature', 'cybernetics', 3);
83
+ insert into course values(209, 'music of the 50s', 'history', 3);
84
+ insert into course values(224, 'biostatistics', 'geology', 3);
85
+ insert into course values(227, 'graph theory', 'psychology', 3);
86
+ insert into course values(235, 'visual basic', 'psychology', 4);
87
+ insert into course values(236, 'how to groom your cat', 'accounting', 3);
88
+ insert into course values(237, 'finite element analysis', 'cybernetics', 3);
89
+ insert into course values(238, 'the monkeys', 'history', 4);
90
+ insert into course values(239, 'rock and roll', 'marketing', 3);
91
+ insert into course values(241, 'focal programming', 'psychology', 4);
92
+ insert into course values(242, 'calculus', 'pol. sci.', 4);
93
+ insert into course values(254, 'environmental law', 'math', 4);
94
+ insert into course values(258, 'the beatles', 'math', 3);
95
+ insert into course values(265, 'marine mammals', 'geology', 4);
96
+ insert into course values(267, 'game programming', 'cybernetics', 4);
97
+ insert into course values(270, 'shakespeare', 'pol. sci.', 4);
98
+ insert into course values(272, 'world history', 'finance', 4);
99
+ insert into course values(274, 'tort law', 'civil eng.', 3);
100
+ insert into course values(275, 'corporate law', 'comp. sci.', 4);
101
+ insert into course values(276, 'video gaming', 'finance', 3);
102
+ insert into course values(278, 'world history', 'athletics', 4);
103
+ insert into course values(284, 'bankruptcy', 'accounting', 3);
104
+ insert into course values(292, 'organic chemistry', 'english', 4);
105
+ insert into course values(304, 'existentialism', 'finance', 3);
106
+ insert into course values(313, 'quantum mechanics', 'elec. eng.', 4);
107
+ insert into course values(318, 'embedded systems', 'finance', 4);
108
+ insert into course values(319, 'quantum mechanics', 'cybernetics', 3);
109
+ insert into course values(324, 'marine mammals', 'cybernetics', 3);
110
+ insert into course values(328, 'the ibm 360 architecture', 'history', 3);
111
+ insert into course values(334, 'marine mammals', 'elec. eng.', 3);
112
+ insert into course values(337, 'electricity and magnetism', 'civil eng.', 3);
113
+ insert into course values(338, 'elastic structures', 'languages', 4);
114
+ insert into course values(340, 'transaction processing', 'psychology', 3);
115
+ insert into course values(341, 'computational biology', 'english', 3);
116
+ insert into course values(344, 'cost accounting', 'physics', 4);
117
+ insert into course values(345, 'journalism', 'astronomy', 4);
118
+ insert into course values(348, 'geology', 'psychology', 3);
119
+ insert into course values(349, 'physical chemistry', 'math', 3);
120
+ insert into course values(352, 'image processing', 'astronomy', 3);
121
+ insert into course values(353, 'industrial organization', 'languages', 4);
122
+ insert into course values(359, 'security', 'cybernetics', 3);
123
+ insert into course values(362, 'immunology', 'civil eng.', 4);
124
+ insert into course values(366, 'systems software', 'history', 3);
125
+ insert into course values(371, 'sanitary engineering', 'athletics', 4);
126
+ insert into course values(376, 'thermodynamics', 'geology', 3);
127
+ insert into course values(377, 'rpg programming', 'pol. sci.', 4);
128
+ insert into course values(391, 'japanese', 'comp. sci.', 3);
129
+ insert into course values(392, 'aquatic chemistry', 'cybernetics', 3);
130
+ insert into course values(393, 'international trade', 'athletics', 3);
131
+ insert into course values(394, 'differential geometry', 'statistics', 3);
132
+ insert into course values(396, 'database system concepts', 'pol. sci.', 4);
133
+ insert into course values(399, 'romantic literature', 'civil eng.', 3);
134
+ insert into course values(400, 'religion', 'english', 3);
135
+ insert into course values(401, 'existentialism', 'athletics', 3);
136
+ insert into course values(403, 'introduction to burglary', 'cybernetics', 4);
137
+ insert into course values(407, 'compiler design', 'finance', 4);
138
+ insert into course values(408, 'composition and literature', 'statistics', 4);
139
+ insert into course values(411, 'geology', 'cybernetics', 3);
140
+ insert into course values(415, 'operating systems', 'psychology', 3);
141
+ insert into course values(416, 'c programming', 'athletics', 3);
142
+ insert into course values(421, 'manufacturing', 'finance', 3);
143
+ insert into course values(426, 'drama', 'languages', 4);
144
+ insert into course values(436, 'medieval civilization or lack thereof', 'english', 3);
145
+ insert into course values(442, 'differential geometry', 'astronomy', 4);
146
+ insert into course values(443, 'bacteriology', 'physics', 4);
147
+ insert into course values(445, 'international trade', 'math', 3);
148
+ insert into course values(451, 'aquatic chemistry', 'athletics', 4);
149
+ insert into course values(456, 'service-oriented architectures', 'comp. sci.', 4);
150
+ insert into course values(457, 'number theory', 'accounting', 4);
151
+ insert into course values(458, 'sailing', 'math', 4);
152
+ insert into course values(461, 'physical chemistry', 'history', 3);
153
+ insert into course values(468, 'antidisestablishmentarianism in modern america', 'biology', 4);
154
+ insert into course values(476, 'hydraulics', 'physics', 4);
155
+ insert into course values(482, 'the music of the ramones', 'accounting', 4);
156
+ insert into course values(486, 'elastic structures', 'english', 3);
157
+ insert into course values(487, 'mechanics', 'psychology', 4);
158
+ insert into course values(489, 'hebrew', 'civil eng.', 3);
159
+ insert into course values(493, 'environmental law', 'psychology', 3);
160
+ insert into course values(494, 'computability theory', 'math', 3);
161
+ insert into course values(496, 'creative writing', 'mech. eng.', 4);
162
+ insert into course values(500, 'the monkeys', 'astronomy', 4);
163
+ insert into course values(527, 'composition and literature', 'biology', 4);
164
+ insert into course values(539, 'differential geometry', 'statistics', 3);
165
+ insert into course values(544, 'virology', 'languages', 4);
166
+ insert into course values(545, 'care and feeding of cats', 'statistics', 3);
167
+ insert into course values(546, 'international practicum', 'comp. sci.', 4);
168
+ insert into course values(549, 'geology', 'math', 4);
169
+
170
+ create table section (
171
+ course_id text,
172
+ sec_id text,
173
+ semester text,
174
+ year integer,
175
+ building text,
176
+ room_number text,
177
+ time_slot_id text
178
+ );
179
+ insert into section values(105, 1, 'fall', 2009, 'chandler', 804, 'n');
180
+ insert into section values(105, 2, 'fall', 2002, 'gates', 314, 'k');
181
+ insert into section values(137, 1, 'spring', 2002, 'whitman', 434, 'o');
182
+ insert into section values(158, 1, 'fall', 2008, 'fairchild', 145, 'b');
183
+ insert into section values(158, 2, 'spring', 2008, 'fairchild', 145, 'd');
184
+ insert into section values(169, 1, 'spring', 2007, 'saucon', 844, 'd');
185
+ insert into section values(169, 2, 'fall', 2002, 'alumni', 547, 'j');
186
+ insert into section values(192, 1, 'fall', 2002, 'lamberton', 134, 'j');
187
+ insert into section values(200, 1, 'spring', 2007, 'taylor', 183, 'c');
188
+ insert into section values(200, 2, 'fall', 2002, 'saucon', 113, 'j');
189
+ insert into section values(237, 1, 'spring', 2008, 'whitman', 434, 'f');
190
+ insert into section values(237, 2, 'fall', 2009, 'drown', 757, 'd');
191
+ insert into section values(239, 1, 'fall', 2006, 'power', 717, 'd');
192
+ insert into section values(242, 1, 'fall', 2009, 'fairchild', 145, 'g');
193
+ insert into section values(258, 1, 'fall', 2007, 'power', 717, 'k');
194
+ insert into section values(270, 1, 'spring', 2010, 'saucon', 180, 'f');
195
+ insert into section values(274, 1, 'fall', 2002, 'taylor', 183, 'i');
196
+ insert into section values(304, 1, 'fall', 2009, 'taylor', 183, 'e');
197
+ insert into section values(313, 1, 'fall', 2010, 'main', 45, 'l');
198
+ insert into section values(319, 1, 'spring', 2003, 'bronfman', 700, 'n');
199
+ insert into section values(334, 1, 'fall', 2009, 'polya', 808, 'h');
200
+ insert into section values(338, 1, 'spring', 2007, 'saucon', 180, 'm');
201
+ insert into section values(338, 2, 'spring', 2006, 'saucon', 113, 'o');
202
+ insert into section values(345, 1, 'spring', 2008, 'taylor', 183, 'e');
203
+ insert into section values(349, 1, 'spring', 2008, 'taylor', 812, 'o');
204
+ insert into section values(352, 1, 'spring', 2006, 'main', 425, 'n');
205
+ insert into section values(362, 1, 'fall', 2005, 'saucon', 844, 'o');
206
+ insert into section values(362, 2, 'fall', 2006, 'saucon', 180, 'p');
207
+ insert into section values(362, 3, 'spring', 2008, 'whitman', 134, 'k');
208
+ insert into section values(366, 1, 'fall', 2005, 'lamberton', 134, 'g');
209
+ insert into section values(376, 1, 'fall', 2006, 'main', 45, 'k');
210
+ insert into section values(400, 1, 'spring', 2007, 'taylor', 183, 'j');
211
+ insert into section values(400, 2, 'fall', 2003, 'saucon', 113, 'k');
212
+ insert into section values(401, 1, 'fall', 2003, 'lamberton', 134, 'd');
213
+ insert into section values(408, 1, 'spring', 2007, 'fairchild', 145, 'i');
214
+ insert into section values(408, 2, 'spring', 2003, 'lamberton', 143, 'h');
215
+ insert into section values(415, 1, 'fall', 2010, 'lambeau', 348, 'j');
216
+ insert into section values(421, 1, 'fall', 2004, 'saucon', 180, 'l');
217
+ insert into section values(426, 1, 'spring', 2006, 'alumni', 143, 'o');
218
+ insert into section values(443, 1, 'spring', 2010, 'taylor', 183, 'a');
219
+ insert into section values(443, 2, 'spring', 2002, 'lambeau', 348, 'm');
220
+ insert into section values(445, 1, 'spring', 2001, 'alumni', 547, 'g');
221
+ insert into section values(457, 1, 'spring', 2001, 'lamberton', 134, 'h');
222
+ insert into section values(461, 1, 'fall', 2002, 'lamberton', 143, 'd');
223
+ insert into section values(468, 1, 'fall', 2005, 'nassau', 45, 'f');
224
+ insert into section values(468, 2, 'fall', 2007, 'fairchild', 145, 'j');
225
+ insert into section values(476, 1, 'fall', 2010, 'lamberton', 143, 'i');
226
+ insert into section values(482, 1, 'fall', 2005, 'saucon', 113, 'd');
227
+ insert into section values(486, 1, 'fall', 2009, 'polya', 808, 'm');
228
+ insert into section values(489, 1, 'fall', 2007, 'saucon', 844, 'd');
229
+ insert into section values(493, 1, 'spring', 2010, 'stabler', 105, 'f');
230
+ insert into section values(496, 1, 'fall', 2001, 'lambeau', 348, 'm');
231
+ insert into section values(527, 1, 'fall', 2004, 'chandler', 804, 'd');
232
+ insert into section values(545, 1, 'fall', 2001, 'garfield', 119, 'a');
233
+ insert into section values(559, 1, 'fall', 2002, 'fairchild', 145, 'j');
234
+ insert into section values(561, 1, 'fall', 2006, 'saucon', 180, 'd');
235
+ insert into section values(571, 1, 'spring', 2004, 'gates', 707, 'k');
236
+ insert into section values(581, 1, 'spring', 2005, 'lamberton', 143, 'g');
237
+ insert into section values(591, 1, 'spring', 2005, 'gates', 314, 'a');
238
+ insert into section values(599, 1, 'spring', 2003, 'polya', 808, 'h');
239
+ insert into section values(603, 1, 'fall', 2003, 'lamberton', 134, 'm');
240
+ insert into section values(604, 1, 'spring', 2009, 'lamberton', 143, 'd');
241
+ insert into section values(612, 1, 'fall', 2007, 'taylor', 812, 'd');
242
+ insert into section values(626, 1, 'fall', 2006, 'fairchild', 145, 'c');
243
+ insert into section values(629, 1, 'spring', 2003, 'lamberton', 134, 'j');
244
+ insert into section values(631, 1, 'spring', 2007, 'gates', 707, 'e');
245
+ insert into section values(642, 1, 'fall', 2004, 'chandler', 375, 'c');
246
+ insert into section values(663, 1, 'spring', 2005, 'saucon', 180, 'f');
247
+ insert into section values(679, 1, 'spring', 2010, 'polya', 808, 'b');
248
+ insert into section values(692, 1, 'spring', 2010, 'alumni', 547, 'a');
249
+ insert into section values(694, 1, 'fall', 2002, 'power', 717, 'm');
250
+ insert into section values(696, 1, 'spring', 2002, 'main', 425, 'p');
251
+ insert into section values(702, 1, 'spring', 2001, 'taylor', 812, 'e');
252
+ insert into section values(704, 1, 'spring', 2008, 'lamberton', 143, 'b');
253
+ insert into section values(735, 1, 'spring', 2003, 'taylor', 183, 'c');
254
+ insert into section values(735, 2, 'spring', 2010, 'saucon', 180, 'e');
255
+ insert into section values(747, 1, 'spring', 2004, 'nassau', 45, 'l');
256
+ insert into section values(748, 1, 'fall', 2003, 'bronfman', 700, 'l');
257
+ insert into section values(760, 1, 'spring', 2004, 'gates', 707, 'f');
258
+ insert into section values(791, 1, 'spring', 2006, 'saucon', 180, 'b');
259
+ insert into section values(793, 1, 'spring', 2002, 'whitman', 434, 'h');
260
+ insert into section values(795, 1, 'spring', 2004, 'saucon', 113, 'm');
261
+ insert into section values(802, 1, 'spring', 2003, 'drown', 757, 'c');
262
+ insert into section values(808, 1, 'fall', 2003, 'lamberton', 134, 'j');
263
+ insert into section values(843, 1, 'fall', 2010, 'taylor', 812, 'c');
264
+ insert into section values(852, 1, 'spring', 2008, 'rathbone', 261, 'e');
265
+ insert into section values(864, 1, 'spring', 2006, 'main', 425, 'o');
266
+ insert into section values(867, 1, 'fall', 2006, 'saucon', 180, 'a');
267
+ insert into section values(867, 2, 'fall', 2010, 'power', 717, 'm');
268
+ insert into section values(875, 1, 'spring', 2005, 'power', 972, 'i');
269
+ insert into section values(893, 1, 'fall', 2007, 'power', 717, 'l');
270
+ insert into section values(927, 1, 'fall', 2002, 'taylor', 183, 'd');
271
+ insert into section values(949, 1, 'fall', 2007, 'drown', 757, 'l');
272
+ insert into section values(959, 1, 'fall', 2006, 'taylor', 812, 'i');
273
+ insert into section values(960, 1, 'fall', 2009, 'chandler', 375, 'd');
274
+ insert into section values(960, 2, 'fall', 2006, 'power', 717, 'p');
275
+ insert into section values(962, 1, 'spring', 2008, 'taylor', 812, 'p');
276
+ insert into section values(972, 1, 'spring', 2009, 'taylor', 183, 'j');
277
+ insert into section values(974, 1, 'fall', 2003, 'stabler', 105, 'j');
278
+ insert into section values(991, 1, 'spring', 2008, 'power', 972, 'd');
279
+
280
+ create table student (
281
+ id text,
282
+ name text,
283
+ dept_name text,
284
+ tot_cred integer
285
+ );
286
+ insert into student values(1000, 'schrefl', 'history', 4);
287
+ insert into student values(10033, 'rumat', 'finance', 100);
288
+ insert into student values(10076, 'miliko', 'statistics', 116);
289
+ insert into student values(1018, 'moszkowski', 'civil eng.', 73);
290
+ insert into student values(10204, 'prieto', 'biology', 91);
291
+ insert into student values(10267, 'marcol', 'cybernetics', 15);
292
+ insert into student values(10269, 'quimby', 'history', 4);
293
+ insert into student values(10454, 'sowerby', 'english', 108);
294
+ insert into student values(10481, 'coppens', 'math', 58);
295
+ insert into student values(10527, 'cirsto', 'math', 115);
296
+ insert into student values(10556, 'velikovs', 'marketing', 110);
297
+ insert into student values(10663, 'marek', 'psychology', 53);
298
+ insert into student values(10693, 'tran-', 'marketing', 116);
299
+ insert into student values(107, 'guerra', 'elec. eng.', 59);
300
+ insert into student values(10705, 'hawthorne', 'marketing', 78);
301
+ insert into student values(10727, 'leuen', 'math', 43);
302
+ insert into student values(10736, 'eguchi', 'astronomy', 14);
303
+ insert into student values(108, 'moei', 'elec. eng.', 15);
304
+ insert into student values(1080, 'alfaro', 'elec. eng.', 69);
305
+ insert into student values(10814, 'krishnakumar', 'physics', 81);
306
+ insert into student values(10834, 'inoue', 'math', 18);
307
+ insert into student values(10838, 'sahm', 'finance', 4);
308
+ insert into student values(1087, 'tomason', 'pol. sci.', 118);
309
+ insert into student values(10904, 'karande', 'astronomy', 57);
310
+ insert into student values(10917, 'wunderli', 'languages', 117);
311
+ insert into student values(11055, 'greve', 'psychology', 113);
312
+ insert into student values(11057, 'cerime', 'accounting', 35);
313
+ insert into student values(11076, 'crick', 'comp. sci.', 86);
314
+ insert into student values(11083, 'hashimoto', 'athletics', 102);
315
+ insert into student values(11095, 'dage', 'physics', 7);
316
+ insert into student values(1110, 'pearlman', 'biology', 45);
317
+ insert into student values(11101, 'macias', 'psychology', 128);
318
+ insert into student values(11126, 'dawson', 'mech. eng.', 88);
319
+ insert into student values(11152, 'gay', 'statistics', 92);
320
+ insert into student values(11194, 'tiamp', 'pol. sci.', 63);
321
+ insert into student values(11195, 'weller', 'geology', 45);
322
+ insert into student values(11201, 'kee', 'languages', 57);
323
+ insert into student values(11202, 'milner', 'finance', 8);
324
+ insert into student values(11237, 'guthk', 'finance', 80);
325
+ insert into student values(11262, 'kagd', 'cybernetics', 61);
326
+ insert into student values(11377, 'samel', 'math', 100);
327
+ insert into student values(11419, 'vanrell', 'comp. sci.', 61);
328
+ insert into student values(11422, 'zaniolo', 'math', 0);
329
+ insert into student values(11441, 'dhav', 'biology', 80);
330
+ insert into student values(11453, 'she', 'statistics', 29);
331
+ insert into student values(11455, 'holn', 'math', 27);
332
+ insert into student values(11510, 'agar', 'geology', 58);
333
+ insert into student values(11530, 'curutchet', 'languages', 121);
334
+ insert into student values(11578, 'di', 'civil eng.', 81);
335
+ insert into student values(11604, 'lemoine', 'athletics', 60);
336
+ insert into student values(11682, 'kereth', 'accounting', 96);
337
+ insert into student values(11855, 'cal', 'cybernetics', 20);
338
+ insert into student values(11966, 'mccarter', 'cybernetics', 38);
339
+ insert into student values(12069, 'yemini', 'statistics', 43);
340
+ insert into student values(12078, 'erol', 'statistics', 21);
341
+ insert into student values(12173, 'chyr', 'math', 10);
342
+ insert into student values(1220, 'moreira', 'comp. sci.', 107);
343
+ insert into student values(12214, 'kruglyak', 'pol. sci.', 99);
344
+ insert into student values(12216, 'keuk', 'geology', 107);
345
+ insert into student values(12236, 'katzenb', 'statistics', 78);
346
+ insert into student values(123, 'dano', 'civil eng.', 16);
347
+ insert into student values(1232, 'torres', 'cybernetics', 108);
348
+ insert into student values(12326, 'garze', 'physics', 92);
349
+ insert into student values(12362, 'gibbs', 'finance', 129);
350
+ insert into student values(12563, 'murphy', 'marketing', 30);
351
+ insert into student values(12615, 'hughes', 'languages', 79);
352
+ insert into student values(12666, 'frolova', 'comp. sci.', 13);
353
+ insert into student values(12683, 'falconer', 'physics', 78);
354
+ insert into student values(12711, 'cochran', 'english', 127);
355
+ insert into student values(1285, 'bannac', 'biology', 56);
356
+ insert into student values(12941, 'paul', 'mech. eng.', 62);
357
+ insert into student values(12971, 'rakoj', 'mech. eng.', 37);
358
+ insert into student values(12979, 'otterm', 'finance', 73);
359
+ insert into student values(13023, 'bai', 'geology', 100);
360
+ insert into student values(13028, 'seike', 'geology', 2);
361
+ insert into student values(13081, 'kite', 'history', 47);
362
+ insert into student values(13211, 'terauchi', 'physics', 48);
363
+ insert into student values(13217, 'boyle', 'languages', 87);
364
+ insert into student values(13290, 'harrison', 'elec. eng.', 81);
365
+ insert into student values(13352, 'pavlovico', 'marketing', 90);
366
+ insert into student values(13365, 'bouamama', 'comp. sci.', 8);
367
+ insert into student values(13403, 'liley', 'english', 34);
368
+ insert into student values(13408, 'triebel', 'comp. sci.', 115);
369
+ insert into student values(13495, 'prabhakaran', 'statistics', 26);
370
+ insert into student values(13504, 'benson', 'mech. eng.', 63);
371
+ insert into student values(13506, 'vogel', 'psychology', 46);
372
+ insert into student values(13511, 'midu', 'languages', 33);
373
+ insert into student values(1367, 'ivanov', 'finance', 11);
374
+ insert into student values(13741, 'boldin', 'mech. eng.', 89);
375
+ insert into student values(13749, 'kannan', 'athletics', 99);
376
+ insert into student values(13753, 'collet', 'geology', 76);
377
+ insert into student values(13757, 'anse', 'history', 58);
378
+ insert into student values(13826, 'ishihara', 'elec. eng.', 86);
379
+ insert into student values(13880, 'nirenbu', 'history', 102);
380
+ insert into student values(13921, 'hoov', 'math', 118);
381
+ insert into student values(1402, 'andrews', 'psychology', 7);
382
+ insert into student values(14023, 'xiong', 'athletics', 27);
383
+ insert into student values(14032, 'carey', 'marketing', 56);
384
+ insert into student values(14065, 'corbac', 'mech. eng.', 86);
385
+ insert into student values(14094, 'kok', 'geology', 57);
386
+
387
+ create table takes (
388
+ id text,
389
+ course_id text,
390
+ sec_id text,
391
+ semester text,
392
+ year integer,
393
+ grade text
394
+ );
395
+ insert into takes values(1000, 239, 1, 'fall', 2006, 'c-');
396
+ insert into takes values(1000, 319, 1, 'spring', 2003, 'b-');
397
+ insert into takes values(1000, 362, 1, 'fall', 2005, 'a-');
398
+ insert into takes values(1000, 493, 1, 'spring', 2010, 'a');
399
+ insert into takes values(1000, 571, 1, 'spring', 2004, 'b+');
400
+ insert into takes values(1000, 642, 1, 'fall', 2004, 'b-');
401
+ insert into takes values(1000, 663, 1, 'spring', 2005, 'b');
402
+ insert into takes values(1000, 696, 1, 'spring', 2002, 'a');
403
+ insert into takes values(1000, 748, 1, 'fall', 2003, 'c+');
404
+ insert into takes values(1000, 802, 1, 'spring', 2003, 'b-');
405
+ insert into takes values(1000, 959, 1, 'fall', 2006, 'c-');
406
+ insert into takes values(1000, 962, 1, 'spring', 2008, 'a+');
407
+ insert into takes values(1000, 972, 1, 'spring', 2009, 'c');
408
+ insert into takes values(10033, 242, 1, 'fall', 2009, 'a-');
409
+ insert into takes values(10033, 334, 1, 'fall', 2009, 'c-');
410
+ insert into takes values(10033, 338, 1, 'spring', 2007, 'b');
411
+ insert into takes values(10033, 338, 2, 'spring', 2006, 'a');
412
+ insert into takes values(10033, 352, 1, 'spring', 2006, 'a-');
413
+ insert into takes values(10033, 362, 3, 'spring', 2008, 'c+');
414
+ insert into takes values(10033, 408, 1, 'spring', 2007, 'a-');
415
+ insert into takes values(10033, 408, 2, 'spring', 2003, 'c+');
416
+ insert into takes values(10033, 443, 2, 'spring', 2002, 'a+');
417
+ insert into takes values(10033, 445, 1, 'spring', 2001, 'a+');
418
+ insert into takes values(10033, 457, 1, 'spring', 2001, 'a+');
419
+ insert into takes values(10033, 486, 1, 'fall', 2009, 'c');
420
+ insert into takes values(10033, 493, 1, 'spring', 2010, 'a');
421
+ insert into takes values(10033, 603, 1, 'fall', 2003, 'c');
422
+ insert into takes values(10033, 604, 1, 'spring', 2009, 'a-');
423
+ insert into takes values(10033, 629, 1, 'spring', 2003, 'b-');
424
+ insert into takes values(10033, 679, 1, 'spring', 2010, 'c');
425
+ insert into takes values(10033, 692, 1, 'spring', 2010, 'a-');
426
+ insert into takes values(10033, 702, 1, 'spring', 2001, 'b');
427
+ insert into takes values(10033, 791, 1, 'spring', 2006, 'a-');
428
+ insert into takes values(10033, 960, 1, 'fall', 2009, 'a');
429
+ insert into takes values(10033, 972, 1, 'spring', 2009, 'a+');
430
+ insert into takes values(10076, 105, 1, 'fall', 2009, 'a+');
431
+ insert into takes values(10076, 137, 1, 'spring', 2002, 'b-');
432
+ insert into takes values(10076, 237, 1, 'spring', 2008, 'b-');
433
+ insert into takes values(10076, 482, 1, 'fall', 2005, 'a+');
434
+ insert into takes values(10076, 493, 1, 'spring', 2010, 'a');
435
+ insert into takes values(10076, 559, 1, 'fall', 2002, 'b-');
436
+ insert into takes values(10076, 629, 1, 'spring', 2003, 'b-');
437
+ insert into takes values(10076, 663, 1, 'spring', 2005, 'c-');
438
+ insert into takes values(10076, 692, 1, 'spring', 2010, 'a+');
439
+ insert into takes values(10076, 696, 1, 'spring', 2002, 'a');
440
+ insert into takes values(10076, 704, 1, 'spring', 2008, 'c');
441
+ insert into takes values(10076, 747, 1, 'spring', 2004, 'b+');
442
+ insert into takes values(10076, 949, 1, 'fall', 2007, 'a-');
443
+ insert into takes values(10076, 962, 1, 'spring', 2008, 'a-');
444
+ insert into takes values(1018, 105, 1, 'fall', 2009, 'b');
445
+ insert into takes values(1018, 158, 1, 'fall', 2008, 'c+');
446
+ insert into takes values(1018, 192, 1, 'fall', 2002, 'c-');
447
+ insert into takes values(1018, 200, 2, 'fall', 2002, 'c-');
448
+ insert into takes values(1018, 239, 1, 'fall', 2006, 'b');
449
+ insert into takes values(1018, 274, 1, 'fall', 2002, 'b-');
450
+ insert into takes values(1018, 304, 1, 'fall', 2009, 'b');
451
+ insert into takes values(1018, 319, 1, 'spring', 2003, 'c+');
452
+ insert into takes values(1018, 338, 1, 'spring', 2007, 'c+');
453
+ insert into takes values(1018, 349, 1, 'spring', 2008, 'b-');
454
+ insert into takes values(1018, 362, 3, 'spring', 2008, 'c+');
455
+ insert into takes values(1018, 401, 1, 'fall', 2003, 'b');
456
+ insert into takes values(1018, 421, 1, 'fall', 2004, 'a');
457
+ insert into takes values(1018, 457, 1, 'spring', 2001, 'a+');
458
+ insert into takes values(1018, 468, 1, 'fall', 2005, 'b');
459
+ insert into takes values(1018, 476, 1, 'fall', 2010, 'c');
460
+ insert into takes values(1018, 482, 1, 'fall', 2005, 'a');
461
+ insert into takes values(1018, 581, 1, 'spring', 2005, 'b+');
462
+ insert into takes values(1018, 599, 1, 'spring', 2003, 'b-');
463
+ insert into takes values(1018, 603, 1, 'fall', 2003, 'c-');
464
+ insert into takes values(1018, 791, 1, 'spring', 2006, 'c');
465
+ insert into takes values(1018, 972, 1, 'spring', 2009, 'a-');
466
+ insert into takes values(10204, 137, 1, 'spring', 2002, 'a');
467
+ insert into takes values(10204, 169, 1, 'spring', 2007, 'b-');
468
+ insert into takes values(10204, 200, 2, 'fall', 2002, 'a-');
469
+ insert into takes values(10204, 237, 2, 'fall', 2009, 'a-');
470
+ insert into takes values(10204, 274, 1, 'fall', 2002, 'c-');
471
+ insert into takes values(10204, 408, 2, 'spring', 2003, 'c-');
472
+ insert into takes values(10204, 443, 1, 'spring', 2010, 'c-');
473
+ insert into takes values(10204, 692, 1, 'spring', 2010, 'a-');
474
+ insert into takes values(10204, 696, 1, 'spring', 2002, 'a+');
475
+ insert into takes values(10204, 735, 2, 'spring', 2010, 'b-');
476
+ insert into takes values(10204, 791, 1, 'spring', 2006, 'c');
477
+ insert into takes values(10204, 875, 1, 'spring', 2005, 'b+');
478
+ insert into takes values(10267, 192, 1, 'fall', 2002, 'a');
479
+ insert into takes values(10267, 237, 2, 'fall', 2009, 'b+');
480
+ insert into takes values(10267, 242, 1, 'fall', 2009, 'c');
481
+ insert into takes values(10267, 345, 1, 'spring', 2008, 'c-');
482
+ insert into takes values(10267, 362, 2, 'fall', 2006, 'b+');
483
+ insert into takes values(10267, 366, 1, 'fall', 2005, 'c-');
484
+ insert into takes values(10267, 545, 1, 'fall', 2001, 'a+');
485
+ insert into takes values(10267, 603, 1, 'fall', 2003, 'b+');
486
+ insert into takes values(10267, 604, 1, 'spring', 2009, 'c');
487
+ insert into takes values(10267, 748, 1, 'fall', 2003, 'c-');
488
+ insert into takes values(10267, 793, 1, 'spring', 2002, 'c-');
489
+ insert into takes values(10269, 237, 2, 'fall', 2009, 'c+');
490
+ insert into takes values(10269, 352, 1, 'spring', 2006, 'b');
491
+ insert into takes values(10269, 362, 2, 'fall', 2006, 'c-');
492
+ insert into takes values(10269, 408, 2, 'spring', 2003, 'c');
493
+ insert into takes values(10269, 421, 1, 'fall', 2004, 'c-');
494
+ insert into takes values(10269, 489, 1, 'fall', 2007, 'b-');
495
+
496
+ create table advisor (
497
+ s_id text,
498
+ i_id text
499
+ );
500
+ insert into advisor values(1000, 19368);
501
+ insert into advisor values(10033, 95030);
502
+ insert into advisor values(10076, 22591);
503
+ insert into advisor values(1018, 77346);
504
+ insert into advisor values(10204, 31955);
505
+ insert into advisor values(10267, 73623);
506
+ insert into advisor values(10269, 90643);
507
+ insert into advisor values(10454, 58558);
508
+ insert into advisor values(10481, 73623);
509
+ insert into advisor values(10527, 25946);
510
+ insert into advisor values(10556, 58558);
511
+ insert into advisor values(10663, 48570);
512
+ insert into advisor values(10693, 6569);
513
+ insert into advisor values(107, 31955);
514
+ insert into advisor values(10705, 99052);
515
+ insert into advisor values(10727, 58558);
516
+ insert into advisor values(10736, 28097);
517
+ insert into advisor values(108, 74420);
518
+ insert into advisor values(1080, 64871);
519
+ insert into advisor values(10814, 50330);
520
+ insert into advisor values(10834, 57180);
521
+ insert into advisor values(10838, 3335);
522
+ insert into advisor values(1087, 48507);
523
+ insert into advisor values(10904, 58558);
524
+ insert into advisor values(10917, 59795);
525
+ insert into advisor values(11055, 6569);
526
+ insert into advisor values(11057, 41930);
527
+ insert into advisor values(11076, 25946);
528
+ insert into advisor values(11083, 48507);
529
+ insert into advisor values(11095, 81991);
530
+ insert into advisor values(1110, 36897);
531
+ insert into advisor values(11101, 3199);
532
+ insert into advisor values(11126, 15347);
533
+ insert into advisor values(11152, 25946);
534
+ insert into advisor values(11194, 48507);
535
+ insert into advisor values(11195, 52647);
536
+ insert into advisor values(11201, 22591);
537
+ insert into advisor values(11202, 28400);
538
+ insert into advisor values(11237, 58558);
539
+ insert into advisor values(11262, 48570);
540
+ insert into advisor values(11377, 15347);
541
+ insert into advisor values(11419, 59795);
542
+ insert into advisor values(11422, 64871);
543
+ insert into advisor values(11441, 77346);
544
+ insert into advisor values(11453, 50885);
545
+ insert into advisor values(11455, 65931);
546
+ insert into advisor values(11510, 64871);
547
+ insert into advisor values(11530, 90376);
548
+ insert into advisor values(11578, 73623);
549
+ insert into advisor values(11604, 79081);
550
+ insert into advisor values(11682, 3199);
551
+ insert into advisor values(11855, 48507);
552
+ insert into advisor values(11966, 52647);
553
+ insert into advisor values(12069, 81991);
554
+ insert into advisor values(12078, 25946);
555
+ insert into advisor values(12173, 64871);
556
+ insert into advisor values(1220, 96895);
557
+ insert into advisor values(12214, 80759);
558
+ insert into advisor values(12216, 41930);
559
+ insert into advisor values(12236, 96895);
560
+ insert into advisor values(123, 72553);
561
+ insert into advisor values(1232, 77346);
562
+ insert into advisor values(12326, 79081);
563
+ insert into advisor values(12362, 15347);
564
+ insert into advisor values(12563, 37687);
565
+ insert into advisor values(12615, 28097);
566
+ insert into advisor values(12666, 80759);
567
+ insert into advisor values(12683, 80759);
568
+ insert into advisor values(12711, 28097);
569
+ insert into advisor values(1285, 16807);
570
+ insert into advisor values(12941, 79653);
571
+ insert into advisor values(12971, 95709);
572
+ insert into advisor values(12979, 74420);
573
+ insert into advisor values(13023, 80759);
574
+ insert into advisor values(13028, 96895);
575
+ insert into advisor values(13081, 73623);
576
+ insert into advisor values(13211, 6569);
577
+ insert into advisor values(13217, 74426);
578
+ insert into advisor values(13290, 34175);
579
+ insert into advisor values(13352, 14365);
580
+ insert into advisor values(13365, 28400);
581
+ insert into advisor values(13403, 58558);
582
+ insert into advisor values(13408, 42782);
583
+ insert into advisor values(13495, 25946);
584
+ insert into advisor values(13504, 3335);
585
+ insert into advisor values(13506, 4034);
586
+ insert into advisor values(13511, 36897);
587
+ insert into advisor values(1367, 74420);
588
+ insert into advisor values(13741, 95030);
589
+ insert into advisor values(13749, 72553);
590
+ insert into advisor values(13753, 3335);
591
+ insert into advisor values(13757, 79081);
592
+ insert into advisor values(13826, 97302);
593
+ insert into advisor values(13880, 58558);
594
+ insert into advisor values(13921, 25946);
595
+ insert into advisor values(1402, 35579);
596
+ insert into advisor values(14023, 28400);
597
+ insert into advisor values(14032, 6569);
598
+ insert into advisor values(14065, 41930);
599
+ insert into advisor values(14094, 59795);
600
+
601
+ create table time_slot (
602
+ time_slot_id text,
603
+ day text,
604
+ start_hr integer,
605
+ start_min integer,
606
+ end_hr integer,
607
+ end_min integer
608
+ );
609
+ insert into time_slot values('a', 'f', 8, 0, 8, 50);
610
+ insert into time_slot values('a', 'm', 8, 0, 8, 50);
611
+ insert into time_slot values('a', 'w', 8, 0, 8, 50);
612
+ insert into time_slot values('b', 'f', 9, 0, 9, 50);
613
+ insert into time_slot values('b', 'm', 9, 0, 9, 50);
614
+ insert into time_slot values('b', 'w', 9, 0, 9, 50);
615
+ insert into time_slot values('c', 'f', 11, 0, 11, 50);
616
+ insert into time_slot values('c', 'm', 11, 0, 11, 50);
617
+ insert into time_slot values('c', 'w', 11, 0, 11, 50);
618
+ insert into time_slot values('d', 'f', 13, 0, 13, 50);
619
+ insert into time_slot values('d', 'm', 13, 0, 13, 50);
620
+ insert into time_slot values('d', 'w', 13, 0, 13, 50);
621
+ insert into time_slot values('e', 'r', 10, 30, 11, 45);
622
+ insert into time_slot values('e', 't', 10, 30, 11, 45);
623
+ insert into time_slot values('f', 'r', 14, 30, 15, 45);
624
+ insert into time_slot values('f', 't', 14, 30, 15, 45);
625
+ insert into time_slot values('g', 'f', 16, 0, 16, 50);
626
+ insert into time_slot values('g', 'm', 16, 0, 16, 50);
627
+ insert into time_slot values('g', 'w', 16, 0, 16, 50);
628
+ insert into time_slot values('h', 'w', 10, 0, 12, 30);
629
+
630
+ create table prereq (
631
+ course_id text,
632
+ prereq_id text
633
+ );
634
+ insert into prereq values(376, 130);
635
+ insert into prereq values(760, 169);
636
+ insert into prereq values(403, 345);
637
+ insert into prereq values(353, 647);
638
+ insert into prereq values(629, 139);
639
+ insert into prereq values(608, 864);
640
+ insert into prereq values(158, 408);
641
+ insert into prereq values(496, 489);
642
+ insert into prereq values(241, 486);
643
+ insert into prereq values(958, 969);
644
+ insert into prereq values(591, 403);
645
+ insert into prereq values(656, 659);
646
+ insert into prereq values(864, 634);
647
+ insert into prereq values(559, 500);
648
+ insert into prereq values(209, 780);
649
+ insert into prereq values(603, 735);
650
+ insert into prereq values(804, 947);
651
+ insert into prereq values(545, 947);
652
+ insert into prereq values(353, 694);
653
+ insert into prereq values(692, 761);
654
+ insert into prereq values(774, 258);
655
+ insert into prereq values(747, 927);
656
+ insert into prereq values(496, 416);
657
+ insert into prereq values(544, 702);
658
+ insert into prereq values(608, 421);
659
+ insert into prereq values(313, 731);
660
+ insert into prereq values(258, 137);
661
+ insert into prereq values(486, 371);
662
+ insert into prereq values(224, 227);
663
+ insert into prereq values(972, 958);
664
+ insert into prereq values(359, 694);
665
+ insert into prereq values(998, 319);
666
+ insert into prereq values(392, 875);
667
+ insert into prereq values(443, 852);
668
+ insert into prereq values(324, 408);
669
+ insert into prereq values(805, 774);
670
+ insert into prereq values(242, 304);
671
+ insert into prereq values(795, 123);
672
+ insert into prereq values(169, 603);
673
+ insert into prereq values(774, 769);
674
+ insert into prereq values(958, 735);
675
+ insert into prereq values(692, 426);
676
+ insert into prereq values(958, 139);
677
+ insert into prereq values(663, 998);
678
+ insert into prereq values(586, 468);
679
+ insert into prereq values(254, 877);
680
+ insert into prereq values(802, 666);
681
+ insert into prereq values(820, 371);
682
+ insert into prereq values(902, 130);
683
+ insert into prereq values(362, 242);
684
+ insert into prereq values(359, 818);
685
+ insert into prereq values(664, 489);
686
+ insert into prereq values(276, 403);
687
+ insert into prereq values(582, 487);
688
+ insert into prereq values(694, 254);
689
+ insert into prereq values(841, 818);
690
+ insert into prereq values(852, 133);
691
+ insert into prereq values(843, 324);
692
+ insert into prereq values(810, 966);
693
+ insert into prereq values(628, 340);
694
+ insert into prereq values(242, 594);
695
+ insert into prereq values(292, 399);
696
+ insert into prereq values(618, 352);
697
+ insert into prereq values(664, 704);
698
+ insert into prereq values(793, 791);
699
+ insert into prereq values(692, 774);
700
+ insert into prereq values(324, 857);
701
+ insert into prereq values(612, 123);
702
+ insert into prereq values(991, 598);
703
+ insert into prereq values(544, 254);
704
+ insert into prereq values(852, 267);
705
+ insert into prereq values(792, 814);
706
+ insert into prereq values(133, 852);
707
+ insert into prereq values(496, 443);
708
+ insert into prereq values(338, 133);
709
+ insert into prereq values(399, 664);
710
+ insert into prereq values(747, 272);
711
+ insert into prereq values(696, 101);
712
+ insert into prereq values(403, 352);
713
+ insert into prereq values(545, 318);
714
+ insert into prereq values(634, 864);
715
+ insert into prereq values(947, 494);
716
+ insert into prereq values(647, 792);
717
+ insert into prereq values(631, 681);
718
+ insert into prereq values(236, 984);
719
+ insert into prereq values(362, 696);
720
+ insert into prereq values(875, 458);
721
+ insert into prereq values(457, 544);
722
+ insert into prereq values(704, 416);
723
+ insert into prereq values(656, 559);
724
+ insert into prereq values(272, 275);
725
+ insert into prereq values(338, 852);
726
+ insert into prereq values(780, 345);
727
+ insert into prereq values(458, 696);
728
+ insert into prereq values(239, 628);
729
+ insert into prereq values(411, 401);
730
+ insert into prereq values(830, 748);
731
+ insert into prereq values(558, 130);
732
+ insert into prereq values(877, 599);
733
+ insert into prereq values(349, 612);
734
+ create table instructor_teaches (
735
+ id text,
736
+ name text,
737
+ dept_name text,
738
+ salary real,
739
+ course_id text,
740
+ sec_id text,
741
+ semester text,
742
+ year integer);
743
+ insert into instructor_teaches values('14365', 'mckinnon', 'cybernetics', 94333.99, '200', '1', 'spring', 2007);
744
+ insert into instructor_teaches values('14365', 'mckinnon', 'cybernetics', 94333.99, '843', '1', 'fall', 2010);
745
+ insert into instructor_teaches values('15347', 'pingr', 'statistics', 59303.62, '457', '1', 'spring', 2001);
746
+ insert into instructor_teaches values('16807', 'mird', 'marketing', 119921.41, 'None', 'None', 'None', 'None');
747
+ insert into instructor_teaches values('19368', 'luo', 'english', 88791.45, '545', '1', 'fall', 2001);
748
+ insert into instructor_teaches values('19368', 'luo', 'english', 88791.45, '581', '1', 'spring', 2005);
749
+ insert into instructor_teaches values('19368', 'luo', 'english', 88791.45, '591', '1', 'spring', 2005);
750
+ insert into instructor_teaches values('22591', 'murata', 'athletics', 61387.56, '338', '1', 'spring', 2007);
751
+ insert into instructor_teaches values('22591', 'murata', 'athletics', 61387.56, '338', '2', 'spring', 2006);
752
+ insert into instructor_teaches values('22591', 'murata', 'athletics', 61387.56, '352', '1', 'spring', 2006);
753
+ insert into instructor_teaches values('22591', 'murata', 'athletics', 61387.56, '400', '1', 'spring', 2007);
754
+ insert into instructor_teaches values('22591', 'murata', 'athletics', 61387.56, '400', '2', 'fall', 2003);
755
+ insert into instructor_teaches values('22591', 'murata', 'athletics', 61387.56, '482', '1', 'fall', 2005);
756
+ insert into instructor_teaches values('22591', 'murata', 'athletics', 61387.56, '599', '1', 'spring', 2003);
757
+ insert into instructor_teaches values('22591', 'murata', 'athletics', 61387.56, '642', '1', 'fall', 2004);
758
+ insert into instructor_teaches values('22591', 'murata', 'athletics', 61387.56, '663', '1', 'spring', 2005);
759
+ insert into instructor_teaches values('22591', 'murata', 'athletics', 61387.56, '867', '1', 'fall', 2006);
760
+ insert into instructor_teaches values('22591', 'murata', 'athletics', 61387.56, '962', '1', 'spring', 2008);
761
+ insert into instructor_teaches values('22591', 'murata', 'athletics', 61387.56, '972', '1', 'spring', 2009);
762
+ insert into instructor_teaches values('22591', 'murata', 'athletics', 61387.56, '991', '1', 'spring', 2008);
763
+ insert into instructor_teaches values('25946', 'konstantinides', 'languages', 32570.5, '192', '1', 'fall', 2002);
764
+ insert into instructor_teaches values('28097', 'levine', 'elec. eng.', 89805.83, '366', '1', 'fall', 2005);
765
+ insert into instructor_teaches values('28097', 'levine', 'elec. eng.', 89805.83, '808', '1', 'fall', 2003);
766
+ insert into instructor_teaches values('28400', 'shuming', 'physics', 108011.81, '603', '1', 'fall', 2003);
767
+ insert into instructor_teaches values('28400', 'shuming', 'physics', 108011.81, '604', '1', 'spring', 2009);
768
+ insert into instructor_teaches values('31955', 'queiroz', 'biology', 45538.32, 'None', 'None', 'None', 'None');
769
+ insert into instructor_teaches values('3199', 'sullivan', 'elec. eng.', 90038.09, '169', '1', 'spring', 2007);
770
+ insert into instructor_teaches values('3199', 'sullivan', 'elec. eng.', 90038.09, '169', '2', 'fall', 2002);
771
+ insert into instructor_teaches values('3199', 'sullivan', 'elec. eng.', 90038.09, '561', '1', 'fall', 2006);
772
+ insert into instructor_teaches values('3199', 'sullivan', 'elec. eng.', 90038.09, '631', '1', 'spring', 2007);
773
+ insert into instructor_teaches values('3335', 'bertolino', 'mech. eng.', 51647.57, '949', '1', 'fall', 2007);
774
+ insert into instructor_teaches values('3335', 'bertolino', 'mech. eng.', 51647.57, '960', '1', 'fall', 2009);
775
+ insert into instructor_teaches values('34175', 'hau', 'accounting', 43966.29, '274', '1', 'fall', 2002);
776
+ insert into instructor_teaches values('34175', 'hau', 'accounting', 43966.29, '571', '1', 'spring', 2004);
777
+ insert into instructor_teaches values('34175', 'hau', 'accounting', 43966.29, '747', '1', 'spring', 2004);
778
+ insert into instructor_teaches values('35579', 'voronina', 'physics', 121141.99, 'None', 'None', 'None', 'None');
779
+ insert into instructor_teaches values('36897', 'soisalon-soininen', 'psychology', 62579.61, '242', '1', 'fall', 2009);
780
+ insert into instructor_teaches values('36897', 'soisalon-soininen', 'psychology', 62579.61, '313', '1', 'fall', 2010);
781
+ insert into instructor_teaches values('36897', 'soisalon-soininen', 'psychology', 62579.61, '696', '1', 'spring', 2002);
782
+ insert into instructor_teaches values('36897', 'soisalon-soininen', 'psychology', 62579.61, '791', '1', 'spring', 2006);
783
+ insert into instructor_teaches values('36897', 'soisalon-soininen', 'psychology', 62579.61, '795', '1', 'spring', 2004);
784
+ insert into instructor_teaches values('37687', 'moreira', 'accounting', 71351.42, 'None', 'None', 'None', 'None');
785
+ insert into instructor_teaches values('4034', 'arias', 'statistics', 104563.38, 'None', 'None', 'None', 'None');
786
+ insert into instructor_teaches values('41930', 'mingoz', 'finance', 105311.38, '401', '1', 'fall', 2003);
787
+ insert into instructor_teaches values('41930', 'mingoz', 'finance', 105311.38, '421', '1', 'fall', 2004);
788
+ insert into instructor_teaches values('41930', 'mingoz', 'finance', 105311.38, '692', '1', 'spring', 2010);
789
+ insert into instructor_teaches values('4233', 'yazdi', 'athletics', 98333.65, '679', '1', 'spring', 2010);
790
+ insert into instructor_teaches values('42782', 'lembr', 'accounting', 32241.56, '793', '1', 'spring', 2002);
791
+ insert into instructor_teaches values('43779', 'choll', 'statistics', 57807.09, '105', '1', 'fall', 2009);
792
+ insert into instructor_teaches values('43779', 'choll', 'statistics', 57807.09, '105', '2', 'fall', 2002);
793
+ insert into instructor_teaches values('43779', 'choll', 'statistics', 57807.09, '476', '1', 'fall', 2010);
794
+ insert into instructor_teaches values('43779', 'choll', 'statistics', 57807.09, '489', '1', 'fall', 2007);
795
+ insert into instructor_teaches values('48507', 'valtchev', 'biology', 77036.18, '626', '1', 'fall', 2006);
796
+ insert into instructor_teaches values('48570', 'arinb', 'statistics', 54805.11, '867', '2', 'fall', 2010);
797
+ insert into instructor_teaches values('50330', 'bawa', 'athletics', 72140.88, '468', '2', 'fall', 2007);
798
+ insert into instructor_teaches values('50885', 'kenje', 'marketing', 106554.73, 'None', 'None', 'None', 'None');
799
+ insert into instructor_teaches values('52647', 'vicentino', 'elec. eng.', 34272.67, 'None', 'None', 'None', 'None');
800
+ insert into instructor_teaches values('57180', 'dusserre', 'marketing', 66143.25, 'None', 'None', 'None', 'None');
801
+ insert into instructor_teaches values('58558', 'jaekel', 'athletics', 103146.87, 'None', 'None', 'None', 'None');
802
+ insert into instructor_teaches values('59795', 'desyl', 'languages', 48803.38, 'None', 'None', 'None', 'None');
803
+ insert into instructor_teaches values('63287', 'dagostino', 'psychology', 59706.49, '334', '1', 'fall', 2009);
804
+ insert into instructor_teaches values('63287', 'dagostino', 'psychology', 59706.49, '852', '1', 'spring', 2008);
805
+ insert into instructor_teaches values('63395', 'sarkar', 'pol. sci.', 87549.8, 'None', 'None', 'None', 'None');
806
+ insert into instructor_teaches values('64871', 'ullman', 'accounting', 47307.1, 'None', 'None', 'None', 'None');
807
+ insert into instructor_teaches values('6569', 'bancilhon', 'pol. sci.', 87958.01, '137', '1', 'spring', 2002);
808
+ insert into instructor_teaches values('6569', 'bancilhon', 'pol. sci.', 87958.01, '304', '1', 'fall', 2009);
809
+ insert into instructor_teaches values('6569', 'bancilhon', 'pol. sci.', 87958.01, '319', '1', 'spring', 2003);
810
+ insert into instructor_teaches values('6569', 'bancilhon', 'pol. sci.', 87958.01, '349', '1', 'spring', 2008);
811
+ insert into instructor_teaches values('6569', 'bancilhon', 'pol. sci.', 87958.01, '362', '1', 'fall', 2005);
812
+ insert into instructor_teaches values('6569', 'bancilhon', 'pol. sci.', 87958.01, '362', '2', 'fall', 2006);
813
+ insert into instructor_teaches values('6569', 'bancilhon', 'pol. sci.', 87958.01, '362', '3', 'spring', 2008);
814
+ insert into instructor_teaches values('6569', 'bancilhon', 'pol. sci.', 87958.01, '426', '1', 'spring', 2006);
815
+ insert into instructor_teaches values('6569', 'bancilhon', 'pol. sci.', 87958.01, '445', '1', 'spring', 2001);
816
+ insert into instructor_teaches values('6569', 'bancilhon', 'pol. sci.', 87958.01, '527', '1', 'fall', 2004);
817
+ insert into instructor_teaches values('65931', 'liley', 'languages', 90891.69, '875', '1', 'spring', 2005);
818
+ insert into instructor_teaches values('72553', 'morris', 'marketing', 43770.36, 'None', 'None', 'None', 'None');
819
+ insert into instructor_teaches values('73623', 'yin', 'english', 46397.59, '694', '1', 'fall', 2002);
820
+ insert into instructor_teaches values('74420', 'gustafsson', 'elec. eng.', 82534.37, '239', '1', 'fall', 2006);
821
+ insert into instructor_teaches values('74420', 'gustafsson', 'elec. eng.', 82534.37, '376', '1', 'fall', 2006);
822
+ insert into instructor_teaches values('74420', 'gustafsson', 'elec. eng.', 82534.37, '443', '1', 'spring', 2010);
823
+ insert into instructor_teaches values('74420', 'gustafsson', 'elec. eng.', 82534.37, '443', '2', 'spring', 2002);
824
+ insert into instructor_teaches values('74420', 'gustafsson', 'elec. eng.', 82534.37, '612', '1', 'fall', 2007);
825
+ insert into instructor_teaches values('74420', 'gustafsson', 'elec. eng.', 82534.37, '959', '1', 'fall', 2006);
826
+ insert into instructor_teaches values('74426', 'bondi', 'comp. sci.', 115469.11, 'None', 'None', 'None', 'None');
827
+ insert into instructor_teaches values('77346', 'lent', 'mech. eng.', 107978.47, '486', '1', 'fall', 2009);
828
+ insert into instructor_teaches values('77346', 'lent', 'mech. eng.', 107978.47, '493', '1', 'spring', 2010);
829
+ insert into instructor_teaches values('77346', 'lent', 'mech. eng.', 107978.47, '704', '1', 'spring', 2008);
830
+ insert into instructor_teaches values('77346', 'lent', 'mech. eng.', 107978.47, '735', '1', 'spring', 2003);
831
+ insert into instructor_teaches values('77346', 'lent', 'mech. eng.', 107978.47, '735', '2', 'spring', 2010);
832
+ insert into instructor_teaches values('77346', 'lent', 'mech. eng.', 107978.47, '864', '1', 'spring', 2006);
833
+ insert into instructor_teaches values('78699', 'pimenta', 'cybernetics', 79866.95, 'None', 'None', 'None', 'None');
834
+ insert into instructor_teaches values('79081', 'bourrier', 'comp. sci.', 80797.83, '200', '2', 'fall', 2002);
835
+ insert into instructor_teaches values('79081', 'bourrier', 'comp. sci.', 80797.83, '345', '1', 'spring', 2008);
836
+ insert into instructor_teaches values('79081', 'bourrier', 'comp. sci.', 80797.83, '408', '1', 'spring', 2007);
837
+ insert into instructor_teaches values('79081', 'bourrier', 'comp. sci.', 80797.83, '408', '2', 'spring', 2003);
838
+ insert into instructor_teaches values('79081', 'bourrier', 'comp. sci.', 80797.83, '760', '1', 'spring', 2004);
839
+ insert into instructor_teaches values('79081', 'bourrier', 'comp. sci.', 80797.83, '974', '1', 'fall', 2003);
840
+ insert into instructor_teaches values('79653', 'gutierrez', 'statistics', 45310.53, 'None', 'None', 'None', 'None');
841
+ insert into instructor_teaches values('80759', 'sakurai', 'english', 118143.98, '559', '1', 'fall', 2002);
842
+ insert into instructor_teaches values('81991', 'romero', 'astronomy', 79070.08, '415', '1', 'fall', 2010);
843
+ insert into instructor_teaches values('81991', 'romero', 'astronomy', 79070.08, '702', '1', 'spring', 2001);
844
+ insert into instructor_teaches values('90376', 'mahmoud', 'geology', 99382.59, '158', '1', 'fall', 2008);
845
+ insert into instructor_teaches values('90643', 'kean', 'english', 35023.18, '461', '1', 'fall', 2002);
846
+ insert into instructor_teaches values('95030', 'bietzk', 'cybernetics', 117836.5, 'None', 'None', 'None', 'None');
847
+ insert into instructor_teaches values('95709', 'atanassov', 'statistics', 84982.92, '258', '1', 'fall', 2007);
848
+ insert into instructor_teaches values('95709', 'atanassov', 'statistics', 84982.92, '270', '1', 'spring', 2010);
849
+ insert into instructor_teaches values('95709', 'atanassov', 'statistics', 84982.92, '468', '1', 'fall', 2005);
850
+ insert into instructor_teaches values('95709', 'atanassov', 'statistics', 84982.92, '960', '2', 'fall', 2006);
851
+ insert into instructor_teaches values('96895', 'tung', 'athletics', 50482.03, 'None', 'None', 'None', 'None');
852
+ insert into instructor_teaches values('97302', 'wieland', 'pol. sci.', 124651.41, 'None', 'None', 'None', 'None');
853
+ insert into instructor_teaches values('99052', 'dale', 'cybernetics', 93348.83, '158', '2', 'spring', 2008);
854
+ insert into instructor_teaches values('99052', 'dale', 'cybernetics', 93348.83, '237', '1', 'spring', 2008);
855
+ insert into instructor_teaches values('99052', 'dale', 'cybernetics', 93348.83, '237', '2', 'fall', 2009);
856
+ insert into instructor_teaches values('99052', 'dale', 'cybernetics', 93348.83, '496', '1', 'fall', 2001);
857
+ insert into instructor_teaches values('99052', 'dale', 'cybernetics', 93348.83, '629', '1', 'spring', 2003);
858
+ insert into instructor_teaches values('99052', 'dale', 'cybernetics', 93348.83, '748', '1', 'fall', 2003);
859
+ insert into instructor_teaches values('99052', 'dale', 'cybernetics', 93348.83, '802', '1', 'spring', 2003);
860
+ insert into instructor_teaches values('99052', 'dale', 'cybernetics', 93348.83, '893', '1', 'fall', 2007);
861
+ insert into instructor_teaches values('99052', 'dale', 'cybernetics', 93348.83, '927', '1', 'fall', 2002);
862
+
all/databases/college_2_minus_1_0/college_2_minus_1_0.sqlite ADDED
Binary file (53.2 kB). View file
 
all/databases/college_3/college_3.sql ADDED
@@ -0,0 +1,453 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CREATE TABLE "student" (
2
+ "stuid" integer,
3
+ "lname" text,
4
+ "fname" text,
5
+ "age" integer,
6
+ "sex" text,
7
+ "major" integer,
8
+ "advisor" integer,
9
+ "city_code" text
10
+ );
11
+
12
+ INSERT INTO student VALUES (1001, "smith", "linda", 18, "f", 600, 1121, "bal");
13
+ INSERT INTO student VALUES (1002, "kim", "tracy", 19, "f", 600, 7712, "hkg");
14
+ INSERT INTO student VALUES (1003, "jones", "shiela", 21, "f", 600, 7792, "was");
15
+ INSERT INTO student VALUES (1004, "kumar", "dinesh", 20, "m", 600, 8423, "chi");
16
+ INSERT INTO student VALUES (1005, "gompers", "paul", 26, "m", 600, 1121, "yyz");
17
+ INSERT INTO student VALUES (1006, "schultz", "andy", 18, "m", 600, 1148, "bal");
18
+ INSERT INTO student VALUES (1007, "apap", "lisa", 18, "f", 600, 8918, "pit");
19
+ INSERT INTO student VALUES (1008, "nelson", "jandy", 20, "f", 600, 9172, "bal");
20
+ INSERT INTO student VALUES (1009, "tai", "eric", 19, "m", 600, 2192, "yyz");
21
+ INSERT INTO student VALUES (1010, "lee", "derek", 17, "m", 600, 2192, "hou");
22
+ INSERT INTO student VALUES (1011, "adams", "david", 22, "m", 600, 1148, "phl");
23
+ INSERT INTO student VALUES (1012, "davis", "steven", 20, "m", 600, 7723, "pit");
24
+ INSERT INTO student VALUES (1014, "norris", "charles", 18, "m", 600, 8741, "dal");
25
+ INSERT INTO student VALUES (1015, "lee", "susan", 16, "f", 600, 8721, "hkg");
26
+ INSERT INTO student VALUES (1016, "schwartz", "mark", 17, "m", 600, 2192, "det");
27
+ INSERT INTO student VALUES (1017, "wilson", "bruce", 27, "m", 600, 1148, "lon");
28
+ INSERT INTO student VALUES (1018, "leighton", "michael", 20, "m", 600, 1121, "pit");
29
+ INSERT INTO student VALUES (1019, "pang", "arthur", 18, "m", 600, 2192, "was");
30
+ INSERT INTO student VALUES (1020, "thornton", "ian", 22, "m", 520, 7271, "nyc");
31
+ INSERT INTO student VALUES (1021, "andreou", "george", 19, "m", 520, 8722, "nyc");
32
+ INSERT INTO student VALUES (1022, "woods", "michael", 17, "m", 540, 8722, "phl");
33
+ INSERT INTO student VALUES (1023, "shieber", "david", 20, "m", 520, 8722, "nyc");
34
+ INSERT INTO student VALUES (1024, "prater", "stacy", 18, "f", 540, 7271, "bal");
35
+ INSERT INTO student VALUES (1025, "goldman", "mark", 18, "m", 520, 7134, "pit");
36
+ INSERT INTO student VALUES (1026, "pang", "eric", 19, "m", 520, 7134, "hkg");
37
+ INSERT INTO student VALUES (1027, "brody", "paul", 18, "m", 520, 8723, "los");
38
+ INSERT INTO student VALUES (1028, "rugh", "eric", 20, "m", 550, 2311, "roc");
39
+ INSERT INTO student VALUES (1029, "han", "jun", 17, "m", 100, 2311, "pek");
40
+ INSERT INTO student VALUES (1030, "cheng", "lisa", 21, "f", 550, 2311, "sfo");
41
+ INSERT INTO student VALUES (1031, "smith", "sarah", 20, "f", 550, 8772, "phl");
42
+ INSERT INTO student VALUES (1032, "brown", "eric", 20, "m", 550, 8772, "atl");
43
+ INSERT INTO student VALUES (1033, "simms", "william", 18, "m", 550, 8772, "nar");
44
+ INSERT INTO student VALUES (1034, "epp", "eric", 18, "m", 50, 5718, "bos");
45
+ INSERT INTO student VALUES (1035, "schmidt", "sarah", 26, "f", 50, 5718, "was");
46
+
47
+ CREATE TABLE "faculty" (
48
+ "facid" integer,
49
+ "lname" text,
50
+ "fname" text,
51
+ "rank" text,
52
+ "sex" text,
53
+ "phone" integer,
54
+ "room" text,
55
+ "building" text
56
+ );
57
+
58
+ INSERT INTO faculty VALUES (1082, "giuliano", "mark", "instructor", "m", 2424, "224", "neb");
59
+ INSERT INTO faculty VALUES (1121, "goodrich", "michael", "professor", "m", 3593, "219", "neb");
60
+ INSERT INTO faculty VALUES (1148, "masson", "gerald", "professor", "m", 3402, "224b", "neb");
61
+ INSERT INTO faculty VALUES (1172, "runolfsson", "thordur", "assocprof", "m", 3121, "119", "barton");
62
+ INSERT INTO faculty VALUES (1177, "naiman", "daniel", "professor", "m", 3571, "288", "krieger");
63
+ INSERT INTO faculty VALUES (1193, "jones", "stacey", "instructor", "f", 3550, "224", "neb");
64
+ INSERT INTO faculty VALUES (1823, "davidson", "frederic", "professor", "m", 5629, "119", "barton");
65
+ INSERT INTO faculty VALUES (2028, "brody", "william", "professor", "m", 6073, "119", "barton");
66
+ INSERT INTO faculty VALUES (2119, "meyer", "gerard", "professor", "m", 6350, "119", "barton");
67
+ INSERT INTO faculty VALUES (2192, "yarowsky", "david", "asstprof", "m", 6587, "324", "neb");
68
+ INSERT INTO faculty VALUES (2291, "scheinerman", "edward", "professor", "m", 6654, "288", "krieger");
69
+ INSERT INTO faculty VALUES (2311, "priebe", "carey", "asstprof", "m", 6953, "288", "krieger");
70
+ INSERT INTO faculty VALUES (2738, "fill", "james", "professor", "m", 8209, "288", "krieger");
71
+ INSERT INTO faculty VALUES (2881, "goldman", "alan", "professor", "m", 8335, "288", "krieger");
72
+ INSERT INTO faculty VALUES (3457, "smith", "scott", "assocprof", "m", 1035, "318", "neb");
73
+ INSERT INTO faculty VALUES (4230, "houlahan", "joanne", "instructor", "f", 1260, "328", "neb");
74
+ INSERT INTO faculty VALUES (4432, "burzio", "luigi", "professor", "m", 1813, "288", "krieger");
75
+ INSERT INTO faculty VALUES (5718, "frank", "robert", "asstprof", "m", 1751, "288", "krieger");
76
+ INSERT INTO faculty VALUES (6112, "beach", "louis", "instructor", "m", 1838, "207", "neb");
77
+ INSERT INTO faculty VALUES (6182, "cheng", "cheng", "asstprof", "m", 1856, "288", "krieger");
78
+ INSERT INTO faculty VALUES (6191, "kaplan", "alexander", "professor", "m", 1825, "119", "barton");
79
+ INSERT INTO faculty VALUES (6330, "byrne", "william", "instructor", "m", 1691, "119", "barton");
80
+ INSERT INTO faculty VALUES (6541, "han", "shih-ping", "professor", "m", 1914, "288", "krieger");
81
+ INSERT INTO faculty VALUES (6910, "smolensky", "paul", "professor", "m", 2072, "288", "krieger");
82
+ INSERT INTO faculty VALUES (6925, "iglesias", "pablo", "asstprof", "m", 2021, "119", "barton");
83
+ INSERT INTO faculty VALUES (7134, "goutsias", "john", "professor", "m", 2184, "119", "barton");
84
+ INSERT INTO faculty VALUES (7231, "rugh", "wilson", "professor", "m", 2191, "119", "barton");
85
+ INSERT INTO faculty VALUES (7271, "jelinek", "frederick", "professor", "m", 2890, "119", "barton");
86
+ INSERT INTO faculty VALUES (7506, "westgate", "charles", "professor", "m", 2932, "119", "barton");
87
+ INSERT INTO faculty VALUES (7712, "awerbuch", "baruch", "professor", "m", 2105, "220", "neb");
88
+ INSERT INTO faculty VALUES (7723, "taylor", "russell", "professor", "m", 2435, "317", "neb");
89
+ INSERT INTO faculty VALUES (7792, "brill", "eric", "asstprof", "m", 2303, "324b", "neb");
90
+ INSERT INTO faculty VALUES (8102, "james", "lancelot", "asstprof", "m", 2792, "288", "krieger");
91
+ INSERT INTO faculty VALUES (8114, "angelopoulou", "ellie", "instructor", "f", 2152, "316", "neb");
92
+ INSERT INTO faculty VALUES (8118, "weinert", "howard", "professor", "m", 3272, "119", "barton");
93
+ INSERT INTO faculty VALUES (8122, "wierman", "john", "professor", "m", 3392, "288", "krieger");
94
+ INSERT INTO faculty VALUES (8423, "kumar", "subodh", "asstprof", "m", 2522, "218", "neb");
95
+ INSERT INTO faculty VALUES (8721, "wolff", "lawrence", "assocprof", "m", 2342, "316", "neb");
96
+ INSERT INTO faculty VALUES (8722, "cauwenberghs", "gert", "asstprof", "m", 1372, "119", "barton");
97
+ INSERT INTO faculty VALUES (8723, "andreou", "andreas", "professor", "m", 1402, "119", "barton");
98
+ INSERT INTO faculty VALUES (8741, "salzberg", "steven", "assocprof", "m", 2641, "324a", "neb");
99
+ INSERT INTO faculty VALUES (8772, "cowen", "lenore", "asstprof", "f", 2870, "288", "krieger");
100
+ INSERT INTO faculty VALUES (8791, "mccloskey", "michael", "professor", "m", 3440, "288", "krieger");
101
+ INSERT INTO faculty VALUES (8918, "amir", "yair", "asstprof", "m", 2672, "308", "neb");
102
+ INSERT INTO faculty VALUES (8989, "brent", "michael", "asstprof", "m", 9373, "288", "krieger");
103
+ INSERT INTO faculty VALUES (9011, "rapp", "brenda", "asstprof", "f", 2032, "288", "krieger");
104
+ INSERT INTO faculty VALUES (9172, "kosaraju", "rao", "professor", "m", 2757, "319", "neb");
105
+ INSERT INTO faculty VALUES (9191, "collins", "oliver", "assocprof", "m", 5427, "119", "barton");
106
+ INSERT INTO faculty VALUES (9199, "hughes", "brian", "assocprof", "m", 5666, "119", "barton");
107
+ INSERT INTO faculty VALUES (9210, "joseph", "richard", "professor", "m", 5996, "119", "barton");
108
+ INSERT INTO faculty VALUES (9379, "khurgin", "jacob", "professor", "m", 1060, "119", "barton");
109
+ INSERT INTO faculty VALUES (9514, "prince", "jerry", "assocprof", "m", 5106, "119", "barton");
110
+ INSERT INTO faculty VALUES (9643, "legendre", "geraldine", "assocprof", "f", 8972, "288", "krieger");
111
+ INSERT INTO faculty VALUES (9811, "wu", "colin", "asstprof", "m", 2906, "288", "krieger");
112
+ INSERT INTO faculty VALUES (9823, "pang", "jong-shi", "professor", "m", 4366, "288", "krieger");
113
+ INSERT INTO faculty VALUES (9824, "glaser", "robert", "instructor", "m", 4396, "119", "barton");
114
+ INSERT INTO faculty VALUES (9826, "delcher", "arthur", "instructor", "m", 2956, "329", "neb");
115
+ INSERT INTO faculty VALUES (9922, "hall", "leslie", "asstprof", "f", 7332, "288", "krieger");
116
+
117
+ CREATE TABLE "department" (
118
+ "dno" integer,
119
+ "division" text,
120
+ "dname" text,
121
+ "room" text,
122
+ "building" text,
123
+ "dphone" integer
124
+ );
125
+
126
+ INSERT INTO department VALUES (10, "as", "history of art", "268", "mergenthaler", 7117);
127
+ INSERT INTO department VALUES (20, "as", "biology", "144", "mudd", 7330);
128
+ INSERT INTO department VALUES (30, "as", "chemistry", "113", "remsen", 7429);
129
+ INSERT INTO department VALUES (40, "as", "classics", "121", "gilman", 7556);
130
+ INSERT INTO department VALUES (50, "as", "cognitive science", "381", "krieger", 7119);
131
+ INSERT INTO department VALUES (60, "as", "english", "146", "gilman", 7544);
132
+ INSERT INTO department VALUES (70, "as", "anthropology", "404b", "macaulay", 7272);
133
+ INSERT INTO department VALUES (90, "as", "german", "245", "gilman", 7508);
134
+ INSERT INTO department VALUES (100, "as", "history", "312", "gilman", 7575);
135
+ INSERT INTO department VALUES (110, "as", "mathematics", "404", "krieger", 7399);
136
+ INSERT INTO department VALUES (130, "as", "near eastern studies", "128", "gilman", 7499);
137
+ INSERT INTO department VALUES (140, "as", "history of science", "234", "gilman", 7501);
138
+ INSERT INTO department VALUES (150, "as", "philosophy", "347", "gilman", 7524);
139
+ INSERT INTO department VALUES (170, "as", "physics and astronomy", "366", "bloomberg", 7347);
140
+ INSERT INTO department VALUES (180, "as", "economics", "440", "mergenthaler", 7601);
141
+ INSERT INTO department VALUES (190, "as", "political science", "338", "mergenthaler", 7540);
142
+ INSERT INTO department VALUES (200, "as", "psychology", "223", "ames", 7055);
143
+ INSERT INTO department VALUES (340, "as", "french", "225", "gilman", 7227);
144
+ INSERT INTO department VALUES (350, "as", "hispanic/italian studies", "221", "gilman", 7226);
145
+ INSERT INTO department VALUES (520, "en", "ece", "105", "barton", 7033);
146
+ INSERT INTO department VALUES (530, "en", "mechanical engineering", "122", "latrobe", 7132);
147
+ INSERT INTO department VALUES (540, "en", "chemical engineering", "24", "neb", 7170);
148
+ INSERT INTO department VALUES (550, "en", "mathematical sciences", "221", "maryland", 7195);
149
+ INSERT INTO department VALUES (560, "en", "civil engineering", "206", "latrobe", 8680);
150
+ INSERT INTO department VALUES (580, "en", "biomedical engineering", "144", "neb", 8482);
151
+ INSERT INTO department VALUES (600, "en", "computer science", "224", "neb", 8577);
152
+
153
+ CREATE TABLE "member_of" (
154
+ "facid" integer,
155
+ "dno" integer,
156
+ "appt_type" text
157
+ );
158
+
159
+ INSERT INTO member_of VALUES (7792, 600, "primary");
160
+ INSERT INTO member_of VALUES (9210, 520, "primary");
161
+ INSERT INTO member_of VALUES (9811, 550, "primary");
162
+ INSERT INTO member_of VALUES (9643, 50, "primary");
163
+ INSERT INTO member_of VALUES (9379, 520, "primary");
164
+ INSERT INTO member_of VALUES (8918, 600, "primary");
165
+ INSERT INTO member_of VALUES (7712, 600, "primary");
166
+ INSERT INTO member_of VALUES (1121, 600, "primary");
167
+ INSERT INTO member_of VALUES (9172, 600, "primary");
168
+ INSERT INTO member_of VALUES (8423, 600, "primary");
169
+ INSERT INTO member_of VALUES (1148, 600, "primary");
170
+ INSERT INTO member_of VALUES (8741, 600, "primary");
171
+ INSERT INTO member_of VALUES (3457, 600, "primary");
172
+ INSERT INTO member_of VALUES (7723, 600, "primary");
173
+ INSERT INTO member_of VALUES (8721, 600, "primary");
174
+ INSERT INTO member_of VALUES (2192, 600, "primary");
175
+ INSERT INTO member_of VALUES (8114, 600, "primary");
176
+ INSERT INTO member_of VALUES (6112, 600, "primary");
177
+ INSERT INTO member_of VALUES (9826, 600, "primary");
178
+ INSERT INTO member_of VALUES (1193, 600, "primary");
179
+ INSERT INTO member_of VALUES (1082, 600, "primary");
180
+ INSERT INTO member_of VALUES (4230, 600, "primary");
181
+ INSERT INTO member_of VALUES (8989, 600, "secondary");
182
+ INSERT INTO member_of VALUES (7271, 600, "secondary");
183
+ INSERT INTO member_of VALUES (8721, 520, "secondary");
184
+ INSERT INTO member_of VALUES (8741, 50, "secondary");
185
+ INSERT INTO member_of VALUES (7271, 50, "secondary");
186
+ INSERT INTO member_of VALUES (6182, 550, "primary");
187
+ INSERT INTO member_of VALUES (8772, 550, "primary");
188
+ INSERT INTO member_of VALUES (2738, 550, "primary");
189
+ INSERT INTO member_of VALUES (2881, 550, "primary");
190
+ INSERT INTO member_of VALUES (9922, 550, "primary");
191
+ INSERT INTO member_of VALUES (6541, 550, "primary");
192
+ INSERT INTO member_of VALUES (8102, 550, "primary");
193
+ INSERT INTO member_of VALUES (1177, 550, "primary");
194
+ INSERT INTO member_of VALUES (9823, 550, "primary");
195
+ INSERT INTO member_of VALUES (2311, 550, "primary");
196
+ INSERT INTO member_of VALUES (2291, 550, "primary");
197
+ INSERT INTO member_of VALUES (8122, 550, "primary");
198
+ INSERT INTO member_of VALUES (8989, 50, "primary");
199
+ INSERT INTO member_of VALUES (4432, 50, "primary");
200
+ INSERT INTO member_of VALUES (5718, 50, "primary");
201
+ INSERT INTO member_of VALUES (8791, 50, "primary");
202
+ INSERT INTO member_of VALUES (9011, 50, "primary");
203
+ INSERT INTO member_of VALUES (6910, 50, "primary");
204
+ INSERT INTO member_of VALUES (8723, 520, "primary");
205
+ INSERT INTO member_of VALUES (2028, 520, "primary");
206
+ INSERT INTO member_of VALUES (8722, 520, "primary");
207
+ INSERT INTO member_of VALUES (9191, 520, "primary");
208
+ INSERT INTO member_of VALUES (1823, 520, "primary");
209
+ INSERT INTO member_of VALUES (7134, 520, "primary");
210
+ INSERT INTO member_of VALUES (9199, 520, "primary");
211
+ INSERT INTO member_of VALUES (6925, 520, "primary");
212
+ INSERT INTO member_of VALUES (7271, 520, "primary");
213
+ INSERT INTO member_of VALUES (6191, 520, "primary");
214
+ INSERT INTO member_of VALUES (2119, 520, "primary");
215
+ INSERT INTO member_of VALUES (9514, 520, "primary");
216
+ INSERT INTO member_of VALUES (7231, 520, "primary");
217
+ INSERT INTO member_of VALUES (1172, 520, "primary");
218
+ INSERT INTO member_of VALUES (8118, 520, "primary");
219
+ INSERT INTO member_of VALUES (7506, 520, "primary");
220
+ INSERT INTO member_of VALUES (6330, 520, "primary");
221
+ INSERT INTO member_of VALUES (9824, 520, "primary");
222
+
223
+ CREATE TABLE "course" (
224
+ "cid" text,
225
+ "cname" text,
226
+ "credits" integer,
227
+ "instructor" integer,
228
+ "days" text,
229
+ "hours" text,
230
+ "dno" integer
231
+ );
232
+
233
+ INSERT INTO course VALUES ("050.102", "computer literacy", 3, 6112, "mtw", "3", 600);
234
+ INSERT INTO course VALUES ("050.109", "introduction to computer science", 1, 4230, "th", "4", 600);
235
+ INSERT INTO course VALUES ("050.203", "intro to programming in java", 3, 1193, "mtw", "3", 600);
236
+ INSERT INTO course VALUES ("050.325", "intro to programming in c/c++", 3, 4230, "mtw", "12", 600);
237
+ INSERT INTO course VALUES ("050.370", "exploring the internet", 3, 6112, "mtw", "4", 600);
238
+ INSERT INTO course VALUES ("050.381", "java programming", 3, 6112, "thf", "10:30-12", 600);
239
+ INSERT INTO course VALUES ("050.427", "unix systems programming", 3, 6112, "thf", "1-2:15", 600);
240
+ INSERT INTO course VALUES ("050.670", "data structures in java", 3, 1121, "mtw", "9", 600);
241
+ INSERT INTO course VALUES ("050.802", "multimedia computing", 3, 9826, "mw", "1-2:30", 600);
242
+ INSERT INTO course VALUES ("050.821", "computational models", 3, 9172, "mtw", "1", 600);
243
+ INSERT INTO course VALUES ("500.203", "supercomputing", 1, 9826, "w", "4-6:20", 600);
244
+ INSERT INTO course VALUES ("500.204", "database systems", 3, 2192, "thf", "2:30-4", 600);
245
+ INSERT INTO course VALUES ("500.205", "computer system fundamentals", 3, 1148, "mtw", "8", 600);
246
+ INSERT INTO course VALUES ("500.206", "distributed systems", 3, 8918, "m", "3", 600);
247
+ INSERT INTO course VALUES ("520.137", "introduction to algorithms", 3, 7712, "mtw", "9", 600);
248
+ INSERT INTO course VALUES ("520.213", "database systems", 3, 2192, "thf", "2:30-4", 600);
249
+ INSERT INTO course VALUES ("520.219", "computer systems", 3, 1148, "mtw", "8", 600);
250
+ INSERT INTO course VALUES ("520.325", "distributed systems", 3, 8918, "m", "3", 600);
251
+ INSERT INTO course VALUES ("520.345", "quantitative medical computing", 3, 7723, "thf", "1-2:15", 600);
252
+ INSERT INTO course VALUES ("520.349", "computer vision", 3, 8114, "mtw", "1", 600);
253
+ INSERT INTO course VALUES ("520.353", "algorithms i", 3, 7712, "mtw", "9", 600);
254
+ INSERT INTO course VALUES ("520.401", "intro to natural language processing", 3, 7792, "mtw", "2", 600);
255
+ INSERT INTO course VALUES ("520.410", "computer science internship", 3, 1121, "m", "1", 600);
256
+ INSERT INTO course VALUES ("520.419", "computer science seminar", 1, 6191, "thf", "10:30-12", 600);
257
+ INSERT INTO course VALUES ("520.421", "high performance graphics and modeling", 3, 8423, "m", "4-5:30", 600);
258
+ INSERT INTO course VALUES ("520.432", "seminar on computational geometry", 3, 1121, "th", "2", 600);
259
+ INSERT INTO course VALUES ("520.435", "statistical analysis", 4, 2311, "mtw", "12", 550);
260
+ INSERT INTO course VALUES ("520.475", "discrete mathematics", 4, 8772, "mtw", "11", 550);
261
+ INSERT INTO course VALUES ("520.490", "accounting i", 3, 9823, "t", "6:15-8:45", 550);
262
+ INSERT INTO course VALUES ("520.603", "accounting ii", 3, 9823, "th", "6:15-8:45", 550);
263
+ INSERT INTO course VALUES ("520.605", "business law i", 3, 8791, "w", "6:15-8:45", 550);
264
+ INSERT INTO course VALUES ("520.609", "business law ii", 3, 8791, "m", "6:15-8:45", 550);
265
+ INSERT INTO course VALUES ("520.651", "linear algebra and differential eqns", 4, 6541, "mtw", "9", 550);
266
+ INSERT INTO course VALUES ("550.111", "probability and statistics", 4, 8102, "mtw", "10", 550);
267
+ INSERT INTO course VALUES ("550.171", "introduction to optimization", 4, 2881, "mtw", "2", 550);
268
+ INSERT INTO course VALUES ("550.291", "applied statistics and data analysis", 4, 1177, "mtw", "11", 550);
269
+ INSERT INTO course VALUES ("550.310", "introduction to probability", 4, 2738, "mtw", "1", 550);
270
+ INSERT INTO course VALUES ("550.361", "combinatorial analysis", 4, 8772, "mtw", "12", 550);
271
+ INSERT INTO course VALUES ("550.413", "probability theory i", 3, 2738, "mtw", "2", 550);
272
+ INSERT INTO course VALUES ("550.420", "stochastic processes ii", 3, 8102, "mtw", "1", 550);
273
+ INSERT INTO course VALUES ("550.471", "statistical inference", 3, 6182, "mtw", "3", 550);
274
+ INSERT INTO course VALUES ("550.620", "foundations of optimization", 3, 9823, "mtw", "10", 550);
275
+ INSERT INTO course VALUES ("550.626", "combinatorial analysis", 3, 8772, "mtw", "12", 550);
276
+ INSERT INTO course VALUES ("550.631", "numerical analysis", 3, 6541, "mtw", "11", 550);
277
+ INSERT INTO course VALUES ("550.661", "percolation theory", 3, 8122, "mtw", "9", 550);
278
+ INSERT INTO course VALUES ("550.671", "topics in operations research", 3, 9922, "mw", "3-4:30", 550);
279
+ INSERT INTO course VALUES ("550.681", "topics in applied math", 2, 2881, "mt", "4:30-6", 550);
280
+ INSERT INTO course VALUES ("550.721", "introduction to ece", 3, 8723, "mtw", "11", 520);
281
+ INSERT INTO course VALUES ("550.750", "circuits", 4, 9210, "mtw", "2", 520);
282
+ INSERT INTO course VALUES ("550.790", "fields matter and waves", 3, 9210, "mtw", "3", 520);
283
+ INSERT INTO course VALUES ("600.101", "integrated electronics", 3, 6191, "mtw", "3", 520);
284
+ INSERT INTO course VALUES ("600.103", "ece laboratory", 3, 1823, "w", "2", 520);
285
+ INSERT INTO course VALUES ("600.107", "microprocessor lab i", 3, 9824, "th", "8", 520);
286
+ INSERT INTO course VALUES ("600.109", "control systems", 3, 6925, "mtw", "10", 520);
287
+ INSERT INTO course VALUES ("600.113", "basic communications", 3, 6191, "mtw", "1", 520);
288
+ INSERT INTO course VALUES ("600.121", "fiber optics and photonics", 3, 6191, "mtw", "1", 520);
289
+ INSERT INTO course VALUES ("600.211", "iterative algorithms", 3, 2119, "mt", "4-5:15", 520);
290
+ INSERT INTO course VALUES ("600.227", "introduction to non-linear systems", 3, 7231, "mtw", "9", 520);
291
+ INSERT INTO course VALUES ("600.232", "topics in medical imaging systems", 3, 9514, "tth", "8:30-10", 520);
292
+ INSERT INTO course VALUES ("600.271", "digital signal processing", 4, 8118, "mtw", "11", 520);
293
+ INSERT INTO course VALUES ("600.303", "processing and recognition of speech", 3, 6330, "tw", "2-3:30", 520);
294
+ INSERT INTO course VALUES ("600.315", "analog and digital vlsi systems", 3, 8722, "thf", "10:30-12", 520);
295
+ INSERT INTO course VALUES ("600.333", "electromagnetic waves", 4, 9210, "th", "1-4:30", 520);
296
+ INSERT INTO course VALUES ("600.337", "solid state physics", 3, 9379, "tu", "1-4", 520);
297
+ INSERT INTO course VALUES ("600.363", "nonlinear technical image processing", 3, 7134, "th", "1-4", 520);
298
+ INSERT INTO course VALUES ("600.415", "random signal analysis", 3, 9514, "thf", "10:30-12", 520);
299
+ INSERT INTO course VALUES ("600.433", "language and mind", 3, 4432, "mtw", "10", 50);
300
+ INSERT INTO course VALUES ("600.437", "mind brain computers", 3, 6910, "mw", "2-3:15", 50);
301
+ INSERT INTO course VALUES ("600.445", "cognitive neuroscience", 4, 9011, "mt", "3:30-4:45", 50);
302
+ INSERT INTO course VALUES ("600.461", "sound structures in natural language", 3, 4432, "t", "10-12", 50);
303
+ INSERT INTO course VALUES ("600.463", "formal methods in cognitive science", 3, 6910, "mw", "11:30", 50);
304
+ INSERT INTO course VALUES ("600.465", "language development", 3, 8989, "t", "1-3", 50);
305
+ INSERT INTO course VALUES ("600.509", "the history of romance languages", 3, 4432, "w", "1-3", 50);
306
+ INSERT INTO course VALUES ("600.601", "formal methods in cognitive science", 3, 4432, "mw", "11:30-12:45", 50);
307
+ INSERT INTO course VALUES ("600.657", "research seminar in cognitive processes", 1, 9011, "w", "1-3", 50);
308
+ INSERT INTO course VALUES ("600.787", "comp. models of sentence processing", 3, 5718, "m", "1-4", 50);
309
+
310
+ CREATE TABLE "minor_in" (
311
+ "stuid" integer,
312
+ "dno" integer
313
+ );
314
+
315
+ INSERT INTO minor_in VALUES (1004, 520);
316
+ INSERT INTO minor_in VALUES (1005, 550);
317
+ INSERT INTO minor_in VALUES (1006, 50);
318
+ INSERT INTO minor_in VALUES (1007, 520);
319
+ INSERT INTO minor_in VALUES (1008, 550);
320
+ INSERT INTO minor_in VALUES (1014, 90);
321
+ INSERT INTO minor_in VALUES (1015, 140);
322
+ INSERT INTO minor_in VALUES (1016, 190);
323
+ INSERT INTO minor_in VALUES (1027, 530);
324
+ INSERT INTO minor_in VALUES (1031, 540);
325
+
326
+ CREATE TABLE "enrolled_in" (
327
+ "stuid" integer,
328
+ "cid" text,
329
+ "grade" text
330
+ );
331
+
332
+ INSERT INTO enrolled_in VALUES (1001, "550.681", "a-");
333
+ INSERT INTO enrolled_in VALUES (1001, "600.303", "b");
334
+ INSERT INTO enrolled_in VALUES (1001, "600.315", "b+");
335
+ INSERT INTO enrolled_in VALUES (1001, "600.337", "a");
336
+ INSERT INTO enrolled_in VALUES (1001, "600.461", "b-");
337
+ INSERT INTO enrolled_in VALUES (1001, "600.465", "b");
338
+ INSERT INTO enrolled_in VALUES (1002, "520.213", "b+");
339
+ INSERT INTO enrolled_in VALUES (1002, "600.211", "c");
340
+ INSERT INTO enrolled_in VALUES (1002, "600.303", "c+");
341
+ INSERT INTO enrolled_in VALUES (1002, "600.337", "a");
342
+ INSERT INTO enrolled_in VALUES (1002, "600.463", "b");
343
+ INSERT INTO enrolled_in VALUES (1002, "600.465", "b+");
344
+ INSERT INTO enrolled_in VALUES (1003, "600.333", "b");
345
+ INSERT INTO enrolled_in VALUES (1003, "600.337", "b");
346
+ INSERT INTO enrolled_in VALUES (1003, "600.415", "b");
347
+ INSERT INTO enrolled_in VALUES (1003, "600.461", "b+");
348
+ INSERT INTO enrolled_in VALUES (1003, "600.465", "b");
349
+ INSERT INTO enrolled_in VALUES (1004, "600.303", "c-");
350
+ INSERT INTO enrolled_in VALUES (1004, "600.415", "c-");
351
+ INSERT INTO enrolled_in VALUES (1004, "600.437", "c-");
352
+ INSERT INTO enrolled_in VALUES (1004, "600.445", "a-");
353
+ INSERT INTO enrolled_in VALUES (1004, "600.461", "c");
354
+ INSERT INTO enrolled_in VALUES (1004, "600.463", "a+");
355
+ INSERT INTO enrolled_in VALUES (1004, "600.465", "a");
356
+ INSERT INTO enrolled_in VALUES (1005, "600.103", "a");
357
+ INSERT INTO enrolled_in VALUES (1005, "600.107", "c+");
358
+ INSERT INTO enrolled_in VALUES (1005, "600.113", "c");
359
+ INSERT INTO enrolled_in VALUES (1005, "600.227", "a");
360
+ INSERT INTO enrolled_in VALUES (1005, "600.303", "b");
361
+ INSERT INTO enrolled_in VALUES (1006, "550.420", "b");
362
+ INSERT INTO enrolled_in VALUES (1006, "600.107", "b+");
363
+ INSERT INTO enrolled_in VALUES (1006, "600.227", "b-");
364
+ INSERT INTO enrolled_in VALUES (1006, "600.232", "c-");
365
+ INSERT INTO enrolled_in VALUES (1006, "600.303", "a-");
366
+ INSERT INTO enrolled_in VALUES (1006, "600.315", "a");
367
+ INSERT INTO enrolled_in VALUES (1007, "550.420", "a");
368
+ INSERT INTO enrolled_in VALUES (1007, "600.113", "a-");
369
+ INSERT INTO enrolled_in VALUES (1007, "600.227", "c+");
370
+ INSERT INTO enrolled_in VALUES (1007, "600.315", "a");
371
+ INSERT INTO enrolled_in VALUES (1007, "600.333", "a-");
372
+ INSERT INTO enrolled_in VALUES (1007, "600.337", "c");
373
+ INSERT INTO enrolled_in VALUES (1008, "600.415", "a+");
374
+ INSERT INTO enrolled_in VALUES (1008, "600.463", "b");
375
+ INSERT INTO enrolled_in VALUES (1008, "600.465", "b");
376
+ INSERT INTO enrolled_in VALUES (1008, "600.657", "b");
377
+ INSERT INTO enrolled_in VALUES (1008, "600.787", "b");
378
+ INSERT INTO enrolled_in VALUES (1009, "550.413", "b+");
379
+ INSERT INTO enrolled_in VALUES (1009, "550.471", "c");
380
+ INSERT INTO enrolled_in VALUES (1009, "550.620", "a-");
381
+ INSERT INTO enrolled_in VALUES (1009, "550.626", "b");
382
+ INSERT INTO enrolled_in VALUES (1009, "550.671", "c");
383
+ INSERT INTO enrolled_in VALUES (1009, "550.681", "a");
384
+ INSERT INTO enrolled_in VALUES (1009, "550.661", "b-");
385
+ INSERT INTO enrolled_in VALUES (1009, "550.631", "a-");
386
+ INSERT INTO enrolled_in VALUES (1010, "550.291", "a");
387
+ INSERT INTO enrolled_in VALUES (1010, "550.310", "a");
388
+ INSERT INTO enrolled_in VALUES (1010, "550.413", "c+");
389
+ INSERT INTO enrolled_in VALUES (1010, "550.420", "a");
390
+ INSERT INTO enrolled_in VALUES (1010, "550.471", "a");
391
+ INSERT INTO enrolled_in VALUES (1010, "600.107", "b+");
392
+ INSERT INTO enrolled_in VALUES (1011, "520.213", "b");
393
+ INSERT INTO enrolled_in VALUES (1011, "520.345", "b");
394
+ INSERT INTO enrolled_in VALUES (1011, "520.349", "a");
395
+ INSERT INTO enrolled_in VALUES (1011, "520.353", "a-");
396
+ INSERT INTO enrolled_in VALUES (1011, "550.420", "b");
397
+ INSERT INTO enrolled_in VALUES (1011, "600.415", "b+");
398
+ INSERT INTO enrolled_in VALUES (1012, "050.109", "b-");
399
+ INSERT INTO enrolled_in VALUES (1012, "050.203", "b-");
400
+ INSERT INTO enrolled_in VALUES (1012, "050.325", "a-");
401
+ INSERT INTO enrolled_in VALUES (1012, "600.107", "a");
402
+ INSERT INTO enrolled_in VALUES (1012, "600.315", "b");
403
+ INSERT INTO enrolled_in VALUES (1014, "600.107", "a");
404
+ INSERT INTO enrolled_in VALUES (1014, "600.227", "a");
405
+ INSERT INTO enrolled_in VALUES (1014, "600.232", "a");
406
+ INSERT INTO enrolled_in VALUES (1014, "600.315", "a+");
407
+ INSERT INTO enrolled_in VALUES (1014, "600.445", "b");
408
+ INSERT INTO enrolled_in VALUES (1014, "600.461", "b");
409
+ INSERT INTO enrolled_in VALUES (1014, "600.463", "b");
410
+ INSERT INTO enrolled_in VALUES (1015, "550.420", "a");
411
+ INSERT INTO enrolled_in VALUES (1015, "600.227", "a+");
412
+ INSERT INTO enrolled_in VALUES (1015, "600.303", "a");
413
+ INSERT INTO enrolled_in VALUES (1015, "600.315", "c-");
414
+ INSERT INTO enrolled_in VALUES (1015, "600.333", "a");
415
+ INSERT INTO enrolled_in VALUES (1016, "050.109", "b-");
416
+ INSERT INTO enrolled_in VALUES (1016, "050.203", "d-");
417
+ INSERT INTO enrolled_in VALUES (1016, "050.325", "a");
418
+ INSERT INTO enrolled_in VALUES (1016, "050.821", "a");
419
+ INSERT INTO enrolled_in VALUES (1016, "550.420", "a-");
420
+ INSERT INTO enrolled_in VALUES (1016, "600.107", "b+");
421
+ INSERT INTO enrolled_in VALUES (1016, "600.315", "b-");
422
+ INSERT INTO enrolled_in VALUES (1017, "050.427", "b");
423
+ INSERT INTO enrolled_in VALUES (1017, "050.670", "b");
424
+ INSERT INTO enrolled_in VALUES (1017, "050.802", "c");
425
+ INSERT INTO enrolled_in VALUES (1017, "550.681", "b");
426
+ INSERT INTO enrolled_in VALUES (1017, "600.109", "a-");
427
+ INSERT INTO enrolled_in VALUES (1017, "600.461", "a");
428
+ INSERT INTO enrolled_in VALUES (1017, "600.465", "c");
429
+ INSERT INTO enrolled_in VALUES (1018, "520.213", "a-");
430
+ INSERT INTO enrolled_in VALUES (1018, "600.211", "a");
431
+ INSERT INTO enrolled_in VALUES (1018, "600.303", "a");
432
+
433
+ CREATE TABLE "gradeconversion" (
434
+ "lettergrade" text,
435
+ "gradepoint" real
436
+ );
437
+
438
+ INSERT INTO gradeconversion VALUES ("a", 4.0);
439
+ INSERT INTO gradeconversion VALUES ("a+", 4.0);
440
+ INSERT INTO gradeconversion VALUES ("a-", 3.7);
441
+ INSERT INTO gradeconversion VALUES ("b", 3.3);
442
+ INSERT INTO gradeconversion VALUES ("b+", 3.0);
443
+ INSERT INTO gradeconversion VALUES ("b-", 2.7);
444
+ INSERT INTO gradeconversion VALUES ("c", 2.3);
445
+ INSERT INTO gradeconversion VALUES ("c+", 2.0);
446
+ INSERT INTO gradeconversion VALUES ("c-", 1.7);
447
+ INSERT INTO gradeconversion VALUES ("d", 1.3);
448
+ INSERT INTO gradeconversion VALUES ("d+", 1.0);
449
+ INSERT INTO gradeconversion VALUES ("d-", 0.7);
450
+ INSERT INTO gradeconversion VALUES ("f", 0.0);
451
+
452
+
453
+ COMMIT;
all/databases/college_3/college_3.sqlite ADDED
Binary file (36.9 kB). View file
 
all/databases/course_teach/course_teach.sql ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CREATE TABLE "course" (
2
+ "course_id" integer,
3
+ "staring_date" text,
4
+ "course" text
5
+ );
6
+
7
+ INSERT INTO course VALUES (1, "5 may", "language arts");
8
+ INSERT INTO course VALUES (2, "6 may", "math");
9
+ INSERT INTO course VALUES (3, "7 may", "science");
10
+ INSERT INTO course VALUES (4, "9 may", "history");
11
+ INSERT INTO course VALUES (5, "10 may", "bible");
12
+ INSERT INTO course VALUES (6, "11 may", "geography");
13
+ INSERT INTO course VALUES (7, "13 may", "sports");
14
+ INSERT INTO course VALUES (8, "14 may", "french");
15
+ INSERT INTO course VALUES (9, "15 may", "health");
16
+ INSERT INTO course VALUES (10, "17 may", "music");
17
+
18
+ CREATE TABLE "teacher" (
19
+ "teacher_id" integer,
20
+ "name" text,
21
+ "age" text,
22
+ "hometown" text
23
+ );
24
+
25
+ INSERT INTO teacher VALUES (1, "joseph huts", "32", "blackrod urban district");
26
+ INSERT INTO teacher VALUES (2, "gustaaf deloor", "29", "bolton county borough");
27
+ INSERT INTO teacher VALUES (3, "vicente carretero", "26", "farnworth municipal borough");
28
+ INSERT INTO teacher VALUES (4, "john deloor", "33", "horwich urban district");
29
+ INSERT INTO teacher VALUES (5, "kearsley brown", "45", "kearsley urban district");
30
+ INSERT INTO teacher VALUES (6, "anne walker", "41", "little lever urban district");
31
+ INSERT INTO teacher VALUES (7, "lucy wong", "39", "turton urban district");
32
+
33
+ CREATE TABLE "course_arrange" (
34
+ "course_id" integer,
35
+ "teacher_id" integer,
36
+ "grade" integer
37
+ );
38
+
39
+ INSERT INTO course_arrange VALUES (2, 5, 1);
40
+ INSERT INTO course_arrange VALUES (2, 3, 3);
41
+ INSERT INTO course_arrange VALUES (3, 2, 5);
42
+ INSERT INTO course_arrange VALUES (4, 6, 7);
43
+ INSERT INTO course_arrange VALUES (5, 6, 1);
44
+ INSERT INTO course_arrange VALUES (10, 7, 4);
45
+
46
+
47
+ COMMIT;
all/databases/course_teach/course_teach.sqlite ADDED
Binary file (16.4 kB). View file
 
all/databases/course_teach_total_0/course_teach_total_0.sql ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ create table course (
2
+ course_id integer,
3
+ staring_date text,
4
+ course text
5
+ );
6
+ insert into course values(1, '5 may', 'language arts');
7
+ insert into course values(2, '6 may', 'math');
8
+ insert into course values(3, '7 may', 'science');
9
+ insert into course values(4, '9 may', 'history');
10
+ insert into course values(5, '10 may', 'bible');
11
+ insert into course values(6, '11 may', 'geography');
12
+ insert into course values(7, '13 may', 'sports');
13
+ insert into course values(8, '14 may', 'french');
14
+ insert into course values(9, '15 may', 'health');
15
+ insert into course values(10, '17 may', 'music');
16
+ create table course_arrange_teacher (
17
+ course_id integer,
18
+ teacher_id integer,
19
+ grade integer,
20
+ name text,
21
+ age text,
22
+ hometown text);
23
+ insert into course_arrange_teacher values(2, 5, 1, 'kearsley brown', '45', 'kearsley urban district');
24
+ insert into course_arrange_teacher values(2, 3, 3, 'vicente carretero', '26', 'farnworth municipal borough');
25
+ insert into course_arrange_teacher values(3, 2, 5, 'gustaaf deloor', '29', 'bolton county borough');
26
+ insert into course_arrange_teacher values(4, 6, 7, 'anne walker', '41', 'little lever urban district');
27
+ insert into course_arrange_teacher values(5, 6, 1, 'anne walker', '41', 'little lever urban district');
28
+ insert into course_arrange_teacher values(10, 7, 4, 'lucy wong', '39', 'turton urban district');
29
+ insert into course_arrange_teacher values('None', 1, 'None', 'joseph huts', '32', 'blackrod urban district');
30
+ insert into course_arrange_teacher values('None', 4, 'None', 'john deloor', '33', 'horwich urban district');
31
+
all/databases/course_teach_total_0/course_teach_total_0.sqlite ADDED
Binary file (12.3 kB). View file
 
all/databases/cre_Doc_Control_Systems/cre_Doc_Control_Systems.sql ADDED
@@ -0,0 +1,168 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CREATE TABLE "ref_document_types" (
2
+ "document_type_code" text,
3
+ "document_type_description" text
4
+ );
5
+
6
+ INSERT INTO ref_document_types VALUES ("cd", "b");
7
+ INSERT INTO ref_document_types VALUES ("hard drive", "u");
8
+ INSERT INTO ref_document_types VALUES ("paper", "f");
9
+
10
+ CREATE TABLE "roles" (
11
+ "role_code" text,
12
+ "role_description" text
13
+ );
14
+
15
+ INSERT INTO roles VALUES ("ed", "editor");
16
+ INSERT INTO roles VALUES ("mg", "photo");
17
+ INSERT INTO roles VALUES ("pr", "manager");
18
+ INSERT INTO roles VALUES ("pt", "proof manager");
19
+
20
+ CREATE TABLE "addresses" (
21
+ "address_id" integer,
22
+ "address_details" text
23
+ );
24
+
25
+ INSERT INTO addresses VALUES (0, "it");
26
+ INSERT INTO addresses VALUES (1, "mx");
27
+ INSERT INTO addresses VALUES (2, "de");
28
+ INSERT INTO addresses VALUES (3, "es");
29
+ INSERT INTO addresses VALUES (4, "es");
30
+ INSERT INTO addresses VALUES (5, "ie");
31
+ INSERT INTO addresses VALUES (6, "us");
32
+ INSERT INTO addresses VALUES (7, "pt");
33
+ INSERT INTO addresses VALUES (8, "ie");
34
+ INSERT INTO addresses VALUES (9, "mx");
35
+
36
+ CREATE TABLE "ref_document_status" (
37
+ "document_status_code" text,
38
+ "document_status_description" text
39
+ );
40
+
41
+ INSERT INTO ref_document_status VALUES ("done", "currently working on");
42
+ INSERT INTO ref_document_status VALUES ("overdue", "mailed");
43
+ INSERT INTO ref_document_status VALUES ("working", "mailed late");
44
+
45
+ CREATE TABLE "ref_shipping_agents" (
46
+ "shipping_agent_code" text,
47
+ "shipping_agent_name" text,
48
+ "shipping_agent_description" text
49
+ );
50
+
51
+ INSERT INTO ref_shipping_agents VALUES ("al", "ups", "g");
52
+ INSERT INTO ref_shipping_agents VALUES ("fe", "usps", "q");
53
+ INSERT INTO ref_shipping_agents VALUES ("sh", "airline", "w");
54
+ INSERT INTO ref_shipping_agents VALUES ("up", "fedex", "k");
55
+ INSERT INTO ref_shipping_agents VALUES ("us", "ship", "t");
56
+
57
+ CREATE TABLE "documents" (
58
+ "document_id" integer,
59
+ "document_status_code" text,
60
+ "document_type_code" text,
61
+ "shipping_agent_code" text,
62
+ "receipt_date" text,
63
+ "receipt_number" text,
64
+ "other_details" text
65
+ );
66
+
67
+ INSERT INTO documents VALUES (1, "working", "cd", "up", "2008-04-21 20:42:25", "19", "z");
68
+ INSERT INTO documents VALUES (2, "done", "paper", "us", "1974-05-08 00:00:46", "34", "h");
69
+ INSERT INTO documents VALUES (3, "done", "paper", "up", "2014-12-25 17:22:44", "93", "h");
70
+ INSERT INTO documents VALUES (4, "done", "paper", "us", "1973-11-05 21:48:53", "80", "q");
71
+ INSERT INTO documents VALUES (7, "working", "cd", "sh", "1982-09-27 14:52:15", "61", "w");
72
+ INSERT INTO documents VALUES (10, "overdue", "paper", "up", "1976-09-15 19:24:17", "8", "m");
73
+ INSERT INTO documents VALUES (12, "overdue", "hard drive", "us", "1996-05-31 06:51:58", "69", "n");
74
+ INSERT INTO documents VALUES (13, "working", "cd", "up", "2015-04-03 09:36:19", "79", "y");
75
+ INSERT INTO documents VALUES (14, "working", "cd", "fe", "2017-07-02 17:39:09", "117", "u");
76
+ INSERT INTO documents VALUES (15, "overdue", "cd", "up", "1986-12-14 14:18:59", "37", "r");
77
+ INSERT INTO documents VALUES (17, "done", "paper", "fe", "1983-09-26 09:32:56", "55", "p");
78
+ INSERT INTO documents VALUES (20, "working", "paper", "up", "1996-07-27 03:30:40", "189", "x");
79
+ INSERT INTO documents VALUES (23, "working", "hard drive", "fe", "1999-04-17 14:19:32", "124", "b");
80
+ INSERT INTO documents VALUES (24, "working", "hard drive", "fe", "2005-09-30 00:10:02", "114", "j");
81
+ INSERT INTO documents VALUES (25, "overdue", "hard drive", "al", "1985-11-05 17:59:34", "83", "u");
82
+
83
+ CREATE TABLE "employees" (
84
+ "employee_id" integer,
85
+ "role_code" text,
86
+ "employee_name" text,
87
+ "other_details" text
88
+ );
89
+
90
+ INSERT INTO employees VALUES (1, "ed", "koby", "h");
91
+ INSERT INTO employees VALUES (2, "ed", "kenyon", "f");
92
+ INSERT INTO employees VALUES (3, "pr", "haley", "b");
93
+ INSERT INTO employees VALUES (5, "pt", "clemens", "b");
94
+ INSERT INTO employees VALUES (7, "pt", "jordyn", "v");
95
+ INSERT INTO employees VALUES (8, "mg", "erling", "u");
96
+
97
+ CREATE TABLE "document_drafts" (
98
+ "document_id" integer,
99
+ "draft_number" integer,
100
+ "draft_details" text
101
+ );
102
+
103
+ INSERT INTO document_drafts VALUES (1, 0, "e");
104
+ INSERT INTO document_drafts VALUES (1, 2, "k");
105
+ INSERT INTO document_drafts VALUES (2, 1, "v");
106
+ INSERT INTO document_drafts VALUES (2, 8, "v");
107
+ INSERT INTO document_drafts VALUES (4, 9, "r");
108
+ INSERT INTO document_drafts VALUES (7, 10, "m");
109
+ INSERT INTO document_drafts VALUES (10, 20, "k");
110
+ INSERT INTO document_drafts VALUES (12, 11, "b");
111
+ INSERT INTO document_drafts VALUES (12, 12, "r");
112
+ INSERT INTO document_drafts VALUES (13, 4, "w");
113
+ INSERT INTO document_drafts VALUES (13, 16, "p");
114
+ INSERT INTO document_drafts VALUES (14, 14, "x");
115
+ INSERT INTO document_drafts VALUES (17, 19, "a");
116
+ INSERT INTO document_drafts VALUES (20, 17, "l");
117
+ INSERT INTO document_drafts VALUES (23, 9, "r");
118
+
119
+ CREATE TABLE "draft_copies" (
120
+ "document_id" integer,
121
+ "draft_number" integer,
122
+ "copy_number" integer
123
+ );
124
+
125
+ INSERT INTO draft_copies VALUES (2, 8, 5);
126
+ INSERT INTO draft_copies VALUES (4, 9, 6);
127
+ INSERT INTO draft_copies VALUES (23, 9, 15);
128
+ INSERT INTO draft_copies VALUES (10, 20, 10);
129
+ INSERT INTO draft_copies VALUES (2, 1, 4);
130
+ INSERT INTO draft_copies VALUES (1, 2, 5);
131
+ INSERT INTO draft_copies VALUES (20, 17, 15);
132
+ INSERT INTO draft_copies VALUES (12, 12, 10);
133
+
134
+ CREATE TABLE "circulation_history" (
135
+ "document_id" integer,
136
+ "draft_number" integer,
137
+ "copy_number" integer,
138
+ "employee_id" integer
139
+ );
140
+
141
+ INSERT INTO circulation_history VALUES (20, 17, 15, 8);
142
+ INSERT INTO circulation_history VALUES (1, 2, 5, 1);
143
+ INSERT INTO circulation_history VALUES (2, 1, 4, 2);
144
+ INSERT INTO circulation_history VALUES (10, 20, 10, 2);
145
+
146
+ CREATE TABLE "documents_mailed" (
147
+ "document_id" integer,
148
+ "mailed_to_address_id" integer,
149
+ "mailing_date" text
150
+ );
151
+
152
+ INSERT INTO documents_mailed VALUES (2, 8, "1977-04-01 17:03:50");
153
+ INSERT INTO documents_mailed VALUES (4, 3, "1992-11-07 15:03:41");
154
+ INSERT INTO documents_mailed VALUES (4, 9, "1973-02-21 10:17:01");
155
+ INSERT INTO documents_mailed VALUES (7, 5, "1979-09-21 10:30:52");
156
+ INSERT INTO documents_mailed VALUES (10, 3, "1993-05-24 22:13:48");
157
+ INSERT INTO documents_mailed VALUES (12, 0, "1999-05-22 23:21:07");
158
+ INSERT INTO documents_mailed VALUES (12, 7, "2007-01-01 22:32:11");
159
+ INSERT INTO documents_mailed VALUES (12, 8, "2007-03-20 05:22:01");
160
+ INSERT INTO documents_mailed VALUES (13, 4, "1991-05-27 14:17:37");
161
+ INSERT INTO documents_mailed VALUES (14, 5, "1986-05-16 06:25:33");
162
+ INSERT INTO documents_mailed VALUES (20, 2, "2010-11-04 04:00:16");
163
+ INSERT INTO documents_mailed VALUES (20, 7, "1982-01-14 05:50:54");
164
+ INSERT INTO documents_mailed VALUES (23, 8, "1971-11-03 12:32:14");
165
+ INSERT INTO documents_mailed VALUES (24, 0, "2013-01-27 03:29:31");
166
+
167
+
168
+ COMMIT;
all/databases/cre_Doc_Control_Systems/cre_Doc_Control_Systems.sqlite ADDED
Binary file (49.2 kB). View file
 
all/databases/cre_Doc_Template_Mgt/cre_Doc_Template_Mgt.sql ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CREATE TABLE "ref_template_types" (
2
+ "template_type_code" text,
3
+ "template_type_description" text
4
+ );
5
+
6
+ INSERT INTO ref_template_types VALUES ("ad", "presentation");
7
+ INSERT INTO ref_template_types VALUES ("bk", "cv");
8
+ INSERT INTO ref_template_types VALUES ("cv", "advertisement");
9
+ INSERT INTO ref_template_types VALUES ("pp", "paper");
10
+ INSERT INTO ref_template_types VALUES ("ppt", "book");
11
+
12
+ CREATE TABLE "templates" (
13
+ "template_id" integer,
14
+ "version_number" integer,
15
+ "template_type_code" text,
16
+ "date_effective_from" text,
17
+ "date_effective_to" text,
18
+ "template_details" text
19
+ );
20
+
21
+ INSERT INTO templates VALUES (0, 5, "pp", "2005-11-12 07:09:48", "2008-01-05 14:19:28", "");
22
+ INSERT INTO templates VALUES (1, 9, "pp", "2010-09-24 01:15:11", "1999-07-08 03:31:04", "");
23
+ INSERT INTO templates VALUES (4, 4, "bk", "2002-03-02 14:39:49", "2001-04-18 09:29:52", "");
24
+ INSERT INTO templates VALUES (6, 2, "ppt", "1975-05-20 22:51:19", "1992-05-02 20:06:11", "");
25
+ INSERT INTO templates VALUES (7, 8, "ppt", "1993-10-07 02:33:04", "1975-07-16 04:52:10", "");
26
+ INSERT INTO templates VALUES (8, 3, "bk", "1983-07-16 21:16:16", "1976-10-28 10:08:50", "");
27
+ INSERT INTO templates VALUES (9, 2, "bk", "1997-04-17 08:29:44", "1994-12-07 13:26:23", "");
28
+ INSERT INTO templates VALUES (10, 1, "ppt", "2003-06-05 04:03:45", "2007-06-06 06:18:53", "");
29
+ INSERT INTO templates VALUES (11, 6, "bk", "1996-02-04 11:27:24", "1995-09-19 22:27:48", "");
30
+ INSERT INTO templates VALUES (14, 7, "ad", "1975-10-20 02:28:58", "1979-11-04 08:58:39", "");
31
+ INSERT INTO templates VALUES (15, 9, "cv", "1986-12-09 14:51:36", "1993-03-24 14:30:23", "");
32
+ INSERT INTO templates VALUES (16, 5, "cv", "2012-04-05 07:11:42", "1980-05-07 12:15:47", "");
33
+ INSERT INTO templates VALUES (18, 5, "pp", "1984-08-07 13:36:26", "1998-05-12 12:51:29", "");
34
+ INSERT INTO templates VALUES (19, 7, "ad", "1999-06-21 11:10:30", "1974-09-14 06:34:39", "");
35
+ INSERT INTO templates VALUES (20, 6, "bk", "1986-11-14 12:20:18", "2008-08-08 18:36:43", "");
36
+ INSERT INTO templates VALUES (21, 9, "ad", "2002-08-25 13:26:23", "2015-09-06 01:08:44", "");
37
+ INSERT INTO templates VALUES (22, 0, "pp", "2005-02-20 00:31:34", "1989-11-24 19:06:06", "");
38
+ INSERT INTO templates VALUES (23, 2, "bk", "1979-12-24 10:28:16", "2000-10-22 11:57:12", "");
39
+ INSERT INTO templates VALUES (24, 8, "pp", "2008-08-01 13:57:26", "1973-01-12 14:13:34", "");
40
+ INSERT INTO templates VALUES (25, 5, "pp", "1979-10-20 21:23:20", "2006-02-06 23:52:04", "");
41
+
42
+ CREATE TABLE "documents" (
43
+ "document_id" integer,
44
+ "template_id" integer,
45
+ "document_name" text,
46
+ "document_description" text,
47
+ "other_details" null
48
+ );
49
+
50
+ INSERT INTO documents VALUES (0, 7, "introduction of os", "n", "NULL");
51
+ INSERT INTO documents VALUES (1, 25, "understanding db", "y", "NULL");
52
+ INSERT INTO documents VALUES (3, 6, "summer show", "u", "NULL");
53
+ INSERT INTO documents VALUES (76, 20, "robbin cv", "y", "NULL");
54
+ INSERT INTO documents VALUES (80, 14, "welcome to ny", "h", "NULL");
55
+ INSERT INTO documents VALUES (82, 11, "data base", "w", "NULL");
56
+ INSERT INTO documents VALUES (2394, 10, "customer reviews", "y", "NULL");
57
+ INSERT INTO documents VALUES (3830, 14, "do not panic", "k", "NULL");
58
+ INSERT INTO documents VALUES (33930, 1, "how google people work", "z", "NULL");
59
+ INSERT INTO documents VALUES (50123, 22, "learning french", "r", "NULL");
60
+ INSERT INTO documents VALUES (651512, 21, "how to write a cv", "f", "NULL");
61
+ INSERT INTO documents VALUES (801801, 4, "how to read a book", "w", "NULL");
62
+ INSERT INTO documents VALUES (3540024, 8, "palm reading", "y", "NULL");
63
+ INSERT INTO documents VALUES (16514113, 25, "a history of arts", "h", "NULL");
64
+ INSERT INTO documents VALUES (385906526, 11, "about korea", "b", "NULL");
65
+
66
+ CREATE TABLE "paragraphs" (
67
+ "paragraph_id" integer,
68
+ "document_id" integer,
69
+ "paragraph_text" text,
70
+ "other_details" null
71
+ );
72
+
73
+ INSERT INTO paragraphs VALUES (7, 2394, "korea", "NULL");
74
+ INSERT INTO paragraphs VALUES (9, 3, "somalia", "NULL");
75
+ INSERT INTO paragraphs VALUES (65, 50123, "palestinian territory", "NULL");
76
+ INSERT INTO paragraphs VALUES (241, 651512, "jersey", "NULL");
77
+ INSERT INTO paragraphs VALUES (3708, 33930, "uk", "NULL");
78
+ INSERT INTO paragraphs VALUES (9946, 385906526, "fiji", "NULL");
79
+ INSERT INTO paragraphs VALUES (16615, 80, "japan", "NULL");
80
+ INSERT INTO paragraphs VALUES (1104059, 3830, "senegal", "NULL");
81
+ INSERT INTO paragraphs VALUES (243399026, 651512, "indonesia", "NULL");
82
+ INSERT INTO paragraphs VALUES (280120913, 2394, "ukraine", "NULL");
83
+ INSERT INTO paragraphs VALUES (510442723, 2394, "korea", "NULL");
84
+ INSERT INTO paragraphs VALUES (571212310, 16514113, "brazil", "NULL");
85
+ INSERT INTO paragraphs VALUES (608931827, 80, "micronesia", "NULL");
86
+ INSERT INTO paragraphs VALUES (765713812, 16514113, "ireland", "NULL");
87
+ INSERT INTO paragraphs VALUES (946335436, 3540024, "papua new guinea", "NULL");
88
+
89
+
90
+ COMMIT;
all/databases/cre_Doc_Template_Mgt/cre_Doc_Template_Mgt.sqlite ADDED
Binary file (20.5 kB). View file
 
all/databases/cre_Theme_park/cre_Theme_park.sql ADDED
@@ -0,0 +1,290 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CREATE TABLE "ref_hotel_star_ratings" (
2
+ "star_rating_code" text,
3
+ "star_rating_description" text
4
+ );
5
+
6
+ INSERT INTO ref_hotel_star_ratings VALUES ("1", "star");
7
+ INSERT INTO ref_hotel_star_ratings VALUES ("2", "star");
8
+ INSERT INTO ref_hotel_star_ratings VALUES ("3", "star");
9
+ INSERT INTO ref_hotel_star_ratings VALUES ("4", "star");
10
+ INSERT INTO ref_hotel_star_ratings VALUES ("5", "star");
11
+
12
+ CREATE TABLE "locations" (
13
+ "location_id" integer,
14
+ "location_name" text,
15
+ "address" text,
16
+ "other_details" null
17
+ );
18
+
19
+ INSERT INTO locations VALUES (333, "astro orbiter", "660 shea crescent", "NULL");
20
+ INSERT INTO locations VALUES (368, "african animals", "254 ottilie junction", "NULL");
21
+ INSERT INTO locations VALUES (417, "american adventure", "53815 sawayn tunnel apt. 297", "NULL");
22
+ INSERT INTO locations VALUES (579, "the barnstormer", "3374 sarina manor", "NULL");
23
+ INSERT INTO locations VALUES (603, "african adventure", "88271 barrows union suite 203", "NULL");
24
+ INSERT INTO locations VALUES (650, "uk gallery", "4411 sabrina radial suite 582", "NULL");
25
+ INSERT INTO locations VALUES (655, "the boneyard", "0692 georgiana pass", "NULL");
26
+ INSERT INTO locations VALUES (661, "shark world", "2485 mueller squares suite 537", "NULL");
27
+ INSERT INTO locations VALUES (740, "space spin", "5536 betsy street apt. 646", "NULL");
28
+ INSERT INTO locations VALUES (759, "butterflies", "959 feest glen suite 523", "NULL");
29
+ INSERT INTO locations VALUES (858, "soak station", "4908 reinger vista", "NULL");
30
+ INSERT INTO locations VALUES (861, "castle", "14034 kohler drive", "NULL");
31
+ INSERT INTO locations VALUES (867, "coral reefs", "4510 schuster stream apt. 613", "NULL");
32
+ INSERT INTO locations VALUES (868, "film festival", "770 edd lane apt. 098", "NULL");
33
+ INSERT INTO locations VALUES (885, "fossil fun games", "101 paucek crescent", "NULL");
34
+
35
+ CREATE TABLE "ref_attraction_types" (
36
+ "attraction_type_code" text,
37
+ "attraction_type_description" text
38
+ );
39
+
40
+ INSERT INTO ref_attraction_types VALUES ("2", "park");
41
+ INSERT INTO ref_attraction_types VALUES ("3", "garden");
42
+ INSERT INTO ref_attraction_types VALUES ("5", "gallery");
43
+ INSERT INTO ref_attraction_types VALUES ("6", "adventure");
44
+ INSERT INTO ref_attraction_types VALUES ("9", "museum");
45
+
46
+ CREATE TABLE "visitors" (
47
+ "tourist_id" integer,
48
+ "tourist_details" text
49
+ );
50
+
51
+ INSERT INTO visitors VALUES (164, "toney");
52
+ INSERT INTO visitors VALUES (189, "graciela");
53
+ INSERT INTO visitors VALUES (204, "vincent");
54
+ INSERT INTO visitors VALUES (211, "vivian");
55
+ INSERT INTO visitors VALUES (241, "nettie");
56
+ INSERT INTO visitors VALUES (295, "laurence");
57
+ INSERT INTO visitors VALUES (359, "newell");
58
+ INSERT INTO visitors VALUES (377, "marisol");
59
+ INSERT INTO visitors VALUES (399, "jarrell");
60
+ INSERT INTO visitors VALUES (439, "edna");
61
+ INSERT INTO visitors VALUES (500, "maud");
62
+ INSERT INTO visitors VALUES (513, "alison");
63
+ INSERT INTO visitors VALUES (541, "rosalind");
64
+ INSERT INTO visitors VALUES (545, "tevin");
65
+ INSERT INTO visitors VALUES (578, "aleen");
66
+ INSERT INTO visitors VALUES (610, "marcelle");
67
+ INSERT INTO visitors VALUES (652, "lizzie");
68
+ INSERT INTO visitors VALUES (779, "wayne");
69
+ INSERT INTO visitors VALUES (841, "teresa");
70
+ INSERT INTO visitors VALUES (888, "elnora");
71
+
72
+ CREATE TABLE "features" (
73
+ "feature_id" integer,
74
+ "feature_details" text
75
+ );
76
+
77
+ INSERT INTO features VALUES (523, "cafe");
78
+ INSERT INTO features VALUES (528, "park");
79
+ INSERT INTO features VALUES (543, "garden");
80
+ INSERT INTO features VALUES (681, "shopping");
81
+ INSERT INTO features VALUES (955, "parking");
82
+
83
+ CREATE TABLE "hotels" (
84
+ "hotel_id" integer,
85
+ "star_rating_code" text,
86
+ "pets_allowed_yn" text,
87
+ "price_range" real,
88
+ "other_hotel_details" null
89
+ );
90
+
91
+ INSERT INTO hotels VALUES (123, "5", "1", 2914989.571, "NULL");
92
+ INSERT INTO hotels VALUES (144, "4", "", "", "NULL");
93
+ INSERT INTO hotels VALUES (172, "5", "", 17012.682586009, "NULL");
94
+ INSERT INTO hotels VALUES (222, "5", "1", "", "NULL");
95
+ INSERT INTO hotels VALUES (239, "3", "1", "", "NULL");
96
+ INSERT INTO hotels VALUES (264, "1", "1", 48525.4530675, "NULL");
97
+ INSERT INTO hotels VALUES (314, "5", "1", 766712918.96763, "NULL");
98
+ INSERT INTO hotels VALUES (331, "1", "1", "", "NULL");
99
+ INSERT INTO hotels VALUES (350, "1", "", "", "NULL");
100
+ INSERT INTO hotels VALUES (373, "5", "1", 250548014.90329, "NULL");
101
+ INSERT INTO hotels VALUES (376, "2", "", "", "NULL");
102
+ INSERT INTO hotels VALUES (379, "4", "1", 38014975.47848, "NULL");
103
+ INSERT INTO hotels VALUES (420, "5", "1", 9393.86291219, "NULL");
104
+ INSERT INTO hotels VALUES (421, "3", "", 5526556.6412, "NULL");
105
+ INSERT INTO hotels VALUES (426, "5", "", 245.067720121, "NULL");
106
+ INSERT INTO hotels VALUES (431, "2", "1", 43.729525, "NULL");
107
+ INSERT INTO hotels VALUES (442, "2", "1", 289775.7331715, "NULL");
108
+ INSERT INTO hotels VALUES (473, "1", "1", 2374.7971074, "NULL");
109
+ INSERT INTO hotels VALUES (514, "5", "", 1381255.81865, "NULL");
110
+ INSERT INTO hotels VALUES (555, "5", "1", 5390.432113, "NULL");
111
+
112
+ CREATE TABLE "tourist_attractions" (
113
+ "tourist_attraction_id" integer,
114
+ "attraction_type_code" text,
115
+ "location_id" integer,
116
+ "how_to_get_there" text,
117
+ "name" text,
118
+ "description" null,
119
+ "opening_hours" null,
120
+ "other_details" null
121
+ );
122
+
123
+ INSERT INTO tourist_attractions VALUES (2113, "2", 579, "bus", "art museum", "NULL", "NULL", "NULL");
124
+ INSERT INTO tourist_attractions VALUES (2701, "6", 417, "walk", "uk gallery", "NULL", "NULL", "NULL");
125
+ INSERT INTO tourist_attractions VALUES (5076, "2", 868, "shuttle", "flying elephant", "NULL", "NULL", "NULL");
126
+ INSERT INTO tourist_attractions VALUES (5265, "5", 603, "bus", "film festival", "NULL", "NULL", "NULL");
127
+ INSERT INTO tourist_attractions VALUES (6476, "3", 417, "shuttle", "us museum", "NULL", "NULL", "NULL");
128
+ INSERT INTO tourist_attractions VALUES (6523, "9", 858, "walk", "fun games", "NULL", "NULL", "NULL");
129
+ INSERT INTO tourist_attractions VALUES (6653, "9", 655, "walk", "history gallery", "NULL", "NULL", "NULL");
130
+ INSERT INTO tourist_attractions VALUES (6852, "5", 858, "walk", "exploration trial", "NULL", "NULL", "NULL");
131
+ INSERT INTO tourist_attractions VALUES (7067, "5", 417, "bus", "haunted mansion", "NULL", "NULL", "NULL");
132
+ INSERT INTO tourist_attractions VALUES (8429, "9", 867, "walk", "presidents hall", "NULL", "NULL", "NULL");
133
+ INSERT INTO tourist_attractions VALUES (8449, "2", 579, "bus", "impressions de france", "NULL", "NULL", "NULL");
134
+ INSERT INTO tourist_attractions VALUES (8698, "5", 661, "bus", "jungle cruise", "NULL", "NULL", "NULL");
135
+ INSERT INTO tourist_attractions VALUES (9360, "5", 868, "shuttle", "fun shops", "NULL", "NULL", "NULL");
136
+ INSERT INTO tourist_attractions VALUES (9561, "2", 759, "bus", "cafe", "NULL", "NULL", "NULL");
137
+ INSERT INTO tourist_attractions VALUES (9919, "6", 579, "shuttle", "parking", "NULL", "NULL", "NULL");
138
+
139
+ CREATE TABLE "street_markets" (
140
+ "market_id" integer,
141
+ "market_details" text
142
+ );
143
+
144
+ INSERT INTO street_markets VALUES (6852, "broadway");
145
+ INSERT INTO street_markets VALUES (7067, "fish farm market");
146
+
147
+ CREATE TABLE "shops" (
148
+ "shop_id" integer,
149
+ "shop_details" text
150
+ );
151
+
152
+ INSERT INTO shops VALUES (8429, "soup");
153
+ INSERT INTO shops VALUES (8449, "coffee");
154
+ INSERT INTO shops VALUES (8698, "flower");
155
+ INSERT INTO shops VALUES (9360, "see food");
156
+
157
+ CREATE TABLE "museums" (
158
+ "museum_id" integer,
159
+ "museum_details" text
160
+ );
161
+
162
+ INSERT INTO museums VALUES (2113, "yale center for british art");
163
+ INSERT INTO museums VALUES (2701, "the metropolitan museum of art");
164
+ INSERT INTO museums VALUES (5076, "moma");
165
+
166
+ CREATE TABLE "royal_family" (
167
+ "royal_family_id" integer,
168
+ "royal_family_details" null
169
+ );
170
+
171
+ INSERT INTO royal_family VALUES (9561, "NULL");
172
+ INSERT INTO royal_family VALUES (9919, "NULL");
173
+
174
+ CREATE TABLE "theme_parks" (
175
+ "theme_park_id" integer,
176
+ "theme_park_details" text
177
+ );
178
+
179
+ INSERT INTO theme_parks VALUES (5265, "disney");
180
+ INSERT INTO theme_parks VALUES (6476, "sea world");
181
+ INSERT INTO theme_parks VALUES (6523, "universal studios");
182
+
183
+ CREATE TABLE "visits" (
184
+ "visit_id" integer,
185
+ "tourist_attraction_id" integer,
186
+ "tourist_id" integer,
187
+ "visit_date" text,
188
+ "visit_details" text
189
+ );
190
+
191
+ INSERT INTO visits VALUES (183, 6653, 377, "2004-08-21 03:06:14", "");
192
+ INSERT INTO visits VALUES (268, 5076, 204, "2013-08-06 05:35:51", "");
193
+ INSERT INTO visits VALUES (273, 9360, 211, "2013-10-27 09:56:08", "");
194
+ INSERT INTO visits VALUES (302, 6476, 377, "1990-08-15 14:24:10", "");
195
+ INSERT INTO visits VALUES (356, 6476, 439, "1980-11-26 02:08:00", "");
196
+ INSERT INTO visits VALUES (381, 6523, 211, "2017-03-19 08:48:19", "");
197
+ INSERT INTO visits VALUES (416, 6476, 841, "2008-11-09 01:28:01", "");
198
+ INSERT INTO visits VALUES (479, 6852, 439, "1989-08-24 20:26:37", "");
199
+ INSERT INTO visits VALUES (563, 6852, 610, "1993-02-01 15:27:20", "");
200
+ INSERT INTO visits VALUES (612, 9919, 204, "2007-09-17 10:12:45", "");
201
+ INSERT INTO visits VALUES (729, 6476, 513, "1998-05-12 00:50:20", "");
202
+ INSERT INTO visits VALUES (776, 8698, 513, "2010-10-04 01:34:12", "");
203
+ INSERT INTO visits VALUES (781, 6852, 779, "2018-01-09 20:39:52", "");
204
+ INSERT INTO visits VALUES (866, 8429, 545, "1971-12-16 06:41:26", "");
205
+ INSERT INTO visits VALUES (909, 8698, 779, "1998-12-10 02:46:43", "");
206
+ INSERT INTO visits VALUES (937, 6523, 541, "1996-01-08 13:23:41", "");
207
+ INSERT INTO visits VALUES (962, 9919, 610, "2007-09-03 04:30:01", "");
208
+ INSERT INTO visits VALUES (968, 6852, 377, "1974-12-31 23:18:24", "");
209
+ INSERT INTO visits VALUES (977, 8698, 500, "2001-11-13 10:08:28", "");
210
+ INSERT INTO visits VALUES (999, 2701, 610, "1990-11-12 00:54:50", "");
211
+
212
+ CREATE TABLE "photos" (
213
+ "photo_id" integer,
214
+ "tourist_attraction_id" integer,
215
+ "name" text,
216
+ "description" null,
217
+ "filename" text,
218
+ "other_details" null
219
+ );
220
+
221
+ INSERT INTO photos VALUES (211, 8449, "game1", "NULL", "702", "NULL");
222
+ INSERT INTO photos VALUES (280, 7067, "game2", "NULL", "762", "NULL");
223
+ INSERT INTO photos VALUES (303, 5076, "game3", "NULL", "392", "NULL");
224
+ INSERT INTO photos VALUES (327, 9919, "fun1", "NULL", "820", "NULL");
225
+ INSERT INTO photos VALUES (332, 5076, "fun2", "NULL", "060", "NULL");
226
+ INSERT INTO photos VALUES (428, 6523, "fun3", "NULL", "148", "NULL");
227
+ INSERT INTO photos VALUES (435, 8429, "fun4", "NULL", "453", "NULL");
228
+ INSERT INTO photos VALUES (437, 2701, "fun5", "NULL", "128", "NULL");
229
+ INSERT INTO photos VALUES (525, 5265, "park1", "NULL", "538", "NULL");
230
+ INSERT INTO photos VALUES (534, 6852, "park2", "NULL", "325", "NULL");
231
+ INSERT INTO photos VALUES (537, 6653, "park3", "NULL", "695", "NULL");
232
+ INSERT INTO photos VALUES (550, 5076, "din1", "NULL", "259", "NULL");
233
+ INSERT INTO photos VALUES (558, 8698, "din2", "NULL", "863", "NULL");
234
+ INSERT INTO photos VALUES (571, 6653, "din3", "NULL", "864", "NULL");
235
+ INSERT INTO photos VALUES (596, 9561, "din4", "NULL", "141", "NULL");
236
+
237
+ CREATE TABLE "staff" (
238
+ "staff_id" integer,
239
+ "tourist_attraction_id" integer,
240
+ "name" text,
241
+ "other_details" null
242
+ );
243
+
244
+ INSERT INTO staff VALUES (170, 6476, "whitney", "NULL");
245
+ INSERT INTO staff VALUES (219, 6476, "kaela", "NULL");
246
+ INSERT INTO staff VALUES (237, 7067, "eunice", "NULL");
247
+ INSERT INTO staff VALUES (249, 5265, "kiarra", "NULL");
248
+ INSERT INTO staff VALUES (310, 9561, "phoebe", "NULL");
249
+ INSERT INTO staff VALUES (433, 9360, "vickie", "NULL");
250
+ INSERT INTO staff VALUES (463, 6653, "jannie", "NULL");
251
+ INSERT INTO staff VALUES (470, 6523, "lenore", "NULL");
252
+ INSERT INTO staff VALUES (487, 6852, "asia", "NULL");
253
+ INSERT INTO staff VALUES (491, 6852, "janet", "NULL");
254
+ INSERT INTO staff VALUES (532, 6852, "elouise", "NULL");
255
+ INSERT INTO staff VALUES (591, 9360, "gina", "NULL");
256
+ INSERT INTO staff VALUES (595, 8698, "beth", "NULL");
257
+ INSERT INTO staff VALUES (596, 2701, "ruthie", "NULL");
258
+ INSERT INTO staff VALUES (604, 6852, "aurore", "NULL");
259
+ INSERT INTO staff VALUES (619, 2113, "cortney", "NULL");
260
+ INSERT INTO staff VALUES (643, 6523, "astrid", "NULL");
261
+ INSERT INTO staff VALUES (667, 9561, "shemar", "NULL");
262
+ INSERT INTO staff VALUES (860, 6476, "trinity", "NULL");
263
+ INSERT INTO staff VALUES (952, 5265, "carmella", "NULL");
264
+
265
+ CREATE TABLE "tourist_attraction_features" (
266
+ "tourist_attraction_id" integer,
267
+ "feature_id" integer
268
+ );
269
+
270
+ INSERT INTO tourist_attraction_features VALUES (5076, 528);
271
+ INSERT INTO tourist_attraction_features VALUES (5076, 681);
272
+ INSERT INTO tourist_attraction_features VALUES (5265, 523);
273
+ INSERT INTO tourist_attraction_features VALUES (5265, 955);
274
+ INSERT INTO tourist_attraction_features VALUES (6476, 543);
275
+ INSERT INTO tourist_attraction_features VALUES (6476, 681);
276
+ INSERT INTO tourist_attraction_features VALUES (6476, 955);
277
+ INSERT INTO tourist_attraction_features VALUES (6523, 528);
278
+ INSERT INTO tourist_attraction_features VALUES (6852, 528);
279
+ INSERT INTO tourist_attraction_features VALUES (6852, 955);
280
+ INSERT INTO tourist_attraction_features VALUES (7067, 543);
281
+ INSERT INTO tourist_attraction_features VALUES (8429, 681);
282
+ INSERT INTO tourist_attraction_features VALUES (8449, 528);
283
+ INSERT INTO tourist_attraction_features VALUES (8698, 528);
284
+ INSERT INTO tourist_attraction_features VALUES (8698, 543);
285
+ INSERT INTO tourist_attraction_features VALUES (8698, 681);
286
+ INSERT INTO tourist_attraction_features VALUES (9561, 681);
287
+ INSERT INTO tourist_attraction_features VALUES (9919, 681);
288
+
289
+
290
+ COMMIT;
all/databases/cre_Theme_park/cre_Theme_park.sqlite ADDED
Binary file (69.6 kB). View file
 
all/databases/culture_company/culture_company.sql ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CREATE TABLE "book_club" (
2
+ "book_club_id" integer,
3
+ "year" integer,
4
+ "author_or_editor" text,
5
+ "book_title" text,
6
+ "publisher" text,
7
+ "category" text,
8
+ "result" text
9
+ );
10
+
11
+ INSERT INTO book_club VALUES (1, 1989, "michael nava", "goldenboy", "alyson", "gay m/sf", "won [a ]");
12
+ INSERT INTO book_club VALUES (2, 1989, "donald ward", "death takes the stage", "st. martins press", "gay m/sf", "nom");
13
+ INSERT INTO book_club VALUES (3, 1989, "michael bishop", "unicorn mountain", "william morrow", "gay m/sf", "nom");
14
+ INSERT INTO book_club VALUES (4, 1989, "joseph hansen", "obedience", "mysterious press", "gay m/sf", "nom");
15
+ INSERT INTO book_club VALUES (5, 1989, "george baxt", "whoӳ next", "international polygonics", "gay m/sf", "nom");
16
+ INSERT INTO book_club VALUES (6, 1989, "antoinette azolakov", "skiptrace", "banned books", "lesb. m/sf", "won");
17
+ INSERT INTO book_club VALUES (7, 1989, "claire mcnab", "lessons in murder", "naiad press", "lesb. m/sf", "nom");
18
+ INSERT INTO book_club VALUES (8, 1989, "judy grahn", "mundaneӳ world", "crossing press", "lesb. m/sf", "nom");
19
+ INSERT INTO book_club VALUES (9, 1989, "dolores klaich", "heavy gilt", "naiad press", "lesb. m/sf", "nom");
20
+ INSERT INTO book_club VALUES (10, 1989, "sandy bayer", "the crystal curtain", "alyson", "lesb. m/sf", "nom");
21
+ INSERT INTO book_club VALUES (11, 1990, "jeffrey n. mcmahan", "somewhere in the night", "alyson", "gay sf/f", "won [b ]");
22
+ INSERT INTO book_club VALUES (12, 1990, "thom nickels", "walking water / after all this", "banned books", "gay sf/f", "nom");
23
+
24
+ CREATE TABLE "movie" (
25
+ "movie_id" integer,
26
+ "title" text,
27
+ "year" integer,
28
+ "director" text,
29
+ "budget_million" real,
30
+ "gross_worldwide" integer
31
+ );
32
+
33
+ INSERT INTO movie VALUES (1, "the boondock saints", 1999, "troy duffy", 6.0, 30471);
34
+ INSERT INTO movie VALUES (2, "the big kahuna", 1999, "john swanbeck", 7.0, 3728888);
35
+ INSERT INTO movie VALUES (3, "storm catcher", 1999, "anthony hickox", 5.0, 40500);
36
+ INSERT INTO movie VALUES (4, "jill rips", 2000, "anthony hickox", 4.0, 456774);
37
+ INSERT INTO movie VALUES (5, "the whole nine yards", 2000, "jonathan lynn", 41.3, 106371651);
38
+ INSERT INTO movie VALUES (6, "battlefield earth", 2000, "roger christian", 44.0, 29725663);
39
+ INSERT INTO movie VALUES (7, "get carter", 2000, "stephen kay", 63.6, 19412993);
40
+ INSERT INTO movie VALUES (8, "the art of war", 2000, "christian duguay", 60.0, 40400425);
41
+ INSERT INTO movie VALUES (9, "agent red", 2000, "damian lee", 47.0, 543356);
42
+ INSERT INTO movie VALUES (10, "3000 miles to graceland", 2001, "demian lichtenstein", 62.0, 18720175);
43
+
44
+ CREATE TABLE "culture_company" (
45
+ "company_name" text,
46
+ "type" text,
47
+ "incorporated_in" text,
48
+ "group_equity_shareholding" real,
49
+ "book_club_id" text,
50
+ "movie_id" text
51
+ );
52
+
53
+ INSERT INTO culture_company VALUES ("cathay pacific culture", "corporate", "china", 18.77, "1", "2");
54
+ INSERT INTO culture_company VALUES ("cathay pacific culture services hk limited", "joint venture", "china", 49.0, "2", "3");
55
+ INSERT INTO culture_company VALUES ("culture china", "joint venture", "hong kong", 60.0, "3", "4");
56
+ INSERT INTO culture_company VALUES ("culture china cargo", "subsidiary", "hong kong", 100.0, "5", "7");
57
+ INSERT INTO culture_company VALUES ("culture hong kong", "subsidiary", "hong kong", 100.0, "5", "5");
58
+ INSERT INTO culture_company VALUES ("dragonair", "subsidiary", "hong kong", 100.0, "6", "6");
59
+
60
+
61
+ COMMIT;
all/databases/culture_company/culture_company.sqlite ADDED
Binary file (16.4 kB). View file
 
all/databases/customers_and_invoices/customers_and_invoices.sql ADDED
@@ -0,0 +1,218 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CREATE TABLE "customers" (
2
+ "customer_id" integer,
3
+ "customer_first_name" text,
4
+ "customer_middle_initial" text,
5
+ "customer_last_name" text,
6
+ "gender" text,
7
+ "email_address" text,
8
+ "login_name" text,
9
+ "login_password" text,
10
+ "phone_number" text,
11
+ "town_city" text,
12
+ "state_county_province" text,
13
+ "country" text
14
+ );
15
+
16
+ INSERT INTO customers VALUES (1, "dee", "a", "larkin", "1", "[email protected]", "xhartmann", "77789d292604ea04406f", "241.796.1219x37862", "north nellie", "westvirginia", "usa");
17
+ INSERT INTO customers VALUES (2, "brennon", "h", "weimann", "0", "[email protected]", "shayne.lesch", "ce97a3e4539347daab96", "943219-4234x415", "south isabell", "oklahoma", "usa");
18
+ INSERT INTO customers VALUES (3, "joesph", "k", "schaefer", "0", "[email protected]", "feeney.lauriane", "a6c7a7064c36b038d402", "488524-5345", "new nikolas", "arkansas", "usa");
19
+ INSERT INTO customers VALUES (4, "zita", "l", "trantow", "0", "[email protected]", "rubye.padberg", "eb32d2933362d38faff7", "193465-6674x4952", "ellaburgh", "colorado", "usa");
20
+ INSERT INTO customers VALUES (5, "murl", "b", "shanahan", "1", "[email protected]", "jankunding", "398c1603aec3e9de2684", "1-546-447-9843x13741", "north helmerbury", "idaho", "usa");
21
+ INSERT INTO customers VALUES (6, "vesta", "e", "leuschke", "1", "[email protected]", "zdeckow", "bdbc3c18cf28303c4f6a", "+6907149212554", "north devonte", "mississippi", "usa");
22
+ INSERT INTO customers VALUES (7, "dangelo", "m", "spinka", "1", "[email protected]", "camilla.dubuque", "180a37476c537e78d3de", "1-904-787-7320", "west khaliltown", "kansas", "usa");
23
+ INSERT INTO customers VALUES (8, "meaghan", "m", "keeling", "0", "[email protected]", "lowe.wilber", "e67856613cd71f1b2884", "06015518212", "kenshire", "mississippi", "usa");
24
+ INSERT INTO customers VALUES (9, "abbey", "b", "ruecker", "0", "[email protected]", "dubuque.gina", "d7629de5171fe29106c8", "1-344-593-4896x425", "bruenchester", "california", "usa");
25
+ INSERT INTO customers VALUES (10, "devin", "v", "glover", "0", "[email protected]", "ypowlowski", "604f9062a5a0de83ef9d", "197-955-3766", "lake eusebiomouth", "florida", "usa");
26
+ INSERT INTO customers VALUES (11, "neoma", "g", "hauck", "1", "[email protected]", "ahmad.hagenes", "035f2ba1e2a675c4f426", "+9501523064649", "new rachellefort", "alabama", "usa");
27
+ INSERT INTO customers VALUES (12, "jensen", "m", "muller", "0", "[email protected]", "pbecker", "5fe7c12dc3176ddf67c4", "650406-8761", "carleefort", "montana", "usa");
28
+ INSERT INTO customers VALUES (13, "kieran", "a", "auer", "0", "[email protected]", "sophia97", "d4ade599672bccdabeee", "157046-6255x98627", "lake freemanville", "kentucky", "usa");
29
+ INSERT INTO customers VALUES (14, "percival", "b", "kessler", "1", "[email protected]", "lucy.jast", "178613c20728eec256db", "791562-7792x45732", "port hollie", "louisiana", "usa");
30
+ INSERT INTO customers VALUES (15, "ruby", "k", "boyle", "0", "[email protected]", "dthiel", "eff2c0dbf972481ba23c", "1-546-302-5676", "east stephaniafort", "southdakota", "usa");
31
+
32
+ CREATE TABLE "orders" (
33
+ "order_id" integer,
34
+ "customer_id" integer,
35
+ "date_order_placed" text,
36
+ "order_details" null
37
+ );
38
+
39
+ INSERT INTO orders VALUES (1, 12, "2012-06-27 20:49:56", "NULL");
40
+ INSERT INTO orders VALUES (2, 12, "2012-08-25 07:51:54", "NULL");
41
+ INSERT INTO orders VALUES (3, 8, "2017-11-05 15:32:38", "NULL");
42
+ INSERT INTO orders VALUES (4, 5, "2017-11-27 21:50:58", "NULL");
43
+ INSERT INTO orders VALUES (5, 15, "2015-05-17 03:05:32", "NULL");
44
+ INSERT INTO orders VALUES (6, 5, "2015-11-25 22:55:41", "NULL");
45
+ INSERT INTO orders VALUES (7, 3, "2016-04-15 03:33:59", "NULL");
46
+ INSERT INTO orders VALUES (8, 3, "2010-01-28 03:43:26", "NULL");
47
+ INSERT INTO orders VALUES (9, 2, "2017-03-08 05:42:10", "NULL");
48
+ INSERT INTO orders VALUES (10, 11, "2017-12-04 02:59:10", "NULL");
49
+ INSERT INTO orders VALUES (11, 14, "2010-10-22 06:45:16", "NULL");
50
+ INSERT INTO orders VALUES (12, 1, "2017-05-24 19:26:44", "NULL");
51
+ INSERT INTO orders VALUES (13, 10, "2015-08-06 22:40:40", "NULL");
52
+ INSERT INTO orders VALUES (14, 10, "2017-10-29 04:20:08", "NULL");
53
+ INSERT INTO orders VALUES (15, 6, "2013-10-25 17:40:25", "NULL");
54
+
55
+ CREATE TABLE "invoices" (
56
+ "invoice_number" integer,
57
+ "order_id" integer,
58
+ "invoice_date" text
59
+ );
60
+
61
+ INSERT INTO invoices VALUES (1, 9, "2018-03-01 16:40:48");
62
+ INSERT INTO invoices VALUES (2, 9, "2018-03-20 00:21:41");
63
+ INSERT INTO invoices VALUES (3, 3, "2018-03-05 08:47:33");
64
+ INSERT INTO invoices VALUES (4, 9, "2018-02-28 19:01:06");
65
+ INSERT INTO invoices VALUES (5, 13, "2018-03-07 02:04:32");
66
+ INSERT INTO invoices VALUES (6, 8, "2018-03-16 21:57:43");
67
+ INSERT INTO invoices VALUES (7, 10, "2018-03-13 07:27:38");
68
+ INSERT INTO invoices VALUES (8, 10, "2018-03-19 17:06:30");
69
+ INSERT INTO invoices VALUES (9, 12, "2018-03-16 11:01:06");
70
+ INSERT INTO invoices VALUES (10, 11, "2018-03-01 01:44:08");
71
+ INSERT INTO invoices VALUES (11, 5, "2018-03-23 04:59:28");
72
+ INSERT INTO invoices VALUES (12, 3, "2018-03-15 21:24:13");
73
+ INSERT INTO invoices VALUES (13, 3, "2018-03-03 20:44:06");
74
+ INSERT INTO invoices VALUES (14, 4, "2018-03-19 22:38:10");
75
+ INSERT INTO invoices VALUES (15, 14, "2018-03-15 09:38:49");
76
+
77
+ CREATE TABLE "accounts" (
78
+ "account_id" integer,
79
+ "customer_id" integer,
80
+ "date_account_opened" text,
81
+ "account_name" text,
82
+ "other_account_details" text
83
+ );
84
+
85
+ INSERT INTO accounts VALUES (1, 8, "2016-07-30 22:22:24", "900", "regular");
86
+ INSERT INTO accounts VALUES (2, 3, "2017-05-29 16:45:17", "520", "vip");
87
+ INSERT INTO accounts VALUES (3, 8, "2012-05-04 18:50:32", "323", "regular");
88
+ INSERT INTO accounts VALUES (4, 15, "2011-03-29 15:06:59", "390", "vip");
89
+ INSERT INTO accounts VALUES (5, 15, "2014-08-11 18:15:14", "935", "regular");
90
+ INSERT INTO accounts VALUES (6, 12, "2014-05-30 12:16:52", "371", "regular");
91
+ INSERT INTO accounts VALUES (7, 13, "2015-11-03 08:04:15", "398", "vip");
92
+ INSERT INTO accounts VALUES (8, 9, "2009-06-13 11:41:52", "710", "regular");
93
+ INSERT INTO accounts VALUES (9, 8, "2010-10-22 13:33:45", "337", "regular");
94
+ INSERT INTO accounts VALUES (10, 15, "2016-04-25 21:49:17", "429", "vip");
95
+ INSERT INTO accounts VALUES (11, 13, "2012-07-09 23:40:15", "191", "vip");
96
+ INSERT INTO accounts VALUES (12, 8, "2015-02-02 09:47:08", "601", "regular");
97
+ INSERT INTO accounts VALUES (13, 13, "2010-06-16 09:35:00", "272", "regular");
98
+ INSERT INTO accounts VALUES (14, 13, "2014-12-28 07:29:42", "861", "vip");
99
+ INSERT INTO accounts VALUES (15, 6, "2008-05-04 22:15:56", "662", "vip");
100
+
101
+ CREATE TABLE "product_categories" (
102
+ "production_type_code" text,
103
+ "product_type_description" text,
104
+ "vat_rating" real
105
+ );
106
+
107
+ INSERT INTO product_categories VALUES ("books", "food", 15.84);
108
+ INSERT INTO product_categories VALUES ("dvds", "dvd products", 11.4);
109
+ INSERT INTO product_categories VALUES ("electronics", "books", 13.95);
110
+ INSERT INTO product_categories VALUES ("food", "electrical devices", 17.9);
111
+
112
+ CREATE TABLE "products" (
113
+ "product_id" integer,
114
+ "parent_product_id" integer,
115
+ "production_type_code" text,
116
+ "unit_price" real,
117
+ "product_name" text,
118
+ "product_color" text,
119
+ "product_size" text
120
+ );
121
+
122
+ INSERT INTO products VALUES (1, 4, "food", 617.95, "coffee bean", "red", "medium");
123
+ INSERT INTO products VALUES (2, 4, "books", 558.49, "learning french", "yellow", "medium");
124
+ INSERT INTO products VALUES (3, 8, "electronics", 563.58, "fans", "black", "medium");
125
+ INSERT INTO products VALUES (4, 8, "electronics", 985.78, "hard drive", "black", "small");
126
+ INSERT INTO products VALUES (5, 7, "dvds", 682.06, "arts", "yellow", "small");
127
+ INSERT INTO products VALUES (6, 7, "books", 469.71, "art history", "yellow", "small");
128
+ INSERT INTO products VALUES (7, 5, "books", 409.83, "learning english", "red", "large");
129
+ INSERT INTO products VALUES (8, 1, "books", 49.62, "menus", "black", "small");
130
+ INSERT INTO products VALUES (9, 8, "food", 694.31, "beer menus", "black", "small");
131
+ INSERT INTO products VALUES (10, 9, "electronics", 937.85, "tv", "red", "medium");
132
+ INSERT INTO products VALUES (11, 8, "dvds", 52.88, "harry potter 1", "black", "small");
133
+ INSERT INTO products VALUES (12, 1, "dvds", 729.09, "harry potter 2", "red", "medium");
134
+ INSERT INTO products VALUES (13, 6, "food", 639.76, "chocolate", "yellow", "small");
135
+ INSERT INTO products VALUES (14, 1, "dvds", 469.87, "harry potter 3", "yellow", "small");
136
+ INSERT INTO products VALUES (15, 2, "dvds", 82.96, "harry potter 4", "yellow", "large");
137
+
138
+ CREATE TABLE "financial_transactions" (
139
+ "transaction_id" integer,
140
+ "account_id" integer,
141
+ "invoice_number" integer,
142
+ "transaction_type" text,
143
+ "transaction_date" text,
144
+ "transaction_amount" real,
145
+ "transaction_comment" null,
146
+ "other_transaction_details" null
147
+ );
148
+
149
+ INSERT INTO financial_transactions VALUES (1, 13, 12, "payment", "2018-03-15 21:13:57", 613.96, "NULL", "NULL");
150
+ INSERT INTO financial_transactions VALUES (2, 9, 1, "payment", "2018-03-13 13:27:46", 368.46, "NULL", "NULL");
151
+ INSERT INTO financial_transactions VALUES (3, 6, 1, "refund", "2018-03-03 01:50:25", 1598.25, "NULL", "NULL");
152
+ INSERT INTO financial_transactions VALUES (4, 9, 12, "payment", "2018-03-10 13:46:48", 540.73, "NULL", "NULL");
153
+ INSERT INTO financial_transactions VALUES (5, 9, 2, "payment", "2018-03-23 04:56:12", 1214.22, "NULL", "NULL");
154
+ INSERT INTO financial_transactions VALUES (6, 12, 3, "refund", "2018-03-22 21:58:37", 1903.41, "NULL", "NULL");
155
+ INSERT INTO financial_transactions VALUES (7, 13, 14, "payment", "2018-03-12 03:06:52", 1585.03, "NULL", "NULL");
156
+ INSERT INTO financial_transactions VALUES (8, 14, 15, "payment", "2018-03-11 21:57:47", 1425.41, "NULL", "NULL");
157
+ INSERT INTO financial_transactions VALUES (9, 8, 12, "payment", "2018-03-07 04:32:54", 1517.77, "NULL", "NULL");
158
+ INSERT INTO financial_transactions VALUES (10, 6, 15, "payment", "2018-03-14 19:09:07", 1477.57, "NULL", "NULL");
159
+ INSERT INTO financial_transactions VALUES (11, 6, 13, "refund", "2018-03-12 22:51:05", 1567.64, "NULL", "NULL");
160
+ INSERT INTO financial_transactions VALUES (12, 9, 6, "refund", "2018-03-05 19:55:23", 1781.24, "NULL", "NULL");
161
+ INSERT INTO financial_transactions VALUES (13, 13, 12, "refund", "2018-03-24 12:05:11", 899.87, "NULL", "NULL");
162
+ INSERT INTO financial_transactions VALUES (14, 11, 5, "refund", "2018-03-13 03:51:59", 1462.62, "NULL", "NULL");
163
+ INSERT INTO financial_transactions VALUES (15, 4, 14, "refund", "2018-02-27 14:58:30", 1979.66, "NULL", "NULL");
164
+
165
+ CREATE TABLE "order_items" (
166
+ "order_item_id" integer,
167
+ "order_id" integer,
168
+ "product_id" integer,
169
+ "product_quantity" text,
170
+ "other_order_item_details" null
171
+ );
172
+
173
+ INSERT INTO order_items VALUES (1, 4, 4, "6", "NULL");
174
+ INSERT INTO order_items VALUES (2, 4, 10, "7", "NULL");
175
+ INSERT INTO order_items VALUES (3, 15, 5, "4", "NULL");
176
+ INSERT INTO order_items VALUES (4, 1, 3, "9", "NULL");
177
+ INSERT INTO order_items VALUES (5, 2, 14, "3", "NULL");
178
+ INSERT INTO order_items VALUES (6, 13, 12, "8", "NULL");
179
+ INSERT INTO order_items VALUES (7, 1, 15, "3", "NULL");
180
+ INSERT INTO order_items VALUES (8, 10, 4, "4", "NULL");
181
+ INSERT INTO order_items VALUES (9, 14, 5, "1", "NULL");
182
+ INSERT INTO order_items VALUES (10, 13, 9, "2", "NULL");
183
+ INSERT INTO order_items VALUES (11, 15, 7, "5", "NULL");
184
+ INSERT INTO order_items VALUES (12, 4, 14, "4", "NULL");
185
+ INSERT INTO order_items VALUES (13, 12, 13, "1", "NULL");
186
+ INSERT INTO order_items VALUES (14, 13, 14, "2", "NULL");
187
+ INSERT INTO order_items VALUES (15, 13, 14, "6", "NULL");
188
+
189
+ CREATE TABLE "invoice_line_items" (
190
+ "order_item_id" integer,
191
+ "invoice_number" integer,
192
+ "product_id" integer,
193
+ "product_title" text,
194
+ "product_quantity" text,
195
+ "product_price" real,
196
+ "derived_product_cost" real,
197
+ "derived_vat_payable" null,
198
+ "derived_total_cost" real
199
+ );
200
+
201
+ INSERT INTO invoice_line_items VALUES (14, 9, 5, "prod_name", "4", 742.37, 191.11, "NULL", 69.82);
202
+ INSERT INTO invoice_line_items VALUES (3, 9, 15, "prod_name", "1", 814.87, 176.29, "NULL", 59.56);
203
+ INSERT INTO invoice_line_items VALUES (4, 10, 15, "prod_name", "8", 943.07, 73.14, "NULL", 59.93);
204
+ INSERT INTO invoice_line_items VALUES (6, 15, 14, "prod_name", "2", 749.6, 197.06, "NULL", 82.77);
205
+ INSERT INTO invoice_line_items VALUES (8, 11, 10, "prod_name", "2", 942.99, 88.43, "NULL", 86.56);
206
+ INSERT INTO invoice_line_items VALUES (9, 11, 9, "prod_name", "6", 486.69, 64.67, "NULL", 83.4);
207
+ INSERT INTO invoice_line_items VALUES (8, 14, 3, "prod_name", "3", 995.34, 28.18, "NULL", 58.24);
208
+ INSERT INTO invoice_line_items VALUES (11, 1, 6, "prod_name", "9", 429.05, 254.08, "NULL", 79.48);
209
+ INSERT INTO invoice_line_items VALUES (15, 9, 3, "prod_name", "4", 727.41, 66, "NULL", 53.53);
210
+ INSERT INTO invoice_line_items VALUES (7, 9, 14, "prod_name", "9", 559.95, 89.16, "NULL", 45.66);
211
+ INSERT INTO invoice_line_items VALUES (5, 7, 8, "prod_name", "6", 787.61, 150.04, "NULL", 51.27);
212
+ INSERT INTO invoice_line_items VALUES (10, 10, 1, "prod_name", "9", 781.46, 256.84, "NULL", 71.22);
213
+ INSERT INTO invoice_line_items VALUES (10, 14, 11, "prod_name", "7", 884.4, 249.19, "NULL", 78.26);
214
+ INSERT INTO invoice_line_items VALUES (10, 5, 11, "prod_name", "5", 556.36, 295.26, "NULL", 61);
215
+ INSERT INTO invoice_line_items VALUES (8, 12, 6, "prod_name", "8", 597.28, 188.71, "NULL", 98.77);
216
+
217
+
218
+ COMMIT;
all/databases/customers_and_invoices/customers_and_invoices.sqlite ADDED
Binary file (41 kB). View file
 
all/databases/customers_and_invoices_minus_1_0/customers_and_invoices_minus_1_0.sql ADDED
@@ -0,0 +1,191 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ create table customers (
2
+ customer_id integer,
3
+ customer_first_name text,
4
+ customer_middle_initial text,
5
+ customer_last_name text,
6
+ gender text,
7
+ email_address text,
8
+ login_name text,
9
+ login_password text,
10
+ phone_number text,
11
+ town_city text,
12
+ state_county_province text,
13
+ country text
14
+ );
15
+ insert into customers values(1, 'dee', 'a', 'larkin', 1, '[email protected]', 'xhartmann', '77789d292604ea04406f', '241.796.1219x37862', 'north nellie', 'westvirginia', 'usa');
16
+ insert into customers values(2, 'brennon', 'h', 'weimann', 0, '[email protected]', 'shayne.lesch', 'ce97a3e4539347daab96', '943219-4234x415', 'south isabell', 'oklahoma', 'usa');
17
+ insert into customers values(3, 'joesph', 'k', 'schaefer', 0, '[email protected]', 'feeney.lauriane', 'a6c7a7064c36b038d402', '488524-5345', 'new nikolas', 'arkansas', 'usa');
18
+ insert into customers values(4, 'zita', 'l', 'trantow', 0, '[email protected]', 'rubye.padberg', 'eb32d2933362d38faff7', '193465-6674x4952', 'ellaburgh', 'colorado', 'usa');
19
+ insert into customers values(5, 'murl', 'b', 'shanahan', 1, '[email protected]', 'jankunding', '398c1603aec3e9de2684', '1-546-447-9843x13741', 'north helmerbury', 'idaho', 'usa');
20
+ insert into customers values(6, 'vesta', 'e', 'leuschke', 1, '[email protected]', 'zdeckow', 'bdbc3c18cf28303c4f6a', '+6907149212554', 'north devonte', 'mississippi', 'usa');
21
+ insert into customers values(7, 'dangelo', 'm', 'spinka', 1, '[email protected]', 'camilla.dubuque', '180a37476c537e78d3de', '1-904-787-7320', 'west khaliltown', 'kansas', 'usa');
22
+ insert into customers values(8, 'meaghan', 'm', 'keeling', 0, '[email protected]', 'lowe.wilber', 'e67856613cd71f1b2884', 06015518212, 'kenshire', 'mississippi', 'usa');
23
+ insert into customers values(9, 'abbey', 'b', 'ruecker', 0, '[email protected]', 'dubuque.gina', 'd7629de5171fe29106c8', '1-344-593-4896x425', 'bruenchester', 'california', 'usa');
24
+ insert into customers values(10, 'devin', 'v', 'glover', 0, '[email protected]', 'ypowlowski', '604f9062a5a0de83ef9d', '197-955-3766', 'lake eusebiomouth', 'florida', 'usa');
25
+ insert into customers values(11, 'neoma', 'g', 'hauck', 1, '[email protected]', 'ahmad.hagenes', '035f2ba1e2a675c4f426', '+9501523064649', 'new rachellefort', 'alabama', 'usa');
26
+ insert into customers values(12, 'jensen', 'm', 'muller', 0, '[email protected]', 'pbecker', '5fe7c12dc3176ddf67c4', '650406-8761', 'carleefort', 'montana', 'usa');
27
+ insert into customers values(13, 'kieran', 'a', 'auer', 0, '[email protected]', 'sophia97', 'd4ade599672bccdabeee', '157046-6255x98627', 'lake freemanville', 'kentucky', 'usa');
28
+ insert into customers values(14, 'percival', 'b', 'kessler', 1, '[email protected]', 'lucy.jast', '178613c20728eec256db', '791562-7792x45732', 'port hollie', 'louisiana', 'usa');
29
+ insert into customers values(15, 'ruby', 'k', 'boyle', 0, '[email protected]', 'dthiel', 'eff2c0dbf972481ba23c', '1-546-302-5676', 'east stephaniafort', 'southdakota', 'usa');
30
+
31
+ create table orders (
32
+ order_id integer,
33
+ customer_id integer,
34
+ date_order_placed text,
35
+ order_details null
36
+ );
37
+ insert into orders values(1, 12, '2012-06-27 20:49:56', 'null');
38
+ insert into orders values(2, 12, '2012-08-25 07:51:54', 'null');
39
+ insert into orders values(3, 8, '2017-11-05 15:32:38', 'null');
40
+ insert into orders values(4, 5, '2017-11-27 21:50:58', 'null');
41
+ insert into orders values(5, 15, '2015-05-17 03:05:32', 'null');
42
+ insert into orders values(6, 5, '2015-11-25 22:55:41', 'null');
43
+ insert into orders values(7, 3, '2016-04-15 03:33:59', 'null');
44
+ insert into orders values(8, 3, '2010-01-28 03:43:26', 'null');
45
+ insert into orders values(9, 2, '2017-03-08 05:42:10', 'null');
46
+ insert into orders values(10, 11, '2017-12-04 02:59:10', 'null');
47
+ insert into orders values(11, 14, '2010-10-22 06:45:16', 'null');
48
+ insert into orders values(12, 1, '2017-05-24 19:26:44', 'null');
49
+ insert into orders values(13, 10, '2015-08-06 22:40:40', 'null');
50
+ insert into orders values(14, 10, '2017-10-29 04:20:08', 'null');
51
+ insert into orders values(15, 6, '2013-10-25 17:40:25', 'null');
52
+
53
+ create table invoices (
54
+ invoice_number integer,
55
+ order_id integer,
56
+ invoice_date text
57
+ );
58
+ insert into invoices values(1, 9, '2018-03-01 16:40:48');
59
+ insert into invoices values(2, 9, '2018-03-20 00:21:41');
60
+ insert into invoices values(3, 3, '2018-03-05 08:47:33');
61
+ insert into invoices values(4, 9, '2018-02-28 19:01:06');
62
+ insert into invoices values(5, 13, '2018-03-07 02:04:32');
63
+ insert into invoices values(6, 8, '2018-03-16 21:57:43');
64
+ insert into invoices values(7, 10, '2018-03-13 07:27:38');
65
+ insert into invoices values(8, 10, '2018-03-19 17:06:30');
66
+ insert into invoices values(9, 12, '2018-03-16 11:01:06');
67
+ insert into invoices values(10, 11, '2018-03-01 01:44:08');
68
+ insert into invoices values(11, 5, '2018-03-23 04:59:28');
69
+ insert into invoices values(12, 3, '2018-03-15 21:24:13');
70
+ insert into invoices values(13, 3, '2018-03-03 20:44:06');
71
+ insert into invoices values(14, 4, '2018-03-19 22:38:10');
72
+ insert into invoices values(15, 14, '2018-03-15 09:38:49');
73
+
74
+ create table accounts (
75
+ account_id integer,
76
+ customer_id integer,
77
+ date_account_opened text,
78
+ account_name text,
79
+ other_account_details text
80
+ );
81
+ insert into accounts values(1, 8, '2016-07-30 22:22:24', 900, 'regular');
82
+ insert into accounts values(2, 3, '2017-05-29 16:45:17', 520, 'vip');
83
+ insert into accounts values(3, 8, '2012-05-04 18:50:32', 323, 'regular');
84
+ insert into accounts values(4, 15, '2011-03-29 15:06:59', 390, 'vip');
85
+ insert into accounts values(5, 15, '2014-08-11 18:15:14', 935, 'regular');
86
+ insert into accounts values(6, 12, '2014-05-30 12:16:52', 371, 'regular');
87
+ insert into accounts values(7, 13, '2015-11-03 08:04:15', 398, 'vip');
88
+ insert into accounts values(8, 9, '2009-06-13 11:41:52', 710, 'regular');
89
+ insert into accounts values(9, 8, '2010-10-22 13:33:45', 337, 'regular');
90
+ insert into accounts values(10, 15, '2016-04-25 21:49:17', 429, 'vip');
91
+ insert into accounts values(11, 13, '2012-07-09 23:40:15', 191, 'vip');
92
+ insert into accounts values(12, 8, '2015-02-02 09:47:08', 601, 'regular');
93
+ insert into accounts values(13, 13, '2010-06-16 09:35:00', 272, 'regular');
94
+ insert into accounts values(14, 13, '2014-12-28 07:29:42', 861, 'vip');
95
+ insert into accounts values(15, 6, '2008-05-04 22:15:56', 662, 'vip');
96
+
97
+ create table product_categories (
98
+ production_type_code text,
99
+ product_type_description text,
100
+ vat_rating real
101
+ );
102
+ insert into product_categories values('books', 'food', 15.84);
103
+ insert into product_categories values('dvds', 'dvd products', 11.4);
104
+ insert into product_categories values('electronics', 'books', 13.95);
105
+ insert into product_categories values('food', 'electrical devices', 17.9);
106
+
107
+ create table financial_transactions (
108
+ transaction_id integer,
109
+ account_id integer,
110
+ invoice_number integer,
111
+ transaction_type text,
112
+ transaction_date text,
113
+ transaction_amount real,
114
+ transaction_comment null,
115
+ other_transaction_details null
116
+ );
117
+ insert into financial_transactions values(1, 13, 12, 'payment', '2018-03-15 21:13:57', 613.96, 'null', 'null');
118
+ insert into financial_transactions values(2, 9, 1, 'payment', '2018-03-13 13:27:46', 368.46, 'null', 'null');
119
+ insert into financial_transactions values(3, 6, 1, 'refund', '2018-03-03 01:50:25', 1598.25, 'null', 'null');
120
+ insert into financial_transactions values(4, 9, 12, 'payment', '2018-03-10 13:46:48', 540.73, 'null', 'null');
121
+ insert into financial_transactions values(5, 9, 2, 'payment', '2018-03-23 04:56:12', 1214.22, 'null', 'null');
122
+ insert into financial_transactions values(6, 12, 3, 'refund', '2018-03-22 21:58:37', 1903.41, 'null', 'null');
123
+ insert into financial_transactions values(7, 13, 14, 'payment', '2018-03-12 03:06:52', 1585.03, 'null', 'null');
124
+ insert into financial_transactions values(8, 14, 15, 'payment', '2018-03-11 21:57:47', 1425.41, 'null', 'null');
125
+ insert into financial_transactions values(9, 8, 12, 'payment', '2018-03-07 04:32:54', 1517.77, 'null', 'null');
126
+ insert into financial_transactions values(10, 6, 15, 'payment', '2018-03-14 19:09:07', 1477.57, 'null', 'null');
127
+ insert into financial_transactions values(11, 6, 13, 'refund', '2018-03-12 22:51:05', 1567.64, 'null', 'null');
128
+ insert into financial_transactions values(12, 9, 6, 'refund', '2018-03-05 19:55:23', 1781.24, 'null', 'null');
129
+ insert into financial_transactions values(13, 13, 12, 'refund', '2018-03-24 12:05:11', 899.87, 'null', 'null');
130
+ insert into financial_transactions values(14, 11, 5, 'refund', '2018-03-13 03:51:59', 1462.62, 'null', 'null');
131
+ insert into financial_transactions values(15, 4, 14, 'refund', '2018-02-27 14:58:30', 1979.66, 'null', 'null');
132
+
133
+ create table invoice_line_items (
134
+ order_item_id integer,
135
+ invoice_number integer,
136
+ product_id integer,
137
+ product_title text,
138
+ product_quantity text,
139
+ product_price real,
140
+ derived_product_cost real,
141
+ derived_vat_payable null,
142
+ derived_total_cost real
143
+ );
144
+ insert into invoice_line_items values(14, 9, 5, 'prod_name', 4, 742.37, 191.11, 'null', 69.82);
145
+ insert into invoice_line_items values(3, 9, 15, 'prod_name', 1, 814.87, 176.29, 'null', 59.56);
146
+ insert into invoice_line_items values(4, 10, 15, 'prod_name', 8, 943.07, 73.14, 'null', 59.93);
147
+ insert into invoice_line_items values(6, 15, 14, 'prod_name', 2, 749.6, 197.06, 'null', 82.77);
148
+ insert into invoice_line_items values(8, 11, 10, 'prod_name', 2, 942.99, 88.43, 'null', 86.56);
149
+ insert into invoice_line_items values(9, 11, 9, 'prod_name', 6, 486.69, 64.67, 'null', 83.4);
150
+ insert into invoice_line_items values(8, 14, 3, 'prod_name', 3, 995.34, 28.18, 'null', 58.24);
151
+ insert into invoice_line_items values(11, 1, 6, 'prod_name', 9, 429.05, 254.08, 'null', 79.48);
152
+ insert into invoice_line_items values(15, 9, 3, 'prod_name', 4, 727.41, 66, 'null', 53.53);
153
+ insert into invoice_line_items values(7, 9, 14, 'prod_name', 9, 559.95, 89.16, 'null', 45.66);
154
+ insert into invoice_line_items values(5, 7, 8, 'prod_name', 6, 787.61, 150.04, 'null', 51.27);
155
+ insert into invoice_line_items values(10, 10, 1, 'prod_name', 9, 781.46, 256.84, 'null', 71.22);
156
+ insert into invoice_line_items values(10, 14, 11, 'prod_name', 7, 884.4, 249.19, 'null', 78.26);
157
+ insert into invoice_line_items values(10, 5, 11, 'prod_name', 5, 556.36, 295.26, 'null', 61);
158
+ insert into invoice_line_items values(8, 12, 6, 'prod_name', 8, 597.28, 188.71, 'null', 98.77);
159
+ create table order_items_products (
160
+ order_item_id integer,
161
+ order_id integer,
162
+ product_id integer,
163
+ product_quantity text,
164
+ other_order_item_details null,
165
+ parent_product_id integer,
166
+ production_type_code text,
167
+ unit_price real,
168
+ product_name text,
169
+ product_color text,
170
+ product_size text);
171
+ insert into order_items_products values(1, 4, 4, '6', 'NULL', 8, 'electronics', 985.78, 'hard drive', 'black', 'small');
172
+ insert into order_items_products values(2, 4, 10, '7', 'NULL', 9, 'electronics', 937.85, 'tv', 'red', 'medium');
173
+ insert into order_items_products values(3, 15, 5, '4', 'NULL', 7, 'dvds', 682.06, 'arts', 'yellow', 'small');
174
+ insert into order_items_products values(4, 1, 3, '9', 'NULL', 8, 'electronics', 563.58, 'fans', 'black', 'medium');
175
+ insert into order_items_products values(5, 2, 14, '3', 'NULL', 1, 'dvds', 469.87, 'harry potter 3', 'yellow', 'small');
176
+ insert into order_items_products values(6, 13, 12, '8', 'NULL', 1, 'dvds', 729.09, 'harry potter 2', 'red', 'medium');
177
+ insert into order_items_products values(7, 1, 15, '3', 'NULL', 2, 'dvds', 82.96, 'harry potter 4', 'yellow', 'large');
178
+ insert into order_items_products values(8, 10, 4, '4', 'NULL', 8, 'electronics', 985.78, 'hard drive', 'black', 'small');
179
+ insert into order_items_products values(9, 14, 5, '1', 'NULL', 7, 'dvds', 682.06, 'arts', 'yellow', 'small');
180
+ insert into order_items_products values(10, 13, 9, '2', 'NULL', 8, 'food', 694.31, 'beer menus', 'black', 'small');
181
+ insert into order_items_products values(11, 15, 7, '5', 'NULL', 5, 'books', 409.83, 'learning english', 'red', 'large');
182
+ insert into order_items_products values(12, 4, 14, '4', 'NULL', 1, 'dvds', 469.87, 'harry potter 3', 'yellow', 'small');
183
+ insert into order_items_products values(13, 12, 13, '1', 'NULL', 6, 'food', 639.76, 'chocolate', 'yellow', 'small');
184
+ insert into order_items_products values(14, 13, 14, '2', 'NULL', 1, 'dvds', 469.87, 'harry potter 3', 'yellow', 'small');
185
+ insert into order_items_products values(15, 13, 14, '6', 'NULL', 1, 'dvds', 469.87, 'harry potter 3', 'yellow', 'small');
186
+ insert into order_items_products values('None', 'None', 1, 'None', 'None', 4, 'food', 617.95, 'coffee bean', 'red', 'medium');
187
+ insert into order_items_products values('None', 'None', 2, 'None', 'None', 4, 'books', 558.49, 'learning french', 'yellow', 'medium');
188
+ insert into order_items_products values('None', 'None', 6, 'None', 'None', 7, 'books', 469.71, 'art history', 'yellow', 'small');
189
+ insert into order_items_products values('None', 'None', 8, 'None', 'None', 1, 'books', 49.62, 'menus', 'black', 'small');
190
+ insert into order_items_products values('None', 'None', 11, 'None', 'None', 8, 'dvds', 52.88, 'harry potter 1', 'black', 'small');
191
+
all/databases/customers_and_invoices_minus_1_0/customers_and_invoices_minus_1_0.sqlite ADDED
Binary file (36.9 kB). View file
 
all/databases/debate_minus_1_0/debate_minus_1_0.sql ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ create table people (
2
+ people_id integer,
3
+ district text,
4
+ name text,
5
+ party text,
6
+ age integer
7
+ );
8
+ insert into people values(1, 'new york 1', 'luther c. carter', 'republican', 35);
9
+ insert into people values(2, 'new york 2', 'james humphrey', 'republican', 38);
10
+ insert into people values(3, 'new york 3', 'daniel sickles', 'democratic', 46);
11
+ insert into people values(4, 'new york 4', 'thomas j. barr', 'independent democrat', 48);
12
+ insert into people values(5, 'new york 5', 'william b. maclay', 'democratic', 36);
13
+ insert into people values(6, 'new york 6', 'john cochrane', 'democratic', 46);
14
+ insert into people values(7, 'new york 7', 'george briggs', 'republican', 42);
15
+ insert into people values(8, 'new york 8', 'horace f. clark', 'anti-lecompton democrat', 45);
16
+ insert into people values(9, 'new york 9', 'john b. haskin', 'anti-lecompton democrat', 43);
17
+ insert into people values(10, 'new york 10', 'charles van wyck', 'republican', 36);
18
+ create table debate_people_debate (
19
+ debate_id integer,
20
+ affirmative integer,
21
+ negative integer,
22
+ if_affirmative_win text,
23
+ date text,
24
+ venue text,
25
+ num_of_audience integer);
26
+ insert into debate_people_debate values(1, 1, 10, 'f', 'october 21 2011', 'manama bahrain', 342);
27
+ insert into debate_people_debate values(3, 4, 7, 'f', 'august 3 2015', 'manama bahrain', 90);
28
+ insert into debate_people_debate values(4, 5, 8, 't', 'october 27 2015', 'manama bahrain', 209);
29
+ insert into debate_people_debate values(5, 2, 8, 't', 'january 12 2017', 'dubai uae', 313);
30
+ insert into debate_people_debate values(6, 5, 6, 'f', 'january 21 2017', 'abu dhabi uae', 159);
31
+ insert into debate_people_debate values(2, 'None', 'None', 'None', 'december 17 2014', 'doha qatar', 134);
32
+
all/databases/debate_minus_1_0/debate_minus_1_0.sqlite ADDED
Binary file (12.3 kB). View file