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

[NEW]: Upload 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. testsets/aggregation_in_column/databases_aggregation_in_column/aircraft/aircraft.sql +88 -0
  2. testsets/aggregation_in_column/databases_aggregation_in_column/aircraft/aircraft.sqlite +0 -0
  3. testsets/aggregation_in_column/databases_aggregation_in_column/apartment_rentals/apartment_rentals.sql +159 -0
  4. testsets/aggregation_in_column/databases_aggregation_in_column/apartment_rentals/apartment_rentals.sqlite +0 -0
  5. testsets/aggregation_in_column/databases_aggregation_in_column/bike_1/bike_1.sql +434 -0
  6. testsets/aggregation_in_column/databases_aggregation_in_column/bike_1/bike_1.sqlite +0 -0
  7. testsets/aggregation_in_column/databases_aggregation_in_column/body_builder/body_builder.sql +32 -0
  8. testsets/aggregation_in_column/databases_aggregation_in_column/body_builder/body_builder.sqlite +0 -0
  9. testsets/aggregation_in_column/databases_aggregation_in_column/chinook_1/chinook_1.sql +825 -0
  10. testsets/aggregation_in_column/databases_aggregation_in_column/chinook_1/chinook_1.sqlite +0 -0
  11. testsets/aggregation_in_column/databases_aggregation_in_column/concert_singer/concert_singer.sql +70 -0
  12. testsets/aggregation_in_column/databases_aggregation_in_column/concert_singer/concert_singer.sqlite +0 -0
  13. testsets/aggregation_in_column/databases_aggregation_in_column/farm/farm.sql +73 -0
  14. testsets/aggregation_in_column/databases_aggregation_in_column/farm/farm.sqlite +0 -0
  15. testsets/aggregation_in_column/databases_aggregation_in_column/game_injury/game_injury.sql +82 -0
  16. testsets/aggregation_in_column/databases_aggregation_in_column/game_injury/game_injury.sqlite +0 -0
  17. testsets/aggregation_in_column/databases_aggregation_in_column/gymnast/gymnast.sql +40 -0
  18. testsets/aggregation_in_column/databases_aggregation_in_column/gymnast/gymnast.sqlite +0 -0
  19. testsets/aggregation_in_column/databases_aggregation_in_column/mountain_photos/mountain_photos.sql +74 -0
  20. testsets/aggregation_in_column/databases_aggregation_in_column/mountain_photos/mountain_photos.sqlite +0 -0
  21. testsets/aggregation_in_column/databases_aggregation_in_column/museum_visit/museum_visit.sql +46 -0
  22. testsets/aggregation_in_column/databases_aggregation_in_column/museum_visit/museum_visit.sqlite +0 -0
  23. testsets/aggregation_in_column/databases_aggregation_in_column/products_for_hire/products_for_hire.sql +156 -0
  24. testsets/aggregation_in_column/databases_aggregation_in_column/products_for_hire/products_for_hire.sqlite +0 -0
  25. testsets/aggregation_in_column/databases_aggregation_in_column/school_finance/school_finance.sql +60 -0
  26. testsets/aggregation_in_column/databases_aggregation_in_column/school_finance/school_finance.sqlite +0 -0
  27. testsets/aggregation_in_column/databases_aggregation_in_column/sports_competition/sports_competition.sql +92 -0
  28. testsets/aggregation_in_column/databases_aggregation_in_column/sports_competition/sports_competition.sqlite +0 -0
  29. testsets/aggregation_in_column/databases_aggregation_in_column/store_product/store_product.sql +90 -0
  30. testsets/aggregation_in_column/databases_aggregation_in_column/store_product/store_product.sqlite +0 -0
  31. testsets/aggregation_in_column/databases_aggregation_in_column/storm_record/storm_record.sql +55 -0
  32. testsets/aggregation_in_column/databases_aggregation_in_column/storm_record/storm_record.sqlite +0 -0
  33. testsets/aggregation_in_column/databases_aggregation_in_column/tracking_share_transactions/tracking_share_transactions.sql +147 -0
  34. testsets/aggregation_in_column/databases_aggregation_in_column/tracking_share_transactions/tracking_share_transactions.sqlite +0 -0
  35. testsets/aggregation_in_column/databases_aggregation_in_column/train_station/train_station.sql +62 -0
  36. testsets/aggregation_in_column/databases_aggregation_in_column/train_station/train_station.sqlite +0 -0
  37. testsets/aggregation_in_column/markup_aggregation_in_column.csv +95 -0
  38. testsets/aggregation_in_column/simplyset_aggregation_in_column.json +0 -0
  39. testsets/aggregation_in_column/tables_aggregation_in_column.json +1 -0
  40. testsets/aggregation_in_column/testset_aggregation_in_column.json +0 -0
  41. testsets/aggregation_mono/.DS_Store +0 -0
  42. testsets/aggregation_mono/databases_aggregation_mono/.DS_Store +0 -0
  43. testsets/aggregation_mono/databases_aggregation_mono/bike_1/bike_1.sql +434 -0
  44. testsets/aggregation_mono/databases_aggregation_mono/bike_1/bike_1.sqlite +0 -0
  45. testsets/aggregation_mono/databases_aggregation_mono/candidate_poll/candidate_poll.sql +39 -0
  46. testsets/aggregation_mono/databases_aggregation_mono/candidate_poll/candidate_poll.sqlite +0 -0
  47. testsets/aggregation_mono/databases_aggregation_mono/coffee_shop/coffee_shop.sql +73 -0
  48. testsets/aggregation_mono/databases_aggregation_mono/coffee_shop/coffee_shop.sqlite +0 -0
  49. testsets/aggregation_mono/databases_aggregation_mono/college_2/college_2.sql +912 -0
  50. testsets/aggregation_mono/databases_aggregation_mono/college_2/college_2.sqlite +0 -0
testsets/aggregation_in_column/databases_aggregation_in_column/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;
testsets/aggregation_in_column/databases_aggregation_in_column/aircraft/aircraft.sqlite ADDED
Binary file (24.6 kB). View file
 
testsets/aggregation_in_column/databases_aggregation_in_column/apartment_rentals/apartment_rentals.sql ADDED
@@ -0,0 +1,159 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CREATE TABLE "apartment_buildings" (
2
+ "building_id" integer,
3
+ "building_short_name" text,
4
+ "building_full_name" text,
5
+ "building_description" text,
6
+ "building_address" text,
7
+ "building_manager" text,
8
+ "building_phone" text
9
+ );
10
+
11
+ INSERT INTO apartment_buildings VALUES (133, "normandie court", "normandie court", "studio", "7950 casper vista apt. 176
12
+ marquiseberg ca 70496", "emma", "948040-1064x387");
13
+ INSERT INTO apartment_buildings VALUES (153, "mercedes house", "mercedes house", "studio", "354 otto villages
14
+ charliefort vt 71664", "brenden", "915-617-2408x832");
15
+ INSERT INTO apartment_buildings VALUES (191, "the eugene", "the eugene", "flat", "71537 gorczany inlet
16
+ wisozkburgh al 08256", "melyssa", "609946-0491");
17
+ INSERT INTO apartment_buildings VALUES (196, "via 57 west", "via 57 west", "studio", "959 ethel viaduct
18
+ west efrainburgh de 40074", "kathlyn", "681.772.2454");
19
+ INSERT INTO apartment_buildings VALUES (225, "columbus square", "columbus square", "studio", "0703 danika mountains apt. 362
20
+ mohrland al 56839-5028", "kyle", "1-724-982-9507x640");
21
+ INSERT INTO apartment_buildings VALUES (532, "avalon park", "avalon park", "duplex", "6827 kessler parkway suite 908
22
+ ahmedberg wi 48788", "albert", "376-017-3538");
23
+ INSERT INTO apartment_buildings VALUES (556, "peter cooper village", "peter cooper village", "flat", "861 narciso glens suite 392
24
+ east ottis nd 73970", "darlene", "1-224-619-0295x13195");
25
+ INSERT INTO apartment_buildings VALUES (624, "stuyvesant town", "stuyvesant town", "studio", "101 queenie mountains suite 619
26
+ new korbinmouth ks 88726-1376", "marie", "145411-6406");
27
+ INSERT INTO apartment_buildings VALUES (644, "the anthem", "the anthem", "flat", "50804 mason isle suite 844
28
+ west whitney id 66511", "ewald", "909086-5221x3455");
29
+ INSERT INTO apartment_buildings VALUES (673, "barclay tower", "barclay tower", "flat", "1579 runte forges apt. 548
30
+ leuschkeland ok 12009-8683", "rogers", "1-326-267-3386x613");
31
+ INSERT INTO apartment_buildings VALUES (734, "windsor court", "windsor court", "studio", "601 graham roads
32
+ port luz va 29660-6703", "olaf", "480480-7401");
33
+ INSERT INTO apartment_buildings VALUES (744, "silver towers", "silver towers", "flat", "1844 armstrong stravenue suite 853
34
+ myrnatown ct 13528", "claude", "1-667-728-2287x3158");
35
+ INSERT INTO apartment_buildings VALUES (790, "biltmore plaza", "biltmore plaza", "duplex", "489 josh orchard apt. 998
36
+ sipesview de 69053", "sydni", "544-148-5565x2847");
37
+ INSERT INTO apartment_buildings VALUES (808, "petersfield", "petersfield", "studio", "54686 christopher circles apt. 321
38
+ daytonland id 88081-3991", "juvenal", "318-398-8140");
39
+ INSERT INTO apartment_buildings VALUES (968, "the clinton", "the clinton", "flat", "012 arnoldo mountain
40
+ gerholdland id 23342", "holly", "1-605-511-1973x25011");
41
+
42
+ CREATE TABLE "apartments" (
43
+ "apt_id" integer,
44
+ "building_id" integer,
45
+ "apt_type_code" text,
46
+ "apt_number" text,
47
+ "bathroom_count" integer,
48
+ "bedroom_count" integer,
49
+ "room_count" text
50
+ );
51
+
52
+ INSERT INTO apartments VALUES (1, 808, "flat", "suite 645", 1, 3, "7");
53
+ INSERT INTO apartments VALUES (2, 624, "flat", "apt. 585", 2, 4, "5");
54
+ INSERT INTO apartments VALUES (3, 225, "studio", "apt. 908", 1, 6, "7");
55
+ INSERT INTO apartments VALUES (4, 225, "duplex", "suite 749", 1, 5, "8");
56
+ INSERT INTO apartments VALUES (5, 744, "flat", "suite 307", 2, 4, "9");
57
+ INSERT INTO apartments VALUES (6, 191, "studio", "apt. 187", 3, 5, "9");
58
+ INSERT INTO apartments VALUES (7, 790, "studio", "suite 088", 2, 4, "6");
59
+ INSERT INTO apartments VALUES (8, 153, "flat", "suite 693", 2, 3, "9");
60
+ INSERT INTO apartments VALUES (9, 624, "studio", "apt. 940", 1, 4, "8");
61
+ INSERT INTO apartments VALUES (10, 225, "duplex", "apt. 859", 2, 3, "6");
62
+ INSERT INTO apartments VALUES (11, 734, "flat", "apt. 794", 1, 5, "3");
63
+ INSERT INTO apartments VALUES (12, 673, "duplex", "apt. 477", 2, 6, "3");
64
+ INSERT INTO apartments VALUES (13, 744, "duplex", "apt. 411", 2, 5, "9");
65
+ INSERT INTO apartments VALUES (14, 225, "flat", "apt. 837", 2, 4, "8");
66
+ INSERT INTO apartments VALUES (15, 790, "duplex", "suite 634", 3, 6, "8");
67
+
68
+ CREATE TABLE "apartment_facilities" (
69
+ "apt_id" integer,
70
+ "facility_code" text
71
+ );
72
+
73
+ INSERT INTO apartment_facilities VALUES (1, "boardband");
74
+ INSERT INTO apartment_facilities VALUES (2, "boardband");
75
+ INSERT INTO apartment_facilities VALUES (3, "gym");
76
+ INSERT INTO apartment_facilities VALUES (5, "swimming pool");
77
+ INSERT INTO apartment_facilities VALUES (6, "cable tv");
78
+ INSERT INTO apartment_facilities VALUES (9, "boardband");
79
+ INSERT INTO apartment_facilities VALUES (15, "gym");
80
+
81
+ CREATE TABLE "guests" (
82
+ "guest_id" integer,
83
+ "gender_code" text,
84
+ "guest_first_name" text,
85
+ "guest_last_name" text,
86
+ "date_of_birth" text
87
+ );
88
+
89
+ INSERT INTO guests VALUES (1, "male", "kip", "dubuque", "1995-11-04 07:09:57");
90
+ INSERT INTO guests VALUES (2, "unknown", "rebeca", "runolfsdottir", "1974-05-12 21:53:58");
91
+ INSERT INTO guests VALUES (3, "female", "keon", "treutel", "1974-08-20 09:28:05");
92
+ INSERT INTO guests VALUES (4, "female", "gabe", "bode", "2007-09-11 19:01:39");
93
+ INSERT INTO guests VALUES (5, "female", "lou", "grady", "1997-01-15 17:37:40");
94
+ INSERT INTO guests VALUES (6, "unknown", "josefina", "jerde", "1978-03-08 04:43:04");
95
+ INSERT INTO guests VALUES (7, "female", "mozell", "toy", "1997-01-20 17:11:31");
96
+ INSERT INTO guests VALUES (8, "unknown", "keith", "hoeger", "2001-06-18 20:05:55");
97
+ INSERT INTO guests VALUES (9, "female", "crystal", "runolfsson", "1971-01-04 04:22:58");
98
+ INSERT INTO guests VALUES (10, "female", "nikki", "lehner", "1980-06-20 18:15:39");
99
+ INSERT INTO guests VALUES (11, "male", "gregoria", "schowalter", "2015-02-03 23:34:13");
100
+ INSERT INTO guests VALUES (12, "male", "louvenia", "crona", "1983-08-26 15:45:08");
101
+ INSERT INTO guests VALUES (13, "female", "else", "roberts", "1971-11-02 01:51:56");
102
+ INSERT INTO guests VALUES (14, "female", "juvenal", "kautzer", "2003-07-29 22:08:15");
103
+ INSERT INTO guests VALUES (15, "female", "tamia", "mante", "2013-02-22 11:26:22");
104
+
105
+ CREATE TABLE "apartment_bookings" (
106
+ "apt_booking_id" integer,
107
+ "apt_id" integer,
108
+ "guest_id" integer,
109
+ "booking_status_code" text,
110
+ "booking_start_date" text,
111
+ "booking_end_date" text
112
+ );
113
+
114
+ INSERT INTO apartment_bookings VALUES (258, 10, 2, "provisional", "2016-09-26 17:13:49", "2017-10-07 11:38:48");
115
+ INSERT INTO apartment_bookings VALUES (279, 15, 15, "provisional", "2016-04-01 06:28:08", "2017-10-25 11:08:42");
116
+ INSERT INTO apartment_bookings VALUES (337, 8, 5, "provisional", "2017-03-13 16:20:14", "2018-02-19 16:59:08");
117
+ INSERT INTO apartment_bookings VALUES (343, 4, 13, "confirmed", "2016-08-04 10:33:00", "2017-09-29 12:43:50");
118
+ INSERT INTO apartment_bookings VALUES (365, 9, 12, "confirmed", "2017-02-11 14:34:14", "2017-10-07 20:47:19");
119
+ INSERT INTO apartment_bookings VALUES (401, 7, 14, "provisional", "2016-05-24 20:09:38", "2017-10-03 01:56:21");
120
+ INSERT INTO apartment_bookings VALUES (497, 10, 8, "confirmed", "2016-07-25 02:57:04", "2017-09-28 11:08:15");
121
+ INSERT INTO apartment_bookings VALUES (526, 8, 7, "confirmed", "2016-11-26 05:04:31", "2018-02-25 15:15:37");
122
+ INSERT INTO apartment_bookings VALUES (575, 6, 3, "provisional", "2017-05-13 18:17:20", "2017-10-06 11:15:58");
123
+ INSERT INTO apartment_bookings VALUES (577, 12, 2, "provisional", "2017-03-04 02:23:49", "2018-02-06 16:57:05");
124
+ INSERT INTO apartment_bookings VALUES (623, 4, 5, "provisional", "2016-06-07 05:05:18", "2017-11-13 13:59:45");
125
+ INSERT INTO apartment_bookings VALUES (807, 11, 2, "provisional", "2016-04-17 12:53:59", "2018-03-20 17:32:58");
126
+ INSERT INTO apartment_bookings VALUES (889, 10, 4, "confirmed", "2016-09-28 05:00:50", "2017-09-30 18:41:04");
127
+ INSERT INTO apartment_bookings VALUES (920, 2, 2, "confirmed", "2017-04-07 04:53:27", "2017-11-29 12:59:42");
128
+ INSERT INTO apartment_bookings VALUES (924, 8, 3, "confirmed", "2017-07-03 14:15:56", "2017-11-12 01:05:09");
129
+
130
+ CREATE TABLE "view_unit_status" (
131
+ "apt_id" integer,
132
+ "apt_booking_id" integer,
133
+ "status_date" text,
134
+ "available_yn" integer
135
+ );
136
+
137
+ INSERT INTO view_unit_status VALUES (11, 920, "1970-09-28 10:24:29", 1);
138
+ INSERT INTO view_unit_status VALUES (15, 575, "1972-03-23 22:55:53", 1);
139
+ INSERT INTO view_unit_status VALUES (15, 924, "1973-10-28 04:30:14", 1);
140
+ INSERT INTO view_unit_status VALUES (6, 497, "1976-12-18 04:03:51", 1);
141
+ INSERT INTO view_unit_status VALUES (12, 807, "1977-04-15 13:42:19", 1);
142
+ INSERT INTO view_unit_status VALUES (13, 575, "1978-12-28 11:53:34", 1);
143
+ INSERT INTO view_unit_status VALUES (2, 497, "1980-11-12 13:34:45", 1);
144
+ INSERT INTO view_unit_status VALUES (14, 401, "1985-11-05 11:46:35", 0);
145
+ INSERT INTO view_unit_status VALUES (11, 497, "1990-11-04 17:57:50", 1);
146
+ INSERT INTO view_unit_status VALUES (13, 337, "2000-02-04 07:50:09", 0);
147
+ INSERT INTO view_unit_status VALUES (14, 279, "2001-02-17 20:17:09", 1);
148
+ INSERT INTO view_unit_status VALUES (5, 337, "2003-07-25 10:13:48", 1);
149
+ INSERT INTO view_unit_status VALUES (1, 497, "2003-08-02 08:36:36", 1);
150
+ INSERT INTO view_unit_status VALUES (10, 497, "2006-02-23 05:50:04", 1);
151
+ INSERT INTO view_unit_status VALUES (6, 401, "2011-02-12 09:04:07", 1);
152
+ INSERT INTO view_unit_status VALUES (9, 623, "2011-11-06 22:08:42", 1);
153
+ INSERT INTO view_unit_status VALUES (14, 920, "2012-11-24 13:39:37", 0);
154
+ INSERT INTO view_unit_status VALUES (4, 258, "2014-12-10 13:53:21", 1);
155
+ INSERT INTO view_unit_status VALUES (13, 343, "2015-06-19 07:59:01", 1);
156
+ INSERT INTO view_unit_status VALUES (5, 889, "2015-07-15 11:06:29", 1);
157
+
158
+
159
+ COMMIT;
testsets/aggregation_in_column/databases_aggregation_in_column/apartment_rentals/apartment_rentals.sqlite ADDED
Binary file (28.7 kB). View file
 
testsets/aggregation_in_column/databases_aggregation_in_column/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;
testsets/aggregation_in_column/databases_aggregation_in_column/bike_1/bike_1.sqlite ADDED
Binary file (53.2 kB). View file
 
testsets/aggregation_in_column/databases_aggregation_in_column/body_builder/body_builder.sql ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CREATE TABLE "body_builder" (
2
+ "body_builder_id" integer,
3
+ "people_id" integer,
4
+ "snatch" real,
5
+ "clean_jerk" real,
6
+ "total" real
7
+ );
8
+
9
+ INSERT INTO body_builder VALUES (1, 1, 142.5, 175.0, 317.5);
10
+ INSERT INTO body_builder VALUES (2, 2, 137.5, 177.5, 315.0);
11
+ INSERT INTO body_builder VALUES (3, 3, 140.0, 175.0, 315.0);
12
+ INSERT INTO body_builder VALUES (4, 5, 137.5, 175.0, 312.5);
13
+ INSERT INTO body_builder VALUES (5, 6, 130.0, 162.5, 292.5);
14
+
15
+ CREATE TABLE "people" (
16
+ "people_id" integer,
17
+ "name" text,
18
+ "height" real,
19
+ "weight" real,
20
+ "birth_date" text,
21
+ "birth_place" text
22
+ );
23
+
24
+ INSERT INTO people VALUES (1, "jack campbell", 182.0, 80.0, "january 1 1992", "port huron michigan");
25
+ INSERT INTO people VALUES (2, "ty conklin", 192.0, 90.0, "march 30 1976", "anchorage alaska");
26
+ INSERT INTO people VALUES (3, "al montoya", 195.0, 100.0, "february 13 1985", "glenview illinois");
27
+ INSERT INTO people VALUES (4, "mark fayne", 215.0, 102.0, "may 5 1987", "nashua new hampshire");
28
+ INSERT INTO people VALUES (5, "cam fowler", 196.0, 89.0, "december 5 1991", "farmington hills michigan");
29
+ INSERT INTO people VALUES (6, "jake gardiner", 205.0, 92.0, "july 4 1990", "minnetonka minnesota");
30
+
31
+
32
+ COMMIT;
testsets/aggregation_in_column/databases_aggregation_in_column/body_builder/body_builder.sqlite ADDED
Binary file (12.3 kB). View file
 
testsets/aggregation_in_column/databases_aggregation_in_column/chinook_1/chinook_1.sql ADDED
@@ -0,0 +1,825 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CREATE TABLE "album" (
2
+ "albumid" integer,
3
+ "title" text,
4
+ "artistid" integer
5
+ );
6
+
7
+ INSERT INTO album VALUES (1, "for those about to rock we salute you", 1);
8
+ INSERT INTO album VALUES (4, "balls to the wall", 1);
9
+ INSERT INTO album VALUES (2, "restless and wild", 2);
10
+ INSERT INTO album VALUES (3, "let there be rock", 2);
11
+ INSERT INTO album VALUES (5, "big ones", 3);
12
+ INSERT INTO album VALUES (6, "jagged little pill", 4);
13
+ INSERT INTO album VALUES (7, "facelift", 5);
14
+ INSERT INTO album VALUES (8, "warner 25 anos", 6);
15
+ INSERT INTO album VALUES (34, "plays metallica by four cellos", 6);
16
+ INSERT INTO album VALUES (9, "audioslave", 7);
17
+ INSERT INTO album VALUES (10, "out of exile", 8);
18
+ INSERT INTO album VALUES (11, "backbeat soundtrack", 8);
19
+ INSERT INTO album VALUES (271, "the best of billy cobham", 8);
20
+ INSERT INTO album VALUES (12, "alcohol fueled brewtality live! [disc 1]", 9);
21
+ INSERT INTO album VALUES (13, "alcohol fueled brewtality live! [disc 2]", 10);
22
+ INSERT INTO album VALUES (14, "black sabbath", 11);
23
+ INSERT INTO album VALUES (15, "black sabbath vol. 4 remaster", 11);
24
+ INSERT INTO album VALUES (16, "body count", 12);
25
+ INSERT INTO album VALUES (17, "chemical wedding", 12);
26
+ INSERT INTO album VALUES (18, "the best of buddy guy - the millenium collection", 13);
27
+ INSERT INTO album VALUES (19, "prenda minha", 14);
28
+ INSERT INTO album VALUES (20, "sozinho remix ao vivo", 15);
29
+ INSERT INTO album VALUES (21, "minha historia", 16);
30
+ INSERT INTO album VALUES (22, "afrociberdelia", 16);
31
+ INSERT INTO album VALUES (23, "da lama ao caos", 17);
32
+ INSERT INTO album VALUES (24, "acústico mtv [live]", 18);
33
+ INSERT INTO album VALUES (25, "cidade negra - hits", 18);
34
+ INSERT INTO album VALUES (26, "na pista", 19);
35
+ INSERT INTO album VALUES (27, "axé bahia 2001", 19);
36
+ INSERT INTO album VALUES (28, "bbc sessions [disc 1] [live]", 20);
37
+ INSERT INTO album VALUES (29, "bongo fury", 21);
38
+ INSERT INTO album VALUES (32, "carnaval 2001", 21);
39
+ INSERT INTO album VALUES (45, "chill: brazil disc 1", 21);
40
+ INSERT INTO album VALUES (53, "chill: brazil disc 2", 21);
41
+ INSERT INTO album VALUES (30, "garage inc. disc 1", 22);
42
+ INSERT INTO album VALUES (44, "greatest hits ii", 22);
43
+ INSERT INTO album VALUES (127, "greatest kiss", 22);
44
+ INSERT INTO album VALUES (128, "heart of the night", 22);
45
+ INSERT INTO album VALUES (129, "international superhits", 22);
46
+ INSERT INTO album VALUES (130, "into the light", 22);
47
+ INSERT INTO album VALUES (131, "meus momentos", 22);
48
+ INSERT INTO album VALUES (132, "minha história", 22);
49
+ INSERT INTO album VALUES (133, "mk iii the final concerts [disc 1]", 22);
50
+ INSERT INTO album VALUES (134, "physical graffiti [disc 1]", 22);
51
+ INSERT INTO album VALUES (135, "sambas de enredo 2001", 22);
52
+ INSERT INTO album VALUES (136, "supernatural", 22);
53
+ INSERT INTO album VALUES (137, "the best of ed motta", 22);
54
+ INSERT INTO album VALUES (138, "the essential miles davis [disc 1]", 22);
55
+ INSERT INTO album VALUES (31, "the essential miles davis [disc 2]", 23);
56
+ INSERT INTO album VALUES (33, "the final concerts disc 2", 24);
57
+ INSERT INTO album VALUES (85, "up an atom", 27);
58
+ INSERT INTO album VALUES (86, "vinícius de moraes - sem limite", 27);
59
+ INSERT INTO album VALUES (87, "vozes do mpb", 27);
60
+ INSERT INTO album VALUES (259, "chronicle vol. 1", 36);
61
+ INSERT INTO album VALUES (47, "chronicle vol. 2", 37);
62
+ INSERT INTO album VALUES (71, "cássia eller - coleção sem limite [disc 2]", 41);
63
+ INSERT INTO album VALUES (158, "cássia eller - sem limite [disc 1]", 42);
64
+ INSERT INTO album VALUES (159, "come taste the band", 42);
65
+ INSERT INTO album VALUES (122, "deep purple in rock", 46);
66
+ INSERT INTO album VALUES (35, "fireball", 50);
67
+ INSERT INTO album VALUES (148, "knocking at your back door: the best of deep purple in the 80s", 50);
68
+ INSERT INTO album VALUES (149, "machine head", 50);
69
+ INSERT INTO album VALUES (150, "purpendicular", 50);
70
+ INSERT INTO album VALUES (151, "slaves and masters", 50);
71
+ INSERT INTO album VALUES (152, "stormbringer", 50);
72
+ INSERT INTO album VALUES (153, "the battle rages on", 50);
73
+ INSERT INTO album VALUES (154, "vault: def leppards greatest hits", 50);
74
+ INSERT INTO album VALUES (155, "outbreak", 50);
75
+ INSERT INTO album VALUES (156, "djavan ao vivo - vol. 02", 50);
76
+ INSERT INTO album VALUES (36, "djavan ao vivo - vol. 1", 51);
77
+ INSERT INTO album VALUES (185, "elis regina-minha história", 51);
78
+ INSERT INTO album VALUES (186, "the cream of clapton", 51);
79
+ INSERT INTO album VALUES (37, "unplugged", 52);
80
+ INSERT INTO album VALUES (126, "album of the year", 52);
81
+ INSERT INTO album VALUES (38, "angel dust", 53);
82
+ INSERT INTO album VALUES (204, "king for a day fool for a lifetime", 53);
83
+ INSERT INTO album VALUES (39, "the real thing", 54);
84
+ INSERT INTO album VALUES (89, "deixa entrar", 54);
85
+ INSERT INTO album VALUES (40, "in your honor [disc 1]", 55);
86
+ INSERT INTO album VALUES (41, "in your honor [disc 2]", 56);
87
+ INSERT INTO album VALUES (42, "one by one", 57);
88
+ INSERT INTO album VALUES (43, "the colour and the shape", 58);
89
+ INSERT INTO album VALUES (50, "my way: the best of frank sinatra [disc 1]", 58);
90
+ INSERT INTO album VALUES (58, "roda de funk", 58);
91
+ INSERT INTO album VALUES (59, "as canções de eu tu eles", 58);
92
+ INSERT INTO album VALUES (60, "quanta gente veio ver live", 58);
93
+ INSERT INTO album VALUES (61, "quanta gente veio ver--bônus de carnaval", 58);
94
+ INSERT INTO album VALUES (62, "faceless", 58);
95
+ INSERT INTO album VALUES (63, "american idiot", 58);
96
+ INSERT INTO album VALUES (64, "appetite for destruction", 58);
97
+ INSERT INTO album VALUES (65, "use your illusion i", 58);
98
+ INSERT INTO album VALUES (66, "use your illusion ii", 58);
99
+ INSERT INTO album VALUES (46, "blue moods", 59);
100
+ INSERT INTO album VALUES (197, "a matter of life and death", 59);
101
+ INSERT INTO album VALUES (198, "a real dead one", 59);
102
+ INSERT INTO album VALUES (48, "a real live one", 68);
103
+ INSERT INTO album VALUES (49, "brave new world", 68);
104
+ INSERT INTO album VALUES (157, "dance of death", 68);
105
+ INSERT INTO album VALUES (51, "fear of the dark", 69);
106
+ INSERT INTO album VALUES (52, "iron maiden", 70);
107
+
108
+ CREATE TABLE "artist" (
109
+ "artistid" integer,
110
+ "name" text
111
+ );
112
+
113
+ INSERT INTO artist VALUES (1, "ac/dc");
114
+ INSERT INTO artist VALUES (2, "accept");
115
+ INSERT INTO artist VALUES (3, "aerosmith");
116
+ INSERT INTO artist VALUES (4, "alanis morissette");
117
+ INSERT INTO artist VALUES (5, "alice in chains");
118
+ INSERT INTO artist VALUES (6, "antônio carlos jobim");
119
+ INSERT INTO artist VALUES (7, "apocalyptica");
120
+ INSERT INTO artist VALUES (8, "audioslave");
121
+ INSERT INTO artist VALUES (9, "backbeat");
122
+ INSERT INTO artist VALUES (10, "billy cobham");
123
+ INSERT INTO artist VALUES (11, "black label society");
124
+ INSERT INTO artist VALUES (12, "black sabbath");
125
+ INSERT INTO artist VALUES (13, "body count");
126
+ INSERT INTO artist VALUES (14, "bruce dickinson");
127
+ INSERT INTO artist VALUES (15, "buddy guy");
128
+ INSERT INTO artist VALUES (16, "caetano veloso");
129
+ INSERT INTO artist VALUES (17, "chico buarque");
130
+ INSERT INTO artist VALUES (18, "chico science & nação zumbi");
131
+ INSERT INTO artist VALUES (19, "cidade negra");
132
+ INSERT INTO artist VALUES (20, "cláudio zoli");
133
+ INSERT INTO artist VALUES (21, "various artists");
134
+ INSERT INTO artist VALUES (22, "led zeppelin");
135
+ INSERT INTO artist VALUES (23, "frank zappa & captain beefheart");
136
+ INSERT INTO artist VALUES (24, "marcos valle");
137
+ INSERT INTO artist VALUES (25, "milton nascimento & bebeto");
138
+ INSERT INTO artist VALUES (26, "azymuth");
139
+ INSERT INTO artist VALUES (27, "gilberto gil");
140
+ INSERT INTO artist VALUES (28, "joão gilberto");
141
+ INSERT INTO artist VALUES (29, "bebel gilberto");
142
+ INSERT INTO artist VALUES (30, "jorge vercilo");
143
+ INSERT INTO artist VALUES (31, "baby consuelo");
144
+ INSERT INTO artist VALUES (32, "ney matogrosso");
145
+ INSERT INTO artist VALUES (33, "luiz melodia");
146
+ INSERT INTO artist VALUES (34, "nando reis");
147
+ INSERT INTO artist VALUES (35, "pedro luís & a parede");
148
+ INSERT INTO artist VALUES (36, "o rappa");
149
+ INSERT INTO artist VALUES (37, "ed motta");
150
+ INSERT INTO artist VALUES (38, "banda black rio");
151
+ INSERT INTO artist VALUES (39, "fernanda porto");
152
+ INSERT INTO artist VALUES (40, "os cariocas");
153
+ INSERT INTO artist VALUES (41, "elis regina");
154
+ INSERT INTO artist VALUES (42, "milton nascimento");
155
+ INSERT INTO artist VALUES (43, "a cor do som");
156
+ INSERT INTO artist VALUES (44, "kid abelha");
157
+ INSERT INTO artist VALUES (45, "sandra de sá");
158
+ INSERT INTO artist VALUES (46, "jorge ben");
159
+ INSERT INTO artist VALUES (47, "hermeto pascoal");
160
+ INSERT INTO artist VALUES (48, "barão vermelho");
161
+ INSERT INTO artist VALUES (49, "edson dj marky & dj patife featuring fernanda porto");
162
+ INSERT INTO artist VALUES (50, "metallica");
163
+ INSERT INTO artist VALUES (51, "queen");
164
+ INSERT INTO artist VALUES (52, "kiss");
165
+ INSERT INTO artist VALUES (53, "spyro gyra");
166
+ INSERT INTO artist VALUES (54, "green day");
167
+ INSERT INTO artist VALUES (55, "david coverdale");
168
+ INSERT INTO artist VALUES (56, "gonzaguinha");
169
+ INSERT INTO artist VALUES (57, "os mutantes");
170
+ INSERT INTO artist VALUES (58, "deep purple");
171
+ INSERT INTO artist VALUES (59, "santana");
172
+ INSERT INTO artist VALUES (60, "santana feat. dave matthews");
173
+ INSERT INTO artist VALUES (61, "santana feat. everlast");
174
+ INSERT INTO artist VALUES (62, "santana feat. rob thomas");
175
+ INSERT INTO artist VALUES (63, "santana feat. lauryn hill & cee-lo");
176
+ INSERT INTO artist VALUES (64, "santana feat. the project g&b");
177
+ INSERT INTO artist VALUES (65, "santana feat. maná");
178
+ INSERT INTO artist VALUES (66, "santana feat. eagle-eye cherry");
179
+ INSERT INTO artist VALUES (67, "santana feat. eric clapton");
180
+ INSERT INTO artist VALUES (68, "miles davis");
181
+ INSERT INTO artist VALUES (69, "gene krupa");
182
+ INSERT INTO artist VALUES (70, "toquinho & vinícius");
183
+ INSERT INTO artist VALUES (71, "vinícius de moraes & baden powell");
184
+ INSERT INTO artist VALUES (72, "vinícius de moraes");
185
+ INSERT INTO artist VALUES (73, "vinícius e qurteto em cy");
186
+ INSERT INTO artist VALUES (74, "vinícius e odette lara");
187
+ INSERT INTO artist VALUES (75, "vinicius toquinho & quarteto em cy");
188
+ INSERT INTO artist VALUES (76, "creedence clearwater revival");
189
+ INSERT INTO artist VALUES (77, "cássia eller");
190
+ INSERT INTO artist VALUES (78, "def leppard");
191
+ INSERT INTO artist VALUES (79, "dennis chambers");
192
+ INSERT INTO artist VALUES (80, "djavan");
193
+ INSERT INTO artist VALUES (81, "eric clapton");
194
+ INSERT INTO artist VALUES (82, "faith no more");
195
+ INSERT INTO artist VALUES (83, "falamansa");
196
+ INSERT INTO artist VALUES (84, "foo fighters");
197
+ INSERT INTO artist VALUES (85, "frank sinatra");
198
+ INSERT INTO artist VALUES (86, "funk como le gusta");
199
+ INSERT INTO artist VALUES (87, "godsmack");
200
+ INSERT INTO artist VALUES (88, "guns n roses");
201
+ INSERT INTO artist VALUES (89, "incognito");
202
+ INSERT INTO artist VALUES (90, "iron maiden");
203
+ INSERT INTO artist VALUES (91, "james brown");
204
+ INSERT INTO artist VALUES (92, "jamiroquai");
205
+ INSERT INTO artist VALUES (93, "jet");
206
+ INSERT INTO artist VALUES (94, "jimi hendrix");
207
+ INSERT INTO artist VALUES (95, "joe satriani");
208
+ INSERT INTO artist VALUES (96, "jota quest");
209
+ INSERT INTO artist VALUES (97, "joão suplicy");
210
+ INSERT INTO artist VALUES (98, "judas priest");
211
+ INSERT INTO artist VALUES (99, "legião urbana");
212
+ INSERT INTO artist VALUES (100, "lenny kravitz");
213
+
214
+ CREATE TABLE "customer" (
215
+ "customerid" integer,
216
+ "firstname" text,
217
+ "lastname" text,
218
+ "company" text,
219
+ "address" text,
220
+ "city" text,
221
+ "state" text,
222
+ "country" text,
223
+ "postalcode" text,
224
+ "phone" text,
225
+ "fax" text,
226
+ "email" text,
227
+ "supportrepid" integer
228
+ );
229
+
230
+ INSERT INTO customer VALUES (1, "luís", "gonçalves", "embraer - empresa brasileira de aeronáutica s.a.", "av. brigadeiro faria lima 2170", "são josé dos campos", "sp", "brazil", "12227-000", "+55 12 3923-5555", "+55 12 3923-5566", "[email protected]", 3);
231
+ INSERT INTO customer VALUES (3, "leonie", "köhler", "NULL", "theodor-heuss-straße 34", "stuttgart", "NULL", "germany", "70174", "+49 0711 2842222", "NULL", "[email protected]", 3);
232
+ INSERT INTO customer VALUES (12, "françois", "tremblay", "NULL", "1498 rue bélanger", "montréal", "qc", "canada", "h2g 1a7", "+1 514 721-4711", "NULL", "[email protected]", 3);
233
+ INSERT INTO customer VALUES (15, "bjørn", "hansen", "NULL", "ullevålsveien 14", "oslo", "NULL", "norway", "0171", "+47 22 44 22 22", "NULL", "[email protected]", 3);
234
+ INSERT INTO customer VALUES (18, "františek", "wichterlová", "jetbrains s.r.o.", "klanova 9/506", "prague", "NULL", "czech republic", "14700", "+420 2 4172 5555", "+420 2 4172 5555", "[email protected]", 3);
235
+ INSERT INTO customer VALUES (19, "helena", "holý", "NULL", "rilská 3174/6", "prague", "NULL", "czech republic", "14300", "+420 2 4177 0449", "NULL", "[email protected]", 3);
236
+ INSERT INTO customer VALUES (24, "astrid", "gruber", "NULL", "rotenturmstraße 4 1010 innere stadt", "vienne", "NULL", "austria", "1010", "+43 01 5134505", "NULL", "[email protected]", 3);
237
+ INSERT INTO customer VALUES (29, "daan", "peeters", "NULL", "grétrystraat 63", "brussels", "NULL", "belgium", "1000", "+32 02 219 03 03", "NULL", "[email protected]", 3);
238
+ INSERT INTO customer VALUES (30, "kara", "nielsen", "NULL", "sønder boulevard 51", "copenhagen", "NULL", "denmark", "1720", "+453 3331 9991", "NULL", "[email protected]", 3);
239
+ INSERT INTO customer VALUES (33, "eduardo", "martins", "woodstock discos", "rua dr. falcão filho 155", "são paulo", "sp", "brazil", "01007-010", "+55 11 3033-5446", "+55 11 3033-4564", "[email protected]", 3);
240
+ INSERT INTO customer VALUES (37, "alexandre", "rocha", "banco do brasil s.a.", "av. paulista 2022", "são paulo", "sp", "brazil", "01310-200", "+55 11 3055-3278", "+55 11 3055-8131", "[email protected]", 3);
241
+ INSERT INTO customer VALUES (38, "roberto", "almeida", "riotur", "praça pio x 119", "rio de janeiro", "rj", "brazil", "20040-020", "+55 21 2271-7000", "+55 21 2271-7070", "[email protected]", 3);
242
+ INSERT INTO customer VALUES (42, "fernanda", "ramos", "NULL", "qe 7 bloco g", "brasília", "df", "brazil", "71020-677", "+55 61 3363-5547", "+55 61 3363-7855", "[email protected]", 3);
243
+ INSERT INTO customer VALUES (43, "mark", "philips", "telus", "8210 111 st nw", "edmonton", "ab", "canada", "t6g 2c7", "+1 780 434-4554", "+1 780 434-5565", "[email protected]", 3);
244
+ INSERT INTO customer VALUES (44, "jennifer", "peterson", "rogers canada", "700 w pender street", "vancouver", "bc", "canada", "v6c 1g8", "+1 604 688-2255", "+1 604 688-8756", "[email protected]", 3);
245
+ INSERT INTO customer VALUES (45, "frank", "harris", "google inc.", "1600 amphitheatre parkway", "mountain view", "ca", "usa", "94043-1351", "+1 650 253-0000", "+1 650 253-0000", "[email protected]", 3);
246
+ INSERT INTO customer VALUES (46, "jack", "smith", "microsoft corporation", "1 microsoft way", "redmond", "wa", "usa", "98052-8300", "+1 425 882-8080", "+1 425 882-8081", "[email protected]", 3);
247
+ INSERT INTO customer VALUES (52, "michelle", "brooks", "NULL", "627 broadway", "new york", "ny", "usa", "10012-2612", "+1 212 221-3546", "+1 212 221-4679", "[email protected]", 3);
248
+ INSERT INTO customer VALUES (53, "tim", "goyer", "apple inc.", "1 infinite loop", "cupertino", "ca", "usa", "95014", "+1 408 996-1010", "+1 408 996-1011", "[email protected]", 3);
249
+ INSERT INTO customer VALUES (58, "dan", "miller", "NULL", "541 del medio avenue", "mountain view", "ca", "usa", "94040-111", "+1 650 644-3358", "NULL", "[email protected]", 3);
250
+ INSERT INTO customer VALUES (59, "kathy", "chase", "NULL", "801 w 4th street", "reno", "nv", "usa", "89503", "+1 775 223-7665", "NULL", "[email protected]", 3);
251
+ INSERT INTO customer VALUES (4, "heather", "leacock", "NULL", "120 s orange ave", "orlando", "fl", "usa", "32801", "+1 407 999-7788", "NULL", "[email protected]", 4);
252
+ INSERT INTO customer VALUES (5, "john", "gordon", "NULL", "69 salem street", "boston", "ma", "usa", "2113", "+1 617 522-1333", "NULL", "[email protected]", 4);
253
+ INSERT INTO customer VALUES (8, "frank", "ralston", "NULL", "162 e superior street", "chicago", "il", "usa", "60611", "+1 312 332-3232", "NULL", "[email protected]", 4);
254
+ INSERT INTO customer VALUES (9, "victor", "stevens", "NULL", "319 n. frances street", "madison", "wi", "usa", "53703", "+1 608 257-0597", "NULL", "[email protected]", 4);
255
+ INSERT INTO customer VALUES (10, "richard", "cunningham", "NULL", "2211 w berry street", "fort worth", "tx", "usa", "76110", "+1 817 924-7272", "NULL", "[email protected]", 4);
256
+ INSERT INTO customer VALUES (13, "patrick", "gray", "NULL", "1033 n park ave", "tucson", "az", "usa", "85719", "+1 520 622-4200", "NULL", "[email protected]", 4);
257
+ INSERT INTO customer VALUES (16, "julia", "barnett", "NULL", "302 s 700 e", "salt lake city", "ut", "usa", "84102", "+1 801 531-7272", "NULL", "[email protected]", 4);
258
+ INSERT INTO customer VALUES (20, "robert", "brown", "NULL", "796 dundas street west", "toronto", "on", "canada", "m6j 1v1", "+1 416 363-8888", "NULL", "[email protected]", 4);
259
+ INSERT INTO customer VALUES (22, "edward", "francis", "NULL", "230 elgin street", "ottawa", "on", "canada", "k2p 1l7", "+1 613 234-3322", "NULL", "[email protected]", 4);
260
+ INSERT INTO customer VALUES (23, "martha", "silk", "NULL", "194a chain lake drive", "halifax", "ns", "canada", "b3s 1c5", "+1 902 450-0450", "NULL", "[email protected]", 4);
261
+ INSERT INTO customer VALUES (26, "aaron", "mitchell", "NULL", "696 osborne street", "winnipeg", "mb", "canada", "r3l 2b9", "+1 204 452-6452", "NULL", "[email protected]", 4);
262
+ INSERT INTO customer VALUES (27, "ellie", "sullivan", "NULL", "5112 48 street", "yellowknife", "nt", "canada", "x1a 1n6", "+1 867 920-2233", "NULL", "[email protected]", 4);
263
+ INSERT INTO customer VALUES (32, "joão", "fernandes", "NULL", "rua da assunção 53", "lisbon", "NULL", "portugal", "NULL", "+351 213 466-111", "NULL", "[email protected]", 4);
264
+ INSERT INTO customer VALUES (34, "madalena", "sampaio", "NULL", "rua dos campeões europeus de viena 4350", "porto", "NULL", "portugal", "NULL", "+351 225 022-448", "NULL", "[email protected]", 4);
265
+ INSERT INTO customer VALUES (35, "hannah", "schneider", "NULL", "tauentzienstraße 8", "berlin", "NULL", "germany", "10789", "+49 030 26550280", "NULL", "[email protected]", 4);
266
+ INSERT INTO customer VALUES (39, "fynn", "zimmermann", "NULL", "berger straße 10", "frankfurt", "NULL", "germany", "60316", "+49 069 40598889", "NULL", "[email protected]", 4);
267
+ INSERT INTO customer VALUES (40, "niklas", "schröder", "NULL", "barbarossastraße 19", "berlin", "NULL", "germany", "10779", "+49 030 2141444", "NULL", "[email protected]", 4);
268
+ INSERT INTO customer VALUES (49, "camille", "bernard", "NULL", "4 rue milton", "paris", "NULL", "france", "75009", "+33 01 49 70 65 65", "NULL", "[email protected]", 4);
269
+ INSERT INTO customer VALUES (55, "dominique", "lefebvre", "NULL", "8 rue hanovre", "paris", "NULL", "france", "75002", "+33 01 47 42 71 71", "NULL", "[email protected]", 4);
270
+ INSERT INTO customer VALUES (56, "marc", "dubois", "NULL", "11 place bellecour", "lyon", "NULL", "france", "69002", "+33 04 78 30 30 30", "NULL", "[email protected]", 4);
271
+ INSERT INTO customer VALUES (2, "wyatt", "girard", "NULL", "9 place louis barthou", "bordeaux", "NULL", "france", "33000", "+33 05 56 96 96 96", "NULL", "[email protected]", 5);
272
+ INSERT INTO customer VALUES (6, "isabelle", "mercier", "NULL", "68 rue jouvence", "dijon", "NULL", "france", "21000", "+33 03 80 73 66 99", "NULL", "[email protected]", 5);
273
+ INSERT INTO customer VALUES (7, "terhi", "hämäläinen", "NULL", "porthaninkatu 9", "helsinki", "NULL", "finland", "00530", "+358 09 870 2000", "NULL", "[email protected]", 5);
274
+ INSERT INTO customer VALUES (11, "ladislav", "kovács", "NULL", "erzsébet krt. 58.", "budapest", "NULL", "hungary", "h-1073", "NULL", "NULL", "[email protected]", 5);
275
+ INSERT INTO customer VALUES (14, "hugh", "oreilly", "NULL", "3 chatham street", "dublin", "dublin", "ireland", "NULL", "+353 01 6792424", "NULL", "[email protected]", 5);
276
+ INSERT INTO customer VALUES (17, "lucas", "mancini", "NULL", "via degli scipioni 43", "rome", "rm", "italy", "00192", "+39 06 39733434", "NULL", "[email protected]", 5);
277
+ INSERT INTO customer VALUES (21, "johannes", "van der berg", "NULL", "lijnbaansgracht 120bg", "amsterdam", "vv", "netherlands", "1016", "+31 020 6223130", "NULL", "[email protected]", 5);
278
+ INSERT INTO customer VALUES (25, "stanisław", "wójcik", "NULL", "ordynacka 10", "warsaw", "NULL", "poland", "00-358", "+48 22 828 37 39", "NULL", "stanisław.wó[email protected]", 5);
279
+ INSERT INTO customer VALUES (28, "enrique", "muñoz", "NULL", "c/ san bernardo 85", "madrid", "NULL", "spain", "28015", "+34 914 454 454", "NULL", "[email protected]", 5);
280
+ INSERT INTO customer VALUES (31, "joakim", "johansson", "NULL", "celsiusg. 9", "stockholm", "NULL", "sweden", "11230", "+46 08-651 52 52", "NULL", "[email protected]", 5);
281
+ INSERT INTO customer VALUES (36, "emma", "jones", "NULL", "202 hoxton street", "london", "NULL", "united kingdom", "n1 5lh", "+44 020 7707 0707", "NULL", "[email protected]", 5);
282
+ INSERT INTO customer VALUES (41, "phil", "hughes", "NULL", "113 lupus st", "london", "NULL", "united kingdom", "sw1v 3en", "+44 020 7976 5722", "NULL", "[email protected]", 5);
283
+ INSERT INTO customer VALUES (47, "steve", "murray", "NULL", "110 raeburn pl", "edinburgh", "NULL", "united kingdom", "eh4 1hh", "+44 0131 315 3300", "NULL", "[email protected]", 5);
284
+ INSERT INTO customer VALUES (48, "mark", "taylor", "NULL", "421 bourke street", "sidney", "nsw", "australia", "2010", "+61 02 9332 3633", "NULL", "[email protected]", 5);
285
+ INSERT INTO customer VALUES (50, "diego", "gutiérrez", "NULL", "307 macacha güemes", "buenos aires", "NULL", "argentina", "1106", "+54 011 4311 4333", "NULL", "[email protected]", 5);
286
+ INSERT INTO customer VALUES (51, "luis", "rojas", "NULL", "calle lira 198", "santiago", "NULL", "chile", "NULL", "+56 02 635 4444", "NULL", "[email protected]", 5);
287
+ INSERT INTO customer VALUES (54, "manoj", "pareek", "NULL", "12community centre", "delhi", "NULL", "india", "110017", "+91 0124 39883988", "NULL", "[email protected]", 5);
288
+ INSERT INTO customer VALUES (57, "puja", "srivastava", "NULL", "3raj bhavan road", "bangalore", "NULL", "india", "560001", "+91 080 22289999", "NULL", "[email protected]", 5);
289
+
290
+ CREATE TABLE "employee" (
291
+ "employeeid" integer,
292
+ "lastname" text,
293
+ "firstname" text,
294
+ "title" text,
295
+ "reportsto" null,
296
+ "birthdate" text,
297
+ "hiredate" text,
298
+ "address" text,
299
+ "city" text,
300
+ "state" text,
301
+ "country" text,
302
+ "postalcode" text,
303
+ "phone" text,
304
+ "fax" text,
305
+ "email" text
306
+ );
307
+
308
+ INSERT INTO employee VALUES (1, "adams", "andrew", "general manager", "NULL", "1962-02-18 00:00:00", "2002-08-14 00:00:00", "11120 jasper ave nw", "edmonton", "ab", "canada", "t5k 2n1", "+1 780 428-9482", "+1 780 428-3457", "[email protected]");
309
+ INSERT INTO employee VALUES (2, "edwards", "nancy", "sales manager", 1, "1958-12-08 00:00:00", "2002-05-01 00:00:00", "825 8 ave sw", "calgary", "ab", "canada", "t2p 2t3", "+1 403 262-3443", "+1 403 262-3322", "[email protected]");
310
+ INSERT INTO employee VALUES (6, "peacock", "jane", "sales support agent", 1, "1973-08-29 00:00:00", "2002-04-01 00:00:00", "1111 6 ave sw", "calgary", "ab", "canada", "t2p 5m5", "+1 403 262-3443", "+1 403 262-6712", "[email protected]");
311
+ INSERT INTO employee VALUES (3, "park", "margaret", "sales support agent", 2, "1947-09-19 00:00:00", "2003-05-03 00:00:00", "683 10 street sw", "calgary", "ab", "canada", "t2p 5g3", "+1 403 263-4423", "+1 403 263-4289", "[email protected]");
312
+ INSERT INTO employee VALUES (4, "johnson", "steve", "sales support agent", 2, "1965-03-03 00:00:00", "2003-10-17 00:00:00", "7727b 41 ave", "calgary", "ab", "canada", "t3b 1y7", "1 780 836-9987", "1 780 836-9543", "[email protected]");
313
+ INSERT INTO employee VALUES (5, "mitchell", "michael", "it manager", 2, "1973-07-01 00:00:00", "2003-10-17 00:00:00", "5827 bowness road nw", "calgary", "ab", "canada", "t3b 0c5", "+1 403 246-9887", "+1 403 246-9899", "[email protected]");
314
+ INSERT INTO employee VALUES (7, "king", "robert", "it staff", 6, "1970-05-29 00:00:00", "2004-01-02 00:00:00", "590 columbia boulevard west", "lethbridge", "ab", "canada", "t1k 5n8", "+1 403 456-9986", "+1 403 456-8485", "[email protected]");
315
+ INSERT INTO employee VALUES (8, "callahan", "laura", "it staff", 6, "1968-01-09 00:00:00", "2004-03-04 00:00:00", "923 7 st nw", "lethbridge", "ab", "canada", "t1h 1y8", "+1 403 467-3351", "+1 403 467-8772", "[email protected]");
316
+
317
+ CREATE TABLE "genre" (
318
+ "genreid" integer,
319
+ "name" text
320
+ );
321
+
322
+ INSERT INTO genre VALUES (1, "rock");
323
+ INSERT INTO genre VALUES (2, "jazz");
324
+ INSERT INTO genre VALUES (3, "metal");
325
+ INSERT INTO genre VALUES (4, "alternative & punk");
326
+ INSERT INTO genre VALUES (5, "rock and roll");
327
+ INSERT INTO genre VALUES (6, "blues");
328
+ INSERT INTO genre VALUES (7, "latin");
329
+ INSERT INTO genre VALUES (8, "reggae");
330
+ INSERT INTO genre VALUES (9, "pop");
331
+ INSERT INTO genre VALUES (10, "soundtrack");
332
+ INSERT INTO genre VALUES (11, "bossa nova");
333
+ INSERT INTO genre VALUES (12, "easy listening");
334
+ INSERT INTO genre VALUES (13, "heavy metal");
335
+ INSERT INTO genre VALUES (14, "r&b/soul");
336
+ INSERT INTO genre VALUES (15, "electronica/dance");
337
+ INSERT INTO genre VALUES (16, "world");
338
+ INSERT INTO genre VALUES (17, "hip hop/rap");
339
+ INSERT INTO genre VALUES (18, "science fiction");
340
+ INSERT INTO genre VALUES (19, "tv shows");
341
+ INSERT INTO genre VALUES (20, "sci fi & fantasy");
342
+ INSERT INTO genre VALUES (21, "drama");
343
+ INSERT INTO genre VALUES (22, "comedy");
344
+ INSERT INTO genre VALUES (23, "alternative");
345
+ INSERT INTO genre VALUES (24, "classical");
346
+ INSERT INTO genre VALUES (25, "opera");
347
+
348
+ CREATE TABLE "invoice" (
349
+ "invoiceid" integer,
350
+ "customerid" integer,
351
+ "invoicedate" text,
352
+ "billingaddress" text,
353
+ "billingcity" text,
354
+ "billingstate" null,
355
+ "billingcountry" text,
356
+ "billingpostalcode" text,
357
+ "total" real
358
+ );
359
+
360
+ INSERT INTO invoice VALUES (98, 1, "2009-01-01 00:00:00", "theodor-heuss-straße 34", "stuttgart", "NULL", "germany", "70174", 1.98);
361
+ INSERT INTO invoice VALUES (121, 1, "2009-01-02 00:00:00", "ullevålsveien 14", "oslo", "NULL", "norway", "0171", 3.96);
362
+ INSERT INTO invoice VALUES (143, 1, "2009-01-03 00:00:00", "grétrystraat 63", "brussels", "NULL", "belgium", "1000", 5.94);
363
+ INSERT INTO invoice VALUES (195, 1, "2009-01-06 00:00:00", "8210 111 st nw", "edmonton", "ab", "canada", "t6g 2c7", 8.91);
364
+ INSERT INTO invoice VALUES (316, 1, "2009-01-11 00:00:00", "69 salem street", "boston", "ma", "usa", "2113", 13.86);
365
+ INSERT INTO invoice VALUES (327, 1, "2009-01-19 00:00:00", "berger straße 10", "frankfurt", "NULL", "germany", "60316", 0.99);
366
+ INSERT INTO invoice VALUES (382, 1, "2009-02-01 00:00:00", "barbarossastraße 19", "berlin", "NULL", "germany", "10779", 1.98);
367
+ INSERT INTO invoice VALUES (1, 2, "2009-02-01 00:00:00", "8 rue hanovre", "paris", "NULL", "france", "75002", 1.98);
368
+ INSERT INTO invoice VALUES (12, 2, "2009-02-02 00:00:00", "9 place louis barthou", "bordeaux", "NULL", "france", "33000", 3.96);
369
+ INSERT INTO invoice VALUES (67, 2, "2009-02-03 00:00:00", "3 chatham street", "dublin", "dublin", "ireland", "NULL", 5.94);
370
+ INSERT INTO invoice VALUES (196, 2, "2009-02-06 00:00:00", "202 hoxton street", "london", "NULL", "united kingdom", "n1 5lh", 8.91);
371
+ INSERT INTO invoice VALUES (219, 2, "2009-02-11 00:00:00", "theodor-heuss-straße 34", "stuttgart", "NULL", "germany", "70174", 13.86);
372
+ INSERT INTO invoice VALUES (241, 2, "2009-02-19 00:00:00", "1600 amphitheatre parkway", "mountain view", "ca", "usa", "94043-1351", 0.99);
373
+ INSERT INTO invoice VALUES (293, 2, "2009-03-04 00:00:00", "1 microsoft way", "redmond", "wa", "usa", "98052-8300", 1.98);
374
+ INSERT INTO invoice VALUES (99, 3, "2009-03-04 00:00:00", "1 infinite loop", "cupertino", "ca", "usa", "95014", 1.98);
375
+ INSERT INTO invoice VALUES (110, 3, "2009-03-05 00:00:00", "801 w 4th street", "reno", "nv", "usa", "89503", 3.96);
376
+ INSERT INTO invoice VALUES (165, 3, "2009-03-06 00:00:00", "319 n. frances street", "madison", "wi", "usa", "53703", 5.94);
377
+ INSERT INTO invoice VALUES (294, 3, "2009-03-09 00:00:00", "194a chain lake drive", "halifax", "ns", "canada", "b3s 1c5", 8.91);
378
+ INSERT INTO invoice VALUES (317, 3, "2009-03-14 00:00:00", "8 rue hanovre", "paris", "NULL", "france", "75002", 13.86);
379
+ INSERT INTO invoice VALUES (339, 3, "2009-03-22 00:00:00", "110 raeburn pl", "edinburgh", "NULL", "united kingdom", "eh4 1hh", 0.99);
380
+ INSERT INTO invoice VALUES (391, 3, "2009-04-04 00:00:00", "421 bourke street", "sidney", "nsw", "australia", "2010", 1.98);
381
+ INSERT INTO invoice VALUES (2, 4, "2009-04-04 00:00:00", "calle lira 198", "santiago", "NULL", "chile", "NULL", 1.98);
382
+ INSERT INTO invoice VALUES (24, 4, "2009-04-05 00:00:00", "3raj bhavan road", "bangalore", "NULL", "india", "560001", 3.96);
383
+ INSERT INTO invoice VALUES (76, 4, "2009-04-06 00:00:00", "ullevålsveien 14", "oslo", "NULL", "norway", "0171", 5.94);
384
+ INSERT INTO invoice VALUES (197, 4, "2009-04-09 00:00:00", "rua dr. falcão filho 155", "são paulo", "sp", "brazil", "01007-010", 8.91);
385
+ INSERT INTO invoice VALUES (208, 4, "2009-04-14 00:00:00", "1 infinite loop", "cupertino", "ca", "usa", "95014", 13.86);
386
+ INSERT INTO invoice VALUES (263, 4, "2009-04-22 00:00:00", "5112 48 street", "yellowknife", "nt", "canada", "x1a 1n6", 0.99);
387
+ INSERT INTO invoice VALUES (392, 4, "2009-05-05 00:00:00", "rua da assunção 53", "lisbon", "NULL", "portugal", "NULL", 1.98);
388
+ INSERT INTO invoice VALUES (77, 5, "2009-05-05 00:00:00", "tauentzienstraße 8", "berlin", "NULL", "germany", "10789", 1.98);
389
+ INSERT INTO invoice VALUES (100, 5, "2009-05-06 00:00:00", "barbarossastraße 19", "berlin", "NULL", "germany", "10779", 3.96);
390
+ INSERT INTO invoice VALUES (122, 5, "2009-05-07 00:00:00", "9 place louis barthou", "bordeaux", "NULL", "france", "33000", 5.94);
391
+ INSERT INTO invoice VALUES (174, 5, "2009-05-10 00:00:00", "lijnbaansgracht 120bg", "amsterdam", "vv", "netherlands", "1016", 8.91);
392
+ INSERT INTO invoice VALUES (295, 5, "2009-05-15 00:00:00", "calle lira 198", "santiago", "NULL", "chile", "NULL", 13.86);
393
+ INSERT INTO invoice VALUES (306, 5, "2009-05-23 00:00:00", "praça pio x 119", "rio de janeiro", "rj", "brazil", "20040-020", 0.99);
394
+ INSERT INTO invoice VALUES (361, 5, "2009-06-05 00:00:00", "qe 7 bloco g", "brasília", "df", "brazil", "71020-677", 1.98);
395
+ INSERT INTO invoice VALUES (46, 6, "2009-06-05 00:00:00", "700 w pender street", "vancouver", "bc", "canada", "v6c 1g8", 1.98);
396
+ INSERT INTO invoice VALUES (175, 6, "2009-06-06 00:00:00", "1 microsoft way", "redmond", "wa", "usa", "98052-8300", 3.96);
397
+ INSERT INTO invoice VALUES (198, 6, "2009-06-07 00:00:00", "801 w 4th street", "reno", "nv", "usa", "89503", 5.94);
398
+ INSERT INTO invoice VALUES (220, 6, "2009-06-10 00:00:00", "1033 n park ave", "tucson", "az", "usa", "85719", 8.91);
399
+ INSERT INTO invoice VALUES (272, 6, "2009-06-15 00:00:00", "tauentzienstraße 8", "berlin", "NULL", "germany", "10789", 13.86);
400
+ INSERT INTO invoice VALUES (393, 6, "2009-06-23 00:00:00", "c/ san bernardo 85", "madrid", "NULL", "spain", "28015", 0.99);
401
+ INSERT INTO invoice VALUES (404, 6, "2009-07-06 00:00:00", "celsiusg. 9", "stockholm", "NULL", "sweden", "11230", 1.98);
402
+ INSERT INTO invoice VALUES (78, 7, "2009-07-06 00:00:00", "113 lupus st", "london", "NULL", "united kingdom", "sw1v 3en", 1.98);
403
+ INSERT INTO invoice VALUES (89, 7, "2009-07-07 00:00:00", "421 bourke street", "sidney", "nsw", "australia", "2010", 3.96);
404
+ INSERT INTO invoice VALUES (144, 7, "2009-07-08 00:00:00", "3raj bhavan road", "bangalore", "NULL", "india", "560001", 5.94);
405
+ INSERT INTO invoice VALUES (273, 7, "2009-07-11 00:00:00", "rilská 3174/6", "prague", "NULL", "czech republic", "14300", 8.91);
406
+ INSERT INTO invoice VALUES (296, 7, "2009-07-16 00:00:00", "700 w pender street", "vancouver", "bc", "canada", "v6c 1g8", 13.86);
407
+ INSERT INTO invoice VALUES (318, 7, "2009-07-24 00:00:00", "796 dundas street west", "toronto", "on", "canada", "m6j 1v1", 0.99);
408
+ INSERT INTO invoice VALUES (370, 7, "2009-08-06 00:00:00", "230 elgin street", "ottawa", "on", "canada", "k2p 1l7", 1.98);
409
+ INSERT INTO invoice VALUES (3, 8, "2009-08-06 00:00:00", "696 osborne street", "winnipeg", "mb", "canada", "r3l 2b9", 1.98);
410
+ INSERT INTO invoice VALUES (55, 8, "2009-08-07 00:00:00", "rua da assunção 53", "lisbon", "NULL", "portugal", "NULL", 3.96);
411
+ INSERT INTO invoice VALUES (176, 8, "2009-08-08 00:00:00", "barbarossastraße 19", "berlin", "NULL", "germany", "10779", 5.94);
412
+ INSERT INTO invoice VALUES (187, 8, "2009-08-11 00:00:00", "porthaninkatu 9", "helsinki", "NULL", "finland", "00530", 8.91);
413
+ INSERT INTO invoice VALUES (242, 8, "2009-08-16 00:00:00", "113 lupus st", "london", "NULL", "united kingdom", "sw1v 3en", 13.86);
414
+ INSERT INTO invoice VALUES (371, 8, "2009-08-24 00:00:00", "grétrystraat 63", "brussels", "NULL", "belgium", "1000", 0.99);
415
+ INSERT INTO invoice VALUES (394, 8, "2009-09-06 00:00:00", "sønder boulevard 51", "copenhagen", "NULL", "denmark", "1720", 1.98);
416
+ INSERT INTO invoice VALUES (56, 9, "2009-09-06 00:00:00", "av. paulista 2022", "são paulo", "sp", "brazil", "01310-200", 1.98);
417
+ INSERT INTO invoice VALUES (79, 9, "2009-09-07 00:00:00", "qe 7 bloco g", "brasília", "df", "brazil", "71020-677", 3.96);
418
+ INSERT INTO invoice VALUES (101, 9, "2009-09-08 00:00:00", "1 microsoft way", "redmond", "wa", "usa", "98052-8300", 5.94);
419
+ INSERT INTO invoice VALUES (153, 9, "2009-09-11 00:00:00", "69 salem street", "boston", "ma", "usa", "2113", 8.91);
420
+ INSERT INTO invoice VALUES (274, 9, "2009-09-16 00:00:00", "696 osborne street", "winnipeg", "mb", "canada", "r3l 2b9", 13.86);
421
+ INSERT INTO invoice VALUES (285, 9, "2009-09-24 00:00:00", "3 chatham street", "dublin", "dublin", "ireland", "NULL", 0.99);
422
+ INSERT INTO invoice VALUES (340, 9, "2009-10-07 00:00:00", "via degli scipioni 43", "rome", "rm", "italy", "00192", 1.98);
423
+ INSERT INTO invoice VALUES (25, 10, "2009-10-07 00:00:00", "ordynacka 10", "warsaw", "NULL", "poland", "00-358", 1.98);
424
+ INSERT INTO invoice VALUES (154, 10, "2009-10-08 00:00:00", "celsiusg. 9", "stockholm", "NULL", "sweden", "11230", 3.96);
425
+ INSERT INTO invoice VALUES (177, 10, "2009-10-09 00:00:00", "421 bourke street", "sidney", "nsw", "australia", "2010", 5.94);
426
+ INSERT INTO invoice VALUES (199, 10, "2009-10-12 00:00:00", "theodor-heuss-straße 34", "stuttgart", "NULL", "germany", "70174", 8.91);
427
+ INSERT INTO invoice VALUES (251, 10, "2009-10-17 00:00:00", "av. paulista 2022", "são paulo", "sp", "brazil", "01310-200", 13.86);
428
+ INSERT INTO invoice VALUES (372, 10, "2009-10-25 00:00:00", "319 n. frances street", "madison", "wi", "usa", "53703", 0.99);
429
+ INSERT INTO invoice VALUES (383, 10, "2009-11-07 00:00:00", "2211 w berry street", "fort worth", "tx", "usa", "76110", 1.98);
430
+ INSERT INTO invoice VALUES (57, 11, "2009-11-07 00:00:00", "302 s 700 e", "salt lake city", "ut", "usa", "84102", 1.98);
431
+ INSERT INTO invoice VALUES (68, 11, "2009-11-08 00:00:00", "230 elgin street", "ottawa", "on", "canada", "k2p 1l7", 3.96);
432
+ INSERT INTO invoice VALUES (123, 11, "2009-11-09 00:00:00", "rua da assunção 53", "lisbon", "NULL", "portugal", "NULL", 5.94);
433
+ INSERT INTO invoice VALUES (252, 11, "2009-11-12 00:00:00", "8 rue hanovre", "paris", "NULL", "france", "75002", 8.91);
434
+ INSERT INTO invoice VALUES (275, 11, "2009-11-17 00:00:00", "ordynacka 10", "warsaw", "NULL", "poland", "00-358", 13.86);
435
+ INSERT INTO invoice VALUES (297, 11, "2009-11-25 00:00:00", "ullevålsveien 14", "oslo", "NULL", "norway", "0171", 0.99);
436
+ INSERT INTO invoice VALUES (349, 11, "2009-12-08 00:00:00", "klanova 9/506", "prague", "NULL", "czech republic", "14700", 1.98);
437
+ INSERT INTO invoice VALUES (34, 12, "2009-12-08 00:00:00", "rotenturmstraße 4 1010 innere stadt", "vienne", "NULL", "austria", "1010", 1.98);
438
+ INSERT INTO invoice VALUES (155, 12, "2009-12-09 00:00:00", "sønder boulevard 51", "copenhagen", "NULL", "denmark", "1720", 3.96);
439
+ INSERT INTO invoice VALUES (166, 12, "2009-12-10 00:00:00", "qe 7 bloco g", "brasília", "df", "brazil", "71020-677", 5.94);
440
+ INSERT INTO invoice VALUES (221, 12, "2009-12-13 00:00:00", "1 infinite loop", "cupertino", "ca", "usa", "95014", 8.91);
441
+ INSERT INTO invoice VALUES (350, 12, "2009-12-18 00:00:00", "302 s 700 e", "salt lake city", "ut", "usa", "84102", 13.86);
442
+ INSERT INTO invoice VALUES (373, 12, "2009-12-26 00:00:00", "9 place louis barthou", "bordeaux", "NULL", "france", "33000", 0.99);
443
+ INSERT INTO invoice VALUES (395, 12, "2010-01-08 00:00:00", "68 rue jouvence", "dijon", "NULL", "france", "21000", 1.98);
444
+ INSERT INTO invoice VALUES (35, 13, "2010-01-08 00:00:00", "erzsébet krt. 58.", "budapest", "NULL", "hungary", "h-1073", 1.98);
445
+ INSERT INTO invoice VALUES (58, 13, "2010-01-09 00:00:00", "via degli scipioni 43", "rome", "rm", "italy", "00192", 3.96);
446
+ INSERT INTO invoice VALUES (80, 13, "2010-01-10 00:00:00", "celsiusg. 9", "stockholm", "NULL", "sweden", "11230", 6.94);
447
+ INSERT INTO invoice VALUES (132, 13, "2010-01-13 00:00:00", "calle lira 198", "santiago", "NULL", "chile", "NULL", 17.91);
448
+ INSERT INTO invoice VALUES (253, 13, "2010-01-18 00:00:00", "rotenturmstraße 4 1010 innere stadt", "vienne", "NULL", "austria", "1010", 18.86);
449
+ INSERT INTO invoice VALUES (264, 13, "2010-01-26 00:00:00", "801 w 4th street", "reno", "nv", "usa", "89503", 0.99);
450
+ INSERT INTO invoice VALUES (319, 13, "2010-02-08 00:00:00", "120 s orange ave", "orlando", "fl", "usa", "32801", 1.98);
451
+ INSERT INTO invoice VALUES (4, 14, "2010-02-08 00:00:00", "162 e superior street", "chicago", "il", "usa", "60611", 1.98);
452
+ INSERT INTO invoice VALUES (133, 14, "2010-02-09 00:00:00", "2211 w berry street", "fort worth", "tx", "usa", "76110", 3.96);
453
+ INSERT INTO invoice VALUES (156, 14, "2010-02-10 00:00:00", "230 elgin street", "ottawa", "on", "canada", "k2p 1l7", 5.94);
454
+ INSERT INTO invoice VALUES (178, 14, "2010-02-13 00:00:00", "tauentzienstraße 8", "berlin", "NULL", "germany", "10789", 8.91);
455
+ INSERT INTO invoice VALUES (230, 14, "2010-02-18 00:00:00", "erzsébet krt. 58.", "budapest", "NULL", "hungary", "h-1073", 21.86);
456
+ INSERT INTO invoice VALUES (351, 14, "2010-02-26 00:00:00", "3raj bhavan road", "bangalore", "NULL", "india", "560001", 1.99);
457
+ INSERT INTO invoice VALUES (362, 14, "2010-03-11 00:00:00", "av. brigadeiro faria lima 2170", "são josé dos campos", "sp", "brazil", "12227-000", 3.98);
458
+ INSERT INTO invoice VALUES (36, 15, "2010-03-11 00:00:00", "1498 rue bélanger", "montréal", "qc", "canada", "h2g 1a7", 3.98);
459
+ INSERT INTO invoice VALUES (47, 15, "2010-03-12 00:00:00", "klanova 9/506", "prague", "NULL", "czech republic", "14700", 3.96);
460
+
461
+ CREATE TABLE "invoiceline" (
462
+ "invoicelineid" integer,
463
+ "invoiceid" integer,
464
+ "trackid" integer,
465
+ "unitprice" real,
466
+ "quantity" integer
467
+ );
468
+
469
+ INSERT INTO invoiceline VALUES (579, 1, 1, 0.99, 1);
470
+ INSERT INTO invoiceline VALUES (1, 1, 2, 0.99, 1);
471
+ INSERT INTO invoiceline VALUES (1154, 2, 2, 0.99, 1);
472
+ INSERT INTO invoiceline VALUES (1728, 2, 3, 0.99, 1);
473
+ INSERT INTO invoiceline VALUES (2, 2, 4, 0.99, 1);
474
+ INSERT INTO invoiceline VALUES (580, 2, 5, 0.99, 1);
475
+ INSERT INTO invoiceline VALUES (3, 3, 6, 0.99, 1);
476
+ INSERT INTO invoiceline VALUES (4, 3, 8, 0.99, 1);
477
+ INSERT INTO invoiceline VALUES (1155, 3, 8, 0.99, 1);
478
+ INSERT INTO invoiceline VALUES (581, 3, 9, 0.99, 1);
479
+ INSERT INTO invoiceline VALUES (1729, 3, 9, 0.99, 1);
480
+ INSERT INTO invoiceline VALUES (5, 3, 10, 0.99, 1);
481
+ INSERT INTO invoiceline VALUES (6, 4, 12, 0.99, 1);
482
+ INSERT INTO invoiceline VALUES (582, 4, 13, 0.99, 1);
483
+ INSERT INTO invoiceline VALUES (1156, 4, 14, 0.99, 1);
484
+ INSERT INTO invoiceline VALUES (1730, 4, 15, 0.99, 1);
485
+ INSERT INTO invoiceline VALUES (7, 4, 16, 0.99, 1);
486
+ INSERT INTO invoiceline VALUES (583, 4, 19, 0.99, 1);
487
+ INSERT INTO invoiceline VALUES (8, 4, 20, 0.99, 1);
488
+ INSERT INTO invoiceline VALUES (1157, 4, 20, 0.99, 1);
489
+ INSERT INTO invoiceline VALUES (1731, 4, 21, 0.99, 1);
490
+ INSERT INTO invoiceline VALUES (9, 5, 24, 0.99, 1);
491
+ INSERT INTO invoiceline VALUES (584, 5, 25, 0.99, 1);
492
+ INSERT INTO invoiceline VALUES (1158, 5, 26, 0.99, 1);
493
+ INSERT INTO invoiceline VALUES (10, 5, 28, 0.99, 1);
494
+ INSERT INTO invoiceline VALUES (1732, 5, 30, 0.99, 1);
495
+ INSERT INTO invoiceline VALUES (585, 5, 31, 0.99, 1);
496
+ INSERT INTO invoiceline VALUES (11, 5, 32, 0.99, 1);
497
+ INSERT INTO invoiceline VALUES (1159, 5, 32, 0.99, 1);
498
+ INSERT INTO invoiceline VALUES (12, 5, 36, 0.99, 1);
499
+ INSERT INTO invoiceline VALUES (586, 5, 37, 0.99, 1);
500
+ INSERT INTO invoiceline VALUES (1160, 5, 38, 0.99, 1);
501
+ INSERT INTO invoiceline VALUES (1733, 5, 39, 0.99, 1);
502
+ INSERT INTO invoiceline VALUES (13, 5, 42, 0.99, 1);
503
+ INSERT INTO invoiceline VALUES (587, 5, 43, 0.99, 1);
504
+ INSERT INTO invoiceline VALUES (1161, 6, 44, 0.99, 1);
505
+ INSERT INTO invoiceline VALUES (14, 7, 48, 0.99, 1);
506
+ INSERT INTO invoiceline VALUES (1734, 7, 48, 0.99, 1);
507
+ INSERT INTO invoiceline VALUES (588, 8, 49, 0.99, 1);
508
+ INSERT INTO invoiceline VALUES (1162, 8, 53, 0.99, 1);
509
+ INSERT INTO invoiceline VALUES (15, 9, 54, 0.99, 1);
510
+ INSERT INTO invoiceline VALUES (589, 9, 55, 0.99, 1);
511
+ INSERT INTO invoiceline VALUES (1735, 9, 57, 0.99, 1);
512
+ INSERT INTO invoiceline VALUES (16, 9, 60, 0.99, 1);
513
+ INSERT INTO invoiceline VALUES (590, 10, 61, 0.99, 1);
514
+ INSERT INTO invoiceline VALUES (1163, 10, 62, 0.99, 1);
515
+ INSERT INTO invoiceline VALUES (17, 10, 66, 0.99, 1);
516
+ INSERT INTO invoiceline VALUES (1736, 10, 66, 0.99, 1);
517
+ INSERT INTO invoiceline VALUES (591, 10, 67, 0.99, 1);
518
+ INSERT INTO invoiceline VALUES (1164, 10, 71, 0.99, 1);
519
+ INSERT INTO invoiceline VALUES (18, 11, 72, 0.99, 1);
520
+ INSERT INTO invoiceline VALUES (1737, 11, 75, 0.99, 1);
521
+ INSERT INTO invoiceline VALUES (592, 11, 76, 0.99, 1);
522
+ INSERT INTO invoiceline VALUES (19, 11, 78, 0.99, 1);
523
+ INSERT INTO invoiceline VALUES (1165, 11, 80, 0.99, 1);
524
+ INSERT INTO invoiceline VALUES (20, 11, 84, 0.99, 1);
525
+ INSERT INTO invoiceline VALUES (1738, 11, 84, 0.99, 1);
526
+ INSERT INTO invoiceline VALUES (593, 11, 85, 0.99, 1);
527
+ INSERT INTO invoiceline VALUES (1166, 11, 89, 0.99, 1);
528
+ INSERT INTO invoiceline VALUES (21, 12, 90, 0.99, 1);
529
+ INSERT INTO invoiceline VALUES (1739, 12, 93, 0.99, 1);
530
+ INSERT INTO invoiceline VALUES (594, 12, 94, 0.99, 1);
531
+ INSERT INTO invoiceline VALUES (1167, 12, 98, 0.99, 1);
532
+ INSERT INTO invoiceline VALUES (22, 12, 99, 0.99, 1);
533
+ INSERT INTO invoiceline VALUES (1740, 12, 102, 0.99, 1);
534
+ INSERT INTO invoiceline VALUES (595, 12, 103, 0.99, 1);
535
+ INSERT INTO invoiceline VALUES (1168, 12, 107, 0.99, 1);
536
+ INSERT INTO invoiceline VALUES (23, 12, 108, 0.99, 1);
537
+ INSERT INTO invoiceline VALUES (1741, 12, 111, 0.99, 1);
538
+ INSERT INTO invoiceline VALUES (596, 12, 112, 0.99, 1);
539
+ INSERT INTO invoiceline VALUES (1169, 12, 116, 0.99, 1);
540
+ INSERT INTO invoiceline VALUES (24, 12, 117, 0.99, 1);
541
+ INSERT INTO invoiceline VALUES (1742, 12, 120, 0.99, 1);
542
+ INSERT INTO invoiceline VALUES (597, 13, 121, 0.99, 1);
543
+ INSERT INTO invoiceline VALUES (1170, 14, 125, 0.99, 1);
544
+ INSERT INTO invoiceline VALUES (25, 14, 126, 0.99, 1);
545
+ INSERT INTO invoiceline VALUES (1743, 15, 129, 0.99, 1);
546
+ INSERT INTO invoiceline VALUES (598, 15, 130, 0.99, 1);
547
+ INSERT INTO invoiceline VALUES (1171, 16, 134, 0.99, 1);
548
+ INSERT INTO invoiceline VALUES (26, 16, 135, 0.99, 1);
549
+ INSERT INTO invoiceline VALUES (1744, 16, 138, 0.99, 1);
550
+ INSERT INTO invoiceline VALUES (599, 16, 139, 0.99, 1);
551
+ INSERT INTO invoiceline VALUES (1172, 17, 143, 0.99, 1);
552
+ INSERT INTO invoiceline VALUES (27, 17, 144, 0.99, 1);
553
+ INSERT INTO invoiceline VALUES (1745, 17, 147, 0.99, 1);
554
+ INSERT INTO invoiceline VALUES (600, 17, 148, 0.99, 1);
555
+ INSERT INTO invoiceline VALUES (1173, 17, 152, 0.99, 1);
556
+ INSERT INTO invoiceline VALUES (28, 17, 153, 0.99, 1);
557
+ INSERT INTO invoiceline VALUES (601, 18, 157, 0.99, 1);
558
+ INSERT INTO invoiceline VALUES (1174, 18, 161, 0.99, 1);
559
+ INSERT INTO invoiceline VALUES (1746, 18, 161, 0.99, 1);
560
+ INSERT INTO invoiceline VALUES (29, 18, 162, 0.99, 1);
561
+ INSERT INTO invoiceline VALUES (1747, 18, 162, 0.99, 1);
562
+ INSERT INTO invoiceline VALUES (1748, 18, 163, 0.99, 1);
563
+ INSERT INTO invoiceline VALUES (1749, 18, 165, 0.99, 1);
564
+ INSERT INTO invoiceline VALUES (602, 18, 166, 0.99, 1);
565
+ INSERT INTO invoiceline VALUES (1750, 18, 167, 0.99, 1);
566
+ INSERT INTO invoiceline VALUES (1751, 19, 169, 0.99, 1);
567
+ INSERT INTO invoiceline VALUES (1175, 19, 170, 0.99, 1);
568
+ INSERT INTO invoiceline VALUES (30, 19, 171, 0.99, 1);
569
+
570
+ CREATE TABLE "mediatype" (
571
+ "mediatypeid" integer,
572
+ "name" text
573
+ );
574
+
575
+ INSERT INTO mediatype VALUES (1, "mpeg audio file");
576
+ INSERT INTO mediatype VALUES (2, "protected aac audio file");
577
+ INSERT INTO mediatype VALUES (3, "protected mpeg-4 video file");
578
+ INSERT INTO mediatype VALUES (4, "purchased aac audio file");
579
+ INSERT INTO mediatype VALUES (5, "aac audio file");
580
+
581
+ CREATE TABLE "playlist" (
582
+ "playlistid" integer,
583
+ "name" text
584
+ );
585
+
586
+ INSERT INTO playlist VALUES (1, "music");
587
+ INSERT INTO playlist VALUES (2, "movies");
588
+ INSERT INTO playlist VALUES (3, "tv shows");
589
+ INSERT INTO playlist VALUES (4, "audiobooks");
590
+ INSERT INTO playlist VALUES (5, "90’s music");
591
+ INSERT INTO playlist VALUES (6, "audiobooks");
592
+ INSERT INTO playlist VALUES (7, "movies");
593
+ INSERT INTO playlist VALUES (8, "music");
594
+ INSERT INTO playlist VALUES (9, "music videos");
595
+ INSERT INTO playlist VALUES (10, "tv shows");
596
+ INSERT INTO playlist VALUES (11, "brazilian music");
597
+ INSERT INTO playlist VALUES (12, "classical");
598
+ INSERT INTO playlist VALUES (13, "classical 101 - deep cuts");
599
+ INSERT INTO playlist VALUES (14, "classical 101 - next steps");
600
+ INSERT INTO playlist VALUES (15, "classical 101 - the basics");
601
+ INSERT INTO playlist VALUES (16, "grunge");
602
+ INSERT INTO playlist VALUES (17, "heavy metal classic");
603
+ INSERT INTO playlist VALUES (18, "on-the-go 1");
604
+
605
+ CREATE TABLE "playlisttrack" (
606
+ "playlistid" integer,
607
+ "trackid" integer
608
+ );
609
+
610
+ INSERT INTO playlisttrack VALUES (1, 1);
611
+ INSERT INTO playlisttrack VALUES (8, 1);
612
+ INSERT INTO playlisttrack VALUES (17, 1);
613
+ INSERT INTO playlisttrack VALUES (1, 2);
614
+ INSERT INTO playlisttrack VALUES (8, 2);
615
+ INSERT INTO playlisttrack VALUES (17, 2);
616
+ INSERT INTO playlisttrack VALUES (1, 3);
617
+ INSERT INTO playlisttrack VALUES (5, 3);
618
+ INSERT INTO playlisttrack VALUES (8, 3);
619
+ INSERT INTO playlisttrack VALUES (17, 3);
620
+ INSERT INTO playlisttrack VALUES (1, 4);
621
+ INSERT INTO playlisttrack VALUES (5, 4);
622
+ INSERT INTO playlisttrack VALUES (8, 4);
623
+ INSERT INTO playlisttrack VALUES (17, 4);
624
+ INSERT INTO playlisttrack VALUES (1, 5);
625
+ INSERT INTO playlisttrack VALUES (5, 5);
626
+ INSERT INTO playlisttrack VALUES (8, 5);
627
+ INSERT INTO playlisttrack VALUES (17, 5);
628
+ INSERT INTO playlisttrack VALUES (1, 6);
629
+ INSERT INTO playlisttrack VALUES (8, 6);
630
+ INSERT INTO playlisttrack VALUES (1, 7);
631
+ INSERT INTO playlisttrack VALUES (8, 7);
632
+ INSERT INTO playlisttrack VALUES (1, 8);
633
+ INSERT INTO playlisttrack VALUES (8, 8);
634
+ INSERT INTO playlisttrack VALUES (1, 9);
635
+ INSERT INTO playlisttrack VALUES (8, 9);
636
+ INSERT INTO playlisttrack VALUES (1, 10);
637
+ INSERT INTO playlisttrack VALUES (8, 10);
638
+ INSERT INTO playlisttrack VALUES (1, 11);
639
+ INSERT INTO playlisttrack VALUES (8, 11);
640
+ INSERT INTO playlisttrack VALUES (1, 12);
641
+ INSERT INTO playlisttrack VALUES (8, 12);
642
+ INSERT INTO playlisttrack VALUES (1, 13);
643
+ INSERT INTO playlisttrack VALUES (8, 13);
644
+ INSERT INTO playlisttrack VALUES (1, 14);
645
+ INSERT INTO playlisttrack VALUES (8, 14);
646
+ INSERT INTO playlisttrack VALUES (1, 15);
647
+ INSERT INTO playlisttrack VALUES (8, 15);
648
+ INSERT INTO playlisttrack VALUES (1, 16);
649
+ INSERT INTO playlisttrack VALUES (8, 16);
650
+ INSERT INTO playlisttrack VALUES (1, 17);
651
+ INSERT INTO playlisttrack VALUES (8, 17);
652
+ INSERT INTO playlisttrack VALUES (1, 18);
653
+ INSERT INTO playlisttrack VALUES (8, 18);
654
+ INSERT INTO playlisttrack VALUES (1, 19);
655
+ INSERT INTO playlisttrack VALUES (8, 19);
656
+ INSERT INTO playlisttrack VALUES (1, 20);
657
+ INSERT INTO playlisttrack VALUES (8, 20);
658
+ INSERT INTO playlisttrack VALUES (1, 21);
659
+ INSERT INTO playlisttrack VALUES (8, 21);
660
+ INSERT INTO playlisttrack VALUES (1, 22);
661
+ INSERT INTO playlisttrack VALUES (8, 22);
662
+ INSERT INTO playlisttrack VALUES (1, 23);
663
+ INSERT INTO playlisttrack VALUES (5, 23);
664
+ INSERT INTO playlisttrack VALUES (8, 23);
665
+ INSERT INTO playlisttrack VALUES (1, 24);
666
+ INSERT INTO playlisttrack VALUES (5, 24);
667
+ INSERT INTO playlisttrack VALUES (8, 24);
668
+ INSERT INTO playlisttrack VALUES (1, 25);
669
+ INSERT INTO playlisttrack VALUES (5, 25);
670
+ INSERT INTO playlisttrack VALUES (8, 25);
671
+ INSERT INTO playlisttrack VALUES (1, 26);
672
+ INSERT INTO playlisttrack VALUES (5, 26);
673
+ INSERT INTO playlisttrack VALUES (8, 26);
674
+ INSERT INTO playlisttrack VALUES (1, 27);
675
+ INSERT INTO playlisttrack VALUES (5, 27);
676
+ INSERT INTO playlisttrack VALUES (8, 27);
677
+ INSERT INTO playlisttrack VALUES (1, 28);
678
+ INSERT INTO playlisttrack VALUES (5, 28);
679
+ INSERT INTO playlisttrack VALUES (8, 28);
680
+ INSERT INTO playlisttrack VALUES (1, 29);
681
+ INSERT INTO playlisttrack VALUES (5, 29);
682
+ INSERT INTO playlisttrack VALUES (8, 29);
683
+ INSERT INTO playlisttrack VALUES (1, 30);
684
+ INSERT INTO playlisttrack VALUES (5, 30);
685
+ INSERT INTO playlisttrack VALUES (8, 30);
686
+ INSERT INTO playlisttrack VALUES (1, 31);
687
+ INSERT INTO playlisttrack VALUES (5, 31);
688
+ INSERT INTO playlisttrack VALUES (8, 31);
689
+ INSERT INTO playlisttrack VALUES (1, 32);
690
+ INSERT INTO playlisttrack VALUES (5, 32);
691
+ INSERT INTO playlisttrack VALUES (8, 32);
692
+ INSERT INTO playlisttrack VALUES (1, 33);
693
+ INSERT INTO playlisttrack VALUES (5, 33);
694
+ INSERT INTO playlisttrack VALUES (8, 33);
695
+ INSERT INTO playlisttrack VALUES (1, 34);
696
+ INSERT INTO playlisttrack VALUES (5, 34);
697
+ INSERT INTO playlisttrack VALUES (8, 34);
698
+ INSERT INTO playlisttrack VALUES (1, 35);
699
+ INSERT INTO playlisttrack VALUES (5, 35);
700
+ INSERT INTO playlisttrack VALUES (8, 35);
701
+ INSERT INTO playlisttrack VALUES (1, 36);
702
+ INSERT INTO playlisttrack VALUES (5, 36);
703
+ INSERT INTO playlisttrack VALUES (8, 36);
704
+ INSERT INTO playlisttrack VALUES (1, 37);
705
+ INSERT INTO playlisttrack VALUES (5, 37);
706
+ INSERT INTO playlisttrack VALUES (8, 37);
707
+ INSERT INTO playlisttrack VALUES (1, 38);
708
+ INSERT INTO playlisttrack VALUES (5, 38);
709
+ INSERT INTO playlisttrack VALUES (8, 38);
710
+
711
+ CREATE TABLE "track" (
712
+ "trackid" integer,
713
+ "name" text,
714
+ "albumid" integer,
715
+ "mediatypeid" integer,
716
+ "genreid" integer,
717
+ "composer" text,
718
+ "milliseconds" integer,
719
+ "bytes" integer,
720
+ "unitprice" real
721
+ );
722
+
723
+ INSERT INTO track VALUES (1, "for those about to rock we salute you", 1, 1, 1, "angus young malcolm young brian johnson", 343719, 11170334, 0.99);
724
+ INSERT INTO track VALUES (6, "balls to the wall", 1, 1, 1, "NULL", 342562, 5510424, 0.99);
725
+ INSERT INTO track VALUES (7, "fast as a shark", 1, 1, 1, "f. baltes s. kaufman u. dirkscneider & w. hoffman", 230619, 3990994, 0.99);
726
+ INSERT INTO track VALUES (8, "restless and wild", 1, 1, 1, "f. baltes r.a. smith-diesel s. kaufman u. dirkscneider & w. hoffman", 252051, 4331779, 0.99);
727
+ INSERT INTO track VALUES (9, "princess of the dawn", 1, 1, 1, "deaffy & r.a. smith-diesel", 375418, 6290521, 0.99);
728
+ INSERT INTO track VALUES (10, "put the finger on you", 1, 1, 1, "angus young malcolm young brian johnson", 205662, 6713451, 0.99);
729
+ INSERT INTO track VALUES (11, "lets get it up", 1, 1, 1, "angus young malcolm young brian johnson", 233926, 7636561, 0.99);
730
+ INSERT INTO track VALUES (12, "inject the venom", 1, 1, 1, "angus young malcolm young brian johnson", 210834, 6852860, 0.99);
731
+ INSERT INTO track VALUES (13, "snowballed", 1, 1, 1, "angus young malcolm young brian johnson", 203102, 6599424, 0.99);
732
+ INSERT INTO track VALUES (14, "evil walks", 1, 1, 1, "angus young malcolm young brian johnson", 263497, 8611245, 0.99);
733
+ INSERT INTO track VALUES (15, "c.o.d.", 2, 1, 1, "angus young malcolm young brian johnson", 199836, 6566314, 0.99);
734
+ INSERT INTO track VALUES (16, "breaking the rules", 3, 1, 1, "angus young malcolm young brian johnson", 263288, 8596840, 0.99);
735
+ INSERT INTO track VALUES (17, "night of the long knives", 3, 1, 1, "angus young malcolm young brian johnson", 205688, 6706347, 0.99);
736
+ INSERT INTO track VALUES (18, "spellbound", 3, 1, 1, "angus young malcolm young brian johnson", 270863, 8817038, 0.99);
737
+ INSERT INTO track VALUES (19, "go down", 4, 1, 1, "ac/dc", 331180, 10847611, 0.99);
738
+ INSERT INTO track VALUES (20, "dog eat dog", 4, 1, 1, "ac/dc", 215196, 7032162, 0.99);
739
+ INSERT INTO track VALUES (21, "let there be rock", 4, 1, 1, "ac/dc", 366654, 12021261, 0.99);
740
+ INSERT INTO track VALUES (22, "bad boy boogie", 4, 1, 1, "ac/dc", 267728, 8776140, 0.99);
741
+ INSERT INTO track VALUES (23, "problem child", 4, 1, 1, "ac/dc", 325041, 10617116, 0.99);
742
+ INSERT INTO track VALUES (24, "overdose", 4, 1, 1, "ac/dc", 369319, 12066294, 0.99);
743
+ INSERT INTO track VALUES (25, "hell aint a bad place to be", 4, 1, 1, "ac/dc", 254380, 8331286, 0.99);
744
+ INSERT INTO track VALUES (26, "whole lotta rosie", 4, 1, 1, "ac/dc", 323761, 10547154, 0.99);
745
+ INSERT INTO track VALUES (27, "walk on water", 5, 1, 1, "steven tyler joe perry jack blades tommy shaw", 295680, 9719579, 0.99);
746
+ INSERT INTO track VALUES (28, "love in an elevator", 5, 1, 1, "steven tyler joe perry", 321828, 10552051, 0.99);
747
+ INSERT INTO track VALUES (29, "rag doll", 5, 1, 1, "steven tyler joe perry jim vallance holly knight", 264698, 8675345, 0.99);
748
+ INSERT INTO track VALUES (30, "what it takes", 5, 1, 1, "steven tyler joe perry desmond child", 310622, 10144730, 0.99);
749
+ INSERT INTO track VALUES (31, "dude looks like a lady", 5, 1, 1, "steven tyler joe perry desmond child", 264855, 8679940, 0.99);
750
+ INSERT INTO track VALUES (32, "janies got a gun", 5, 1, 1, "steven tyler tom hamilton", 330736, 10869391, 0.99);
751
+ INSERT INTO track VALUES (33, "cryin", 5, 1, 1, "steven tyler joe perry taylor rhodes", 309263, 10056995, 0.99);
752
+ INSERT INTO track VALUES (34, "amazing", 5, 1, 1, "steven tyler richie supa", 356519, 11616195, 0.99);
753
+ INSERT INTO track VALUES (35, "blind man", 5, 1, 1, "steven tyler joe perry taylor rhodes", 240718, 7877453, 0.99);
754
+ INSERT INTO track VALUES (36, "deuces are wild", 5, 1, 1, "steven tyler jim vallance", 215875, 7074167, 0.99);
755
+ INSERT INTO track VALUES (37, "the other side", 5, 1, 1, "steven tyler jim vallance", 244375, 7983270, 0.99);
756
+ INSERT INTO track VALUES (38, "crazy", 5, 1, 1, "steven tyler joe perry desmond child", 316656, 10402398, 0.99);
757
+ INSERT INTO track VALUES (39, "eat the rich", 5, 1, 1, "steven tyler joe perry jim vallance", 251036, 8262039, 0.99);
758
+ INSERT INTO track VALUES (40, "angel", 5, 1, 1, "steven tyler desmond child", 307617, 9989331, 0.99);
759
+ INSERT INTO track VALUES (41, "livin on the edge", 5, 1, 1, "steven tyler joe perry mark hudson", 381231, 12374569, 0.99);
760
+ INSERT INTO track VALUES (42, "all i really want", 6, 1, 1, "alanis morissette & glenn ballard", 284891, 9375567, 0.99);
761
+ INSERT INTO track VALUES (43, "you oughta know", 6, 1, 1, "alanis morissette & glenn ballard", 249234, 8196916, 0.99);
762
+ INSERT INTO track VALUES (44, "perfect", 6, 1, 1, "alanis morissette & glenn ballard", 188133, 6145404, 0.99);
763
+ INSERT INTO track VALUES (45, "hand in my pocket", 6, 1, 1, "alanis morissette & glenn ballard", 221570, 7224246, 0.99);
764
+ INSERT INTO track VALUES (46, "right through you", 6, 1, 1, "alanis morissette & glenn ballard", 176117, 5793082, 0.99);
765
+ INSERT INTO track VALUES (47, "forgiven", 6, 1, 1, "alanis morissette & glenn ballard", 300355, 9753256, 0.99);
766
+ INSERT INTO track VALUES (48, "you learn", 6, 1, 1, "alanis morissette & glenn ballard", 239699, 7824837, 0.99);
767
+ INSERT INTO track VALUES (49, "head over feet", 6, 1, 1, "alanis morissette & glenn ballard", 267493, 8758008, 0.99);
768
+ INSERT INTO track VALUES (50, "mary jane", 6, 1, 1, "alanis morissette & glenn ballard", 280607, 9163588, 0.99);
769
+ INSERT INTO track VALUES (51, "ironic", 6, 1, 1, "alanis morissette & glenn ballard", 229825, 7598866, 0.99);
770
+ INSERT INTO track VALUES (52, "not the doctor", 6, 1, 1, "alanis morissette & glenn ballard", 227631, 7604601, 0.99);
771
+ INSERT INTO track VALUES (53, "wake up", 6, 1, 1, "alanis morissette & glenn ballard", 293485, 9703359, 0.99);
772
+ INSERT INTO track VALUES (54, "you oughta know alternate", 6, 1, 1, "alanis morissette & glenn ballard", 491885, 16008629, 0.99);
773
+ INSERT INTO track VALUES (55, "we die young", 7, 1, 1, "jerry cantrell", 152084, 4925362, 0.99);
774
+ INSERT INTO track VALUES (56, "man in the box", 7, 1, 1, "jerry cantrell layne staley", 286641, 9310272, 0.99);
775
+ INSERT INTO track VALUES (57, "sea of sorrow", 7, 1, 1, "jerry cantrell", 349831, 11316328, 0.99);
776
+ INSERT INTO track VALUES (58, "bleed the freak", 7, 1, 1, "jerry cantrell", 241946, 7847716, 0.99);
777
+ INSERT INTO track VALUES (59, "i cant remember", 7, 1, 1, "jerry cantrell layne staley", 222955, 7302550, 0.99);
778
+ INSERT INTO track VALUES (60, "love hate love", 7, 1, 1, "jerry cantrell layne staley", 387134, 12575396, 0.99);
779
+ INSERT INTO track VALUES (61, "it aint like that", 7, 1, 1, "jerry cantrell michael starr sean kinney", 277577, 8993793, 0.99);
780
+ INSERT INTO track VALUES (62, "sunshine", 7, 1, 1, "jerry cantrell", 284969, 9216057, 0.99);
781
+ INSERT INTO track VALUES (63, "put you down", 7, 1, 1, "jerry cantrell", 196231, 6420530, 0.99);
782
+ INSERT INTO track VALUES (64, "confusion", 7, 1, 1, "jerry cantrell michael starr layne staley", 344163, 11183647, 0.99);
783
+ INSERT INTO track VALUES (65, "i know somethin bout you", 7, 1, 1, "jerry cantrell", 261955, 8497788, 0.99);
784
+ INSERT INTO track VALUES (66, "real thing", 7, 1, 1, "jerry cantrell layne staley", 243879, 7937731, 0.99);
785
+ INSERT INTO track VALUES (67, "desafinado", 8, 1, 1, "NULL", 185338, 5990473, 0.99);
786
+ INSERT INTO track VALUES (68, "garota de ipanema", 8, 1, 1, "NULL", 285048, 9348428, 0.99);
787
+ INSERT INTO track VALUES (69, "samba de uma nota só one note samba", 8, 1, 1, "NULL", 137273, 4535401, 0.99);
788
+ INSERT INTO track VALUES (70, "por causa de você", 8, 1, 1, "NULL", 169900, 5536496, 0.99);
789
+ INSERT INTO track VALUES (71, "ligia", 8, 1, 1, "NULL", 251977, 8226934, 0.99);
790
+ INSERT INTO track VALUES (72, "fotografia", 8, 1, 1, "NULL", 129227, 4198774, 0.99);
791
+ INSERT INTO track VALUES (73, "dindi dindi", 8, 1, 1, "NULL", 253178, 8149148, 0.99);
792
+ INSERT INTO track VALUES (74, "se todos fossem iguais a você instrumental", 8, 1, 1, "NULL", 134948, 4393377, 0.99);
793
+ INSERT INTO track VALUES (75, "falando de amor", 8, 1, 1, "NULL", 219663, 7121735, 0.99);
794
+ INSERT INTO track VALUES (76, "angela", 8, 1, 1, "NULL", 169508, 5574957, 0.99);
795
+ INSERT INTO track VALUES (77, "corcovado quiet nights of quiet stars", 8, 1, 1, "NULL", 205662, 6687994, 0.99);
796
+ INSERT INTO track VALUES (78, "outra vez", 8, 1, 1, "NULL", 126511, 4110053, 0.99);
797
+ INSERT INTO track VALUES (79, "o boto bôto", 8, 1, 1, "NULL", 366837, 12089673, 0.99);
798
+ INSERT INTO track VALUES (80, "canta canta mais", 8, 1, 1, "NULL", 271856, 8719426, 0.99);
799
+ INSERT INTO track VALUES (81, "enter sandman", 9, 1, 1, "apocalyptica", 221701, 7286305, 0.99);
800
+ INSERT INTO track VALUES (82, "master of puppets", 9, 1, 1, "apocalyptica", 436453, 14375310, 0.99);
801
+ INSERT INTO track VALUES (83, "harvester of sorrow", 9, 1, 1, "apocalyptica", 374543, 12372536, 0.99);
802
+ INSERT INTO track VALUES (84, "the unforgiven", 9, 1, 1, "apocalyptica", 322925, 10422447, 0.99);
803
+ INSERT INTO track VALUES (85, "sad but true", 9, 1, 1, "apocalyptica", 288208, 9405526, 0.99);
804
+ INSERT INTO track VALUES (86, "creeping death", 9, 1, 1, "apocalyptica", 308035, 10110980, 0.99);
805
+ INSERT INTO track VALUES (87, "wherever i may roam", 9, 1, 1, "apocalyptica", 369345, 12033110, 0.99);
806
+ INSERT INTO track VALUES (88, "welcome home sanitarium", 9, 1, 1, "apocalyptica", 350197, 11406431, 0.99);
807
+ INSERT INTO track VALUES (89, "cochise", 10, 1, 1, "audioslave/chris cornell", 222380, 5339931, 0.99);
808
+ INSERT INTO track VALUES (90, "show me how to live", 10, 1, 1, "audioslave/chris cornell", 277890, 6672176, 0.99);
809
+ INSERT INTO track VALUES (91, "gasoline", 10, 1, 1, "audioslave/chris cornell", 279457, 6709793, 0.99);
810
+ INSERT INTO track VALUES (92, "what you are", 10, 1, 1, "audioslave/chris cornell", 249391, 5988186, 0.99);
811
+ INSERT INTO track VALUES (93, "like a stone", 10, 1, 1, "audioslave/chris cornell", 294034, 7059624, 0.99);
812
+ INSERT INTO track VALUES (94, "set it off", 10, 1, 1, "audioslave/chris cornell", 263262, 6321091, 0.99);
813
+ INSERT INTO track VALUES (95, "shadow on the sun", 10, 1, 1, "audioslave/chris cornell", 343457, 8245793, 0.99);
814
+ INSERT INTO track VALUES (96, "i am the highway", 10, 1, 1, "audioslave/chris cornell", 334942, 8041411, 0.99);
815
+ INSERT INTO track VALUES (97, "exploder", 10, 1, 1, "audioslave/chris cornell", 206053, 4948095, 0.99);
816
+ INSERT INTO track VALUES (98, "hypnotize", 10, 1, 1, "audioslave/chris cornell", 206628, 4961887, 0.99);
817
+ INSERT INTO track VALUES (99, "bringem back alive", 10, 1, 1, "audioslave/chris cornell", 329534, 7911634, 0.99);
818
+ INSERT INTO track VALUES (100, "light my way", 10, 1, 1, "audioslave/chris cornell", 303595, 7289084, 0.99);
819
+ INSERT INTO track VALUES (101, "getaway car", 10, 1, 1, "audioslave/chris cornell", 299598, 7193162, 0.99);
820
+ INSERT INTO track VALUES (102, "the last remaining light", 10, 1, 1, "audioslave/chris cornell", 317492, 7622615, 0.99);
821
+ INSERT INTO track VALUES (103, "your time has come", 11, 1, 1, "cornell commerford morello wilk", 255529, 8273592, 0.99);
822
+ INSERT INTO track VALUES (104, "out of exile", 11, 1, 1, "cornell commerford morello wilk", 291291, 9506571, 0.99);
823
+
824
+
825
+ COMMIT;
testsets/aggregation_in_column/databases_aggregation_in_column/chinook_1/chinook_1.sqlite ADDED
Binary file (77.8 kB). View file
 
testsets/aggregation_in_column/databases_aggregation_in_column/concert_singer/concert_singer.sql ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CREATE TABLE "stadium" (
2
+ "stadium_id" integer,
3
+ "location" text,
4
+ "name" text,
5
+ "capacity" integer,
6
+ "highest" integer,
7
+ "lowest" integer,
8
+ "average" integer
9
+ );
10
+
11
+ INSERT INTO stadium VALUES (1, "raith rovers", "starks park", 10104, 4812, 1294, 2106);
12
+ INSERT INTO stadium VALUES (2, "ayr united", "somerset park", 11998, 2363, 1057, 1477);
13
+ INSERT INTO stadium VALUES (3, "east fife", "bayview stadium", 2000, 1980, 533, 864);
14
+ INSERT INTO stadium VALUES (4, "queens park", "hampden park", 52500, 1763, 466, 730);
15
+ INSERT INTO stadium VALUES (5, "stirling albion", "forthbank stadium", 3808, 1125, 404, 642);
16
+ INSERT INTO stadium VALUES (6, "arbroath", "gayfield park", 4125, 921, 411, 638);
17
+ INSERT INTO stadium VALUES (7, "alloa athletic", "recreation park", 3100, 1057, 331, 637);
18
+ INSERT INTO stadium VALUES (9, "peterhead", "balmoor", 4000, 837, 400, 615);
19
+ INSERT INTO stadium VALUES (10, "brechin city", "glebe park", 3960, 780, 315, 552);
20
+
21
+ CREATE TABLE "singer" (
22
+ "singer_id" integer,
23
+ "name" text,
24
+ "country" text,
25
+ "song_name" text,
26
+ "song_release_year" text,
27
+ "age" integer,
28
+ "is_male" text
29
+ );
30
+
31
+ INSERT INTO singer VALUES (1, "joe sharp", "netherlands", "you", "1992", 52, "f");
32
+ INSERT INTO singer VALUES (2, "timbaland", "united states", "dangerous", "2008", 32, "t");
33
+ INSERT INTO singer VALUES (3, "justin brown", "france", "hey oh", "2013", 29, "t");
34
+ INSERT INTO singer VALUES (4, "rose white", "france", "sun", "2003", 41, "f");
35
+ INSERT INTO singer VALUES (5, "john nizinik", "france", "gentleman", "2014", 43, "t");
36
+ INSERT INTO singer VALUES (6, "tribal king", "france", "love", "2016", 25, "t");
37
+
38
+ CREATE TABLE "concert" (
39
+ "concert_id" integer,
40
+ "concert_name" text,
41
+ "theme" text,
42
+ "stadium_id" text,
43
+ "year" text
44
+ );
45
+
46
+ INSERT INTO concert VALUES (1, "auditions", "free choice", "1", "2014");
47
+ INSERT INTO concert VALUES (2, "super bootcamp", "free choice 2", "2", "2014");
48
+ INSERT INTO concert VALUES (3, "home visits", "bleeding love", "2", "2015");
49
+ INSERT INTO concert VALUES (4, "week 1", "wide awake", "10", "2014");
50
+ INSERT INTO concert VALUES (5, "week 1", "happy tonight", "9", "2015");
51
+ INSERT INTO concert VALUES (6, "week 2", "party all night", "7", "2015");
52
+
53
+ CREATE TABLE "singer_in_concert" (
54
+ "concert_id" integer,
55
+ "singer_id" text
56
+ );
57
+
58
+ INSERT INTO singer_in_concert VALUES (1, "2");
59
+ INSERT INTO singer_in_concert VALUES (1, "3");
60
+ INSERT INTO singer_in_concert VALUES (1, "5");
61
+ INSERT INTO singer_in_concert VALUES (2, "3");
62
+ INSERT INTO singer_in_concert VALUES (2, "6");
63
+ INSERT INTO singer_in_concert VALUES (3, "5");
64
+ INSERT INTO singer_in_concert VALUES (4, "4");
65
+ INSERT INTO singer_in_concert VALUES (5, "6");
66
+ INSERT INTO singer_in_concert VALUES (5, "3");
67
+ INSERT INTO singer_in_concert VALUES (6, "2");
68
+
69
+
70
+ COMMIT;
testsets/aggregation_in_column/databases_aggregation_in_column/concert_singer/concert_singer.sqlite ADDED
Binary file (20.5 kB). View file
 
testsets/aggregation_in_column/databases_aggregation_in_column/farm/farm.sql ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CREATE TABLE "city" (
2
+ "city_id" integer,
3
+ "official_name" text,
4
+ "status" text,
5
+ "area_km_2" real,
6
+ "population" real,
7
+ "census_ranking" text
8
+ );
9
+
10
+ INSERT INTO city VALUES (1, "grand falls/grand-sault", "town", 18.06, 5706.0, "636 of 5008");
11
+ INSERT INTO city VALUES (2, "perth-andover", "village", 8.89, 1778.0, "1442 of 5008");
12
+ INSERT INTO city VALUES (3, "plaster rock", "village", 3.09, 1135.0, "1936 of 5008");
13
+ INSERT INTO city VALUES (4, "drummond", "village", 8.91, 775.0, "2418 of 5008");
14
+ INSERT INTO city VALUES (5, "aroostook", "village", 2.24, 351.0, "3460 of 5008");
15
+
16
+ CREATE TABLE "farm" (
17
+ "farm_id" integer,
18
+ "year" integer,
19
+ "total_horses" real,
20
+ "working_horses" real,
21
+ "total_cattle" real,
22
+ "oxen" real,
23
+ "bulls" real,
24
+ "cows" real,
25
+ "pigs" real,
26
+ "sheep_and_goats" real
27
+ );
28
+
29
+ INSERT INTO farm VALUES (1, 1927, 5056.5, 3900.1, 8374.5, 805.5, 31.6, 3852.1, 4412.4, 7956.3);
30
+ INSERT INTO farm VALUES (2, 1928, 5486.9, 4090.5, 8604.8, 895.3, 32.8, 3987.0, 6962.9, 8112.2);
31
+ INSERT INTO farm VALUES (3, 1929, 5607.5, 4198.8, 7611.0, 593.7, 26.9, 3873.0, 4161.2, 7030.8);
32
+ INSERT INTO farm VALUES (4, 1930, 5308.2, 3721.6, 6274.1, 254.8, 49.6, 3471.6, 3171.8, 4533.4);
33
+ INSERT INTO farm VALUES (5, 1931, 4781.3, 3593.7, 6189.5, 113.8, 40.0, 3377.0, 3373.3, 3364.8);
34
+ INSERT INTO farm VALUES (6, 1932, 3658.9, 3711.6, 5006.7, 105.2, 71.6, 2739.5, 2623.7, 2109.5);
35
+ INSERT INTO farm VALUES (7, 1933, 2604.8, 3711.2, 4446.3, 116.9, 37.6, 2407.2, 2089.2, 2004.7);
36
+ INSERT INTO farm VALUES (8, 1934, 2546.9, 2197.3, 5277.5, 156.5, 46.7, 2518.0, 4236.7, 2197.1);
37
+
38
+ CREATE TABLE "farm_competition" (
39
+ "competition_id" integer,
40
+ "year" integer,
41
+ "theme" text,
42
+ "host_city_id" integer,
43
+ "hosts" text
44
+ );
45
+
46
+ INSERT INTO farm_competition VALUES (1, 2013, "carnival m is back!", 1, "miley cyrus jared leto and karen mok");
47
+ INSERT INTO farm_competition VALUES (2, 2006, "codehunters", 2, "leehom wang and kelly rowland");
48
+ INSERT INTO farm_competition VALUES (3, 2005, "mtv asia aid", 3, "alicia keys");
49
+ INSERT INTO farm_competition VALUES (4, 2004, "valentines day", 4, "vanness wu and michelle branch");
50
+ INSERT INTO farm_competition VALUES (5, 2003, "mtv cube", 5, "shaggy and coco lee");
51
+ INSERT INTO farm_competition VALUES (6, 2002, "aliens", 5, "mandy moore and ronan keating");
52
+
53
+ CREATE TABLE "competition_record" (
54
+ "competition_id" integer,
55
+ "farm_id" integer,
56
+ "rank" integer
57
+ );
58
+
59
+ INSERT INTO competition_record VALUES (1, 2, 1);
60
+ INSERT INTO competition_record VALUES (1, 3, 2);
61
+ INSERT INTO competition_record VALUES (1, 8, 3);
62
+ INSERT INTO competition_record VALUES (2, 1, 3);
63
+ INSERT INTO competition_record VALUES (2, 3, 1);
64
+ INSERT INTO competition_record VALUES (2, 4, 2);
65
+ INSERT INTO competition_record VALUES (3, 1, 1);
66
+ INSERT INTO competition_record VALUES (3, 7, 3);
67
+ INSERT INTO competition_record VALUES (4, 1, 2);
68
+ INSERT INTO competition_record VALUES (4, 3, 4);
69
+ INSERT INTO competition_record VALUES (5, 3, 1);
70
+ INSERT INTO competition_record VALUES (5, 5, 2);
71
+
72
+
73
+ COMMIT;
testsets/aggregation_in_column/databases_aggregation_in_column/farm/farm.sqlite ADDED
Binary file (20.5 kB). View file
 
testsets/aggregation_in_column/databases_aggregation_in_column/game_injury/game_injury.sql ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CREATE TABLE "stadium" (
2
+ "id" integer,
3
+ "name" text,
4
+ "home_games" integer,
5
+ "average_attendance" real,
6
+ "total_attendance" real,
7
+ "capacity_percentage" real
8
+ );
9
+
10
+ INSERT INTO stadium VALUES (1, "cowboys stadium", 8, 87047.0, 696377.0, 108.8);
11
+ INSERT INTO stadium VALUES (2, "fedexfield", 8, 83172.0, 665380.0, 90.7);
12
+ INSERT INTO stadium VALUES (3, "new meadowlands stadium", 8, 79019.0, 632156.0, 95.8);
13
+ INSERT INTO stadium VALUES (4, "new meadowlands stadium", 8, 78596.0, 628768.0, 95.3);
14
+ INSERT INTO stadium VALUES (5, "invesco field at mile high", 8, 74908.0, 599264.0, 98.4);
15
+ INSERT INTO stadium VALUES (6, "bank of america stadium", 8, 72620.0, 580965.0, 98.4);
16
+ INSERT INTO stadium VALUES (7, "m&t bank stadium", 8, 71227.0, 569817.0, 100.3);
17
+ INSERT INTO stadium VALUES (8, "reliant stadium", 8, 71080.0, 568643.0, 100.0);
18
+ INSERT INTO stadium VALUES (9, "lambeau field", 8, 70795.0, 566362.0, 97.1);
19
+ INSERT INTO stadium VALUES (10, "louisiana superdome", 8, 70038.0, 560304.0, 96.0);
20
+ INSERT INTO stadium VALUES (11, "lincoln financial field", 8, 69144.0, 553152.0, 102.3);
21
+ INSERT INTO stadium VALUES (12, "lp field", 8, 69143.0, 553144.0, 100.0);
22
+ INSERT INTO stadium VALUES (13, "gillette stadium", 8, 68756.0, 550048.0, 100.0);
23
+
24
+ CREATE TABLE "game" (
25
+ "stadium_id" integer,
26
+ "id" integer,
27
+ "season" integer,
28
+ "date" text,
29
+ "home_team" text,
30
+ "away_team" text,
31
+ "score" text,
32
+ "competition" text
33
+ );
34
+
35
+ INSERT INTO game VALUES (1, 1, 2007, "18 may 2007", "quruvchi", "pakhtakor", "1–1", "league");
36
+ INSERT INTO game VALUES (2, 2, 2007, "22 september 2007", "pakhtakor", "quruvchi", "0–0", "league");
37
+ INSERT INTO game VALUES (3, 3, 2007, "9 december 2007", "pakhtakor", "quruvchi", "0–0 7:6", "cup");
38
+ INSERT INTO game VALUES (4, 4, 2008, "10 july 2008", "pakhtakor", "quruvchi", "1–1", "league");
39
+ INSERT INTO game VALUES (5, 5, 2008, "16 august 2008", "bunyodkor", "pakhtakor", "1–1", "league");
40
+ INSERT INTO game VALUES (6, 6, 2008, "31 october 2008", "bunyodkor", "pakhtakor", "3–1", "cup");
41
+ INSERT INTO game VALUES (7, 7, 2009, "12 july 2009", "bunyodkor", "pakhtakor", "2–1", "league");
42
+ INSERT INTO game VALUES (8, 8, 2009, "14 october 2009", "pakhtakor", "bunyodkor", "0–0", "league");
43
+ INSERT INTO game VALUES (9, 9, 2009, "8 august 2009", "pakhtakor", "bunyodkor", "1–0", "cup");
44
+ INSERT INTO game VALUES (10, 10, 2010, "14 march 2010", "bunyodkor", "pakhtakor", "2–1", "league");
45
+ INSERT INTO game VALUES (10, 11, 2010, "31 october 2010", "pakhtakor", "bunyodkor", "0–0", "league");
46
+ INSERT INTO game VALUES (10, 12, 2011, "7 july 2011", "pakhtakor", "bunyodkor", "0–0", "league");
47
+ INSERT INTO game VALUES (1, 13, 2011, "21 august 2011", "bunyodkor", "pakhtakor", "2–1", "league");
48
+ INSERT INTO game VALUES (2, 14, 2012, "11 march 2012", "bunyodkor", "pakhtakor", "–", "supercup");
49
+ INSERT INTO game VALUES (3, 15, 2012, "26 june 2012", "bunyodkor", "pakhtakor", "2–0", "league");
50
+ INSERT INTO game VALUES (4, 16, 2012, "9 august 2012", "pakhtakor", "bunyodkor", "1–1", "league");
51
+ INSERT INTO game VALUES (5, 17, 2012, "22 august 2012", "bunyodkor", "pakhtakor", "1–1", "cup");
52
+ INSERT INTO game VALUES (11, 18, 2012, "25 november 2012", "pakhtakor", "bunyodkor", "1–3", "cup");
53
+ INSERT INTO game VALUES (12, 19, 2013, "30 june 2013", "pakhtakor", "bunyodkor", "0–2", "league");
54
+ INSERT INTO game VALUES (7, 20, 2013, "8 august 2013", "bunyodkor", "pakhtakor", "1–2", "league");
55
+
56
+ CREATE TABLE "injury_accident" (
57
+ "game_id" integer,
58
+ "id" integer,
59
+ "player" text,
60
+ "injury" text,
61
+ "number_of_matches" text,
62
+ "source" text
63
+ );
64
+
65
+ INSERT INTO injury_accident VALUES (1, 1, "davide santon", "clean-up surgery on his right knee", "12", "inter.it");
66
+ INSERT INTO injury_accident VALUES (2, 2, "maicon", "knee problem", "2", "inter.it");
67
+ INSERT INTO injury_accident VALUES (3, 3, "dejan stanković", "hamstring muscle strain in his left thigh", "2", "inter.it");
68
+ INSERT INTO injury_accident VALUES (4, 4, "wesley sneijder", "foot injury", "1", "inter.it");
69
+ INSERT INTO injury_accident VALUES (5, 5, "diego milito", "slight thigh strain in right leg", "1", "inter.it");
70
+ INSERT INTO injury_accident VALUES (5, 6, "javier zanetti", "post-traumatic pneumothrorax", "4", "inter.it");
71
+ INSERT INTO injury_accident VALUES (6, 7, "walter samuel", "right thigh muscle strain", "3", "inter.it");
72
+ INSERT INTO injury_accident VALUES (6, 8, "thiago motta", "surgery on his right knee", "10", "inter.it");
73
+ INSERT INTO injury_accident VALUES (6, 9, "goran pandev", "ankle problem", "3", "inter.it");
74
+ INSERT INTO injury_accident VALUES (8, 10, "iván córdoba", "sustained a biceps femoris strain in his left leg", "1", "inter.it");
75
+ INSERT INTO injury_accident VALUES (9, 11, "esteban cambiasso", "first-degree strain left hamstring muscles", "2", "inter.it");
76
+ INSERT INTO injury_accident VALUES (10, 12, "dejan stanković 2", "right calf strain", "4 6", "inter.it");
77
+ INSERT INTO injury_accident VALUES (10, 13, "wesley sneijder 2", "fainted during half time", "1 2", "inter.it");
78
+ INSERT INTO injury_accident VALUES (11, 14, "esteban cambiasso 2", "sustained posterior thigh strains in his left leg", "4 6", "inter.it");
79
+ INSERT INTO injury_accident VALUES (12, 15, "thiago motta 2", "knee problem", "7 17", "inter.it");
80
+
81
+
82
+ COMMIT;
testsets/aggregation_in_column/databases_aggregation_in_column/game_injury/game_injury.sqlite ADDED
Binary file (16.4 kB). View file
 
testsets/aggregation_in_column/databases_aggregation_in_column/gymnast/gymnast.sql ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CREATE TABLE "gymnast" (
2
+ "gymnast_id" integer,
3
+ "floor_exercise_points" real,
4
+ "pommel_horse_points" real,
5
+ "rings_points" real,
6
+ "vault_points" real,
7
+ "parallel_bars_points" real,
8
+ "horizontal_bar_points" real,
9
+ "total_points" real
10
+ );
11
+
12
+ INSERT INTO gymnast VALUES (1, 9.725, 9.737, 9.512, 9.575, 9.762, 9.75, 58.061);
13
+ INSERT INTO gymnast VALUES (2, 9.7, 9.625, 9.625, 9.65, 9.587, 9.737, 57.924);
14
+ INSERT INTO gymnast VALUES (4, 8.987, 9.75, 9.75, 9.65, 9.787, 9.725, 57.649);
15
+ INSERT INTO gymnast VALUES (6, 9.762, 9.325, 9.475, 9.762, 9.562, 9.55, 57.436);
16
+ INSERT INTO gymnast VALUES (7, 9.687, 9.675, 9.3, 9.537, 9.725, 9.5, 57.424);
17
+ INSERT INTO gymnast VALUES (8, 9.65, 9.712, 9.487, 9.637, 9.5, 9.412, 57.398);
18
+ INSERT INTO gymnast VALUES (10, 9.412, 9.525, 9.712, 9.55, 9.625, 9.55, 57.374);
19
+
20
+ CREATE TABLE "people" (
21
+ "people_id" integer,
22
+ "name" text,
23
+ "age" real,
24
+ "height" real,
25
+ "hometown" text
26
+ );
27
+
28
+ INSERT INTO people VALUES (1, "paul hamm", 24.0, 1.71, "santo domingo");
29
+ INSERT INTO people VALUES (2, "lorraine súarez carmona", 21.0, 1.75, "bonao");
30
+ INSERT INTO people VALUES (3, "ashley pérez cabrera", 19.0, 1.7, "miami");
31
+ INSERT INTO people VALUES (4, "elizabeth quiñónez aroyo", 20.0, 1.71, "santo domingo");
32
+ INSERT INTO people VALUES (5, "eve tatiana cruz oviedo", 19.0, 1.72, "santo domingo");
33
+ INSERT INTO people VALUES (6, "nadia caba rodríguez", 22.0, 1.79, "santo domingo");
34
+ INSERT INTO people VALUES (7, "clary sermina delgado cid", 21.0, 1.75, "santiago de los caballeros");
35
+ INSERT INTO people VALUES (8, "marina castro medina", 20.0, 1.76, "santo domingo");
36
+ INSERT INTO people VALUES (9, "rosa clarissa ortíz melo", 23.0, 1.81, "la romana");
37
+ INSERT INTO people VALUES (10, "endis de los santos álvarez", 24.0, 1.72, "los alcarrizos");
38
+
39
+
40
+ COMMIT;
testsets/aggregation_in_column/databases_aggregation_in_column/gymnast/gymnast.sqlite ADDED
Binary file (12.3 kB). View file
 
testsets/aggregation_in_column/databases_aggregation_in_column/mountain_photos/mountain_photos.sql ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CREATE TABLE "mountain" (
2
+ "id" integer,
3
+ "name" text,
4
+ "height" real,
5
+ "prominence" real,
6
+ "range" text,
7
+ "country" text
8
+ );
9
+
10
+ INSERT INTO mountain VALUES (1, "abune yosef / guliba amba", 4260.0, 1909.0, "lasta massif", "ethiopia");
11
+ INSERT INTO mountain VALUES (2, "ioll / yoll", 4220.0, 350.0, "kollo massif", "ethiopia");
12
+ INSERT INTO mountain VALUES (3, "bada", 4195.0, 1605.0, "arsi mountains", "ethiopia");
13
+ INSERT INTO mountain VALUES (4, "kaka / kecha / chiqe", 4193.0, 1215.0, "arsi mountains", "ethiopia");
14
+ INSERT INTO mountain VALUES (5, "jbel toubkal", 4167.0, 3755.0, "toubkal atlas", "morocco");
15
+ INSERT INTO mountain VALUES (6, "muhavura", 4127.0, 1530.0, "virunga mountains", "rwanda uganda");
16
+ INSERT INTO mountain VALUES (7, "hey / hay", 4125.0, 660.0, "semien mountains", "ethiopia");
17
+ INSERT INTO mountain VALUES (8, "guna", 4120.0, 1510.0, "guna massif", "ethiopia");
18
+ INSERT INTO mountain VALUES (9, "choqa / choke / birhan", 4100.0, 2225.0, "choqa mountains", "ethiopia");
19
+ INSERT INTO mountain VALUES (10, "ouanoukrim", 4088.0, 420.0, "toubkal atlas", "morocco");
20
+ INSERT INTO mountain VALUES (11, "chilalo", 4071.0, 610.0, "arsi mountains", "ethiopia");
21
+ INSERT INTO mountain VALUES (12, "mount cameroon", 4070.0, 3931.0, "cameroon line", "cameroon");
22
+ INSERT INTO mountain VALUES (13, "inatye", 4070.0, 500.0, "semien mountains", "ethiopia");
23
+ INSERT INTO mountain VALUES (14, "ighil mgoun", 4068.0, 1904.0, "central high atlas", "morocco");
24
+ INSERT INTO mountain VALUES (15, "weshema / wasema?", 4030.0, 420.0, "bale mountains", "ethiopia");
25
+ INSERT INTO mountain VALUES (16, "oldoinyo lesatima", 4001.0, 2081.0, "aberdare range", "kenya");
26
+ INSERT INTO mountain VALUES (17, "jebel ntarourt / tifnout / iferouane", 3996.0, 910.0, "toubkal atlas", "morocco");
27
+ INSERT INTO mountain VALUES (18, "muggia", 3950.0, 500.0, "lasta massif", "ethiopia");
28
+ INSERT INTO mountain VALUES (19, "dubbai", 3941.0, 1540.0, "tigray mountains", "ethiopia");
29
+ INSERT INTO mountain VALUES (20, "taska n’zat", 3912.0, 460.0, "toubkal atlas", "morocco");
30
+ INSERT INTO mountain VALUES (21, "aksouâl", 3903.0, 450.0, "toubkal atlas", "morocco");
31
+ INSERT INTO mountain VALUES (22, "mount kinangop", 3902.0, 530.0, "aberdare range", "kenya");
32
+ INSERT INTO mountain VALUES (23, "cimbia", 3900.0, 590.0, "kollo massif", "ethiopia");
33
+
34
+ CREATE TABLE "camera_lens" (
35
+ "id" integer,
36
+ "brand" text,
37
+ "name" text,
38
+ "focal_length_mm" real,
39
+ "max_aperture" real
40
+ );
41
+
42
+ INSERT INTO camera_lens VALUES (1, "olympus", "olympus 15mm f/8.0 body cap", 15.0, 8.0);
43
+ INSERT INTO camera_lens VALUES (2, "olympus", "olympus m.zuiko digital ed 45mm f/1.8", 45.0, 1.8);
44
+ INSERT INTO camera_lens VALUES (3, "olympus", "olympus m.zuiko digital ed 75mm f/1.8", 75.0, 1.8);
45
+ INSERT INTO camera_lens VALUES (4, "panasonic", "panasonic leica dg summilux 25mm f /1.4 asph.", 25.0, 1.4);
46
+ INSERT INTO camera_lens VALUES (5, "panasonic", "panasonic leica dg nocticron 42.5mm f /1.2", 42.5, 1.2);
47
+ INSERT INTO camera_lens VALUES (6, "panasonic", "panasonic lumix g 150mm f /2.8", 150.0, 2.8);
48
+ INSERT INTO camera_lens VALUES (7, "schneider kreuznach", "schneider kreuznach super angulon 14mm f /2.0", 14.0, 2.0);
49
+ INSERT INTO camera_lens VALUES (8, "schneider kreuznach", "schneider kreuznach xenon 30mm f /1.4", 30.0, 1.4);
50
+ INSERT INTO camera_lens VALUES (9, "sigma", "sigma 19mm f2.8 dn", 19.0, 2.8);
51
+ INSERT INTO camera_lens VALUES (10, "sigma", "sigma 19mm f2.8 ex dn", 19.0, 2.8);
52
+ INSERT INTO camera_lens VALUES (11, "sigma", "sigma 30mm f2.8 dn", 30.0, 2.8);
53
+
54
+ CREATE TABLE "photos" (
55
+ "id" integer,
56
+ "camera_lens_id" integer,
57
+ "mountain_id" integer,
58
+ "color" text,
59
+ "name" text
60
+ );
61
+
62
+ INSERT INTO photos VALUES (1, 1, 20, "rbg", "monkey");
63
+ INSERT INTO photos VALUES (2, 10, 2, "rbg", "rabbits");
64
+ INSERT INTO photos VALUES (3, 10, 1, "black/white", "deers");
65
+ INSERT INTO photos VALUES (4, 1, 10, "rbg", "grass");
66
+ INSERT INTO photos VALUES (5, 5, 14, "rbg", "cloud");
67
+ INSERT INTO photos VALUES (6, 6, 12, "rbg", "sunset");
68
+ INSERT INTO photos VALUES (7, 7, 12, "rbg", "river");
69
+ INSERT INTO photos VALUES (8, 7, 12, "black/white", "wolfs");
70
+ INSERT INTO photos VALUES (9, 10, 14, "rbg", "the mountain");
71
+ INSERT INTO photos VALUES (10, 10, 20, "rbg", "life");
72
+
73
+
74
+ COMMIT;
testsets/aggregation_in_column/databases_aggregation_in_column/mountain_photos/mountain_photos.sqlite ADDED
Binary file (16.4 kB). View file
 
testsets/aggregation_in_column/databases_aggregation_in_column/museum_visit/museum_visit.sql ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CREATE TABLE "museum" (
2
+ "museum_id" integer,
3
+ "name" text,
4
+ "num_of_staff" integer,
5
+ "open_year" text
6
+ );
7
+
8
+ INSERT INTO museum VALUES (1, "plaza museum", 62, "2000");
9
+ INSERT INTO museum VALUES (2, "capital plaza museum", 25, "2012");
10
+ INSERT INTO museum VALUES (3, "jefferson development museum", 18, "2010");
11
+ INSERT INTO museum VALUES (4, "willow grande museum", 17, "2011");
12
+ INSERT INTO museum VALUES (5, "riverpark museum", 16, "2008");
13
+ INSERT INTO museum VALUES (6, "place tower museum", 16, "2008");
14
+ INSERT INTO museum VALUES (7, "central city district residential museum", 15, "2010");
15
+ INSERT INTO museum VALUES (8, "zirmed gateway museum", 12, "2009");
16
+
17
+ CREATE TABLE "visitor" (
18
+ "id" integer,
19
+ "name" text,
20
+ "level_of_membership" integer,
21
+ "age" integer
22
+ );
23
+
24
+ INSERT INTO visitor VALUES (1, "gonzalo higuaín", 8, 35);
25
+ INSERT INTO visitor VALUES (2, "guti midfielder", 5, 28);
26
+ INSERT INTO visitor VALUES (3, "arjen robben", 1, 27);
27
+ INSERT INTO visitor VALUES (4, "raúl brown", 2, 56);
28
+ INSERT INTO visitor VALUES (5, "fernando gago", 6, 36);
29
+ INSERT INTO visitor VALUES (6, "rafael van der vaart", 1, 25);
30
+
31
+ CREATE TABLE "visit" (
32
+ "museum_id" integer,
33
+ "visitor_id" text,
34
+ "num_of_ticket" integer,
35
+ "total_spent" real
36
+ );
37
+
38
+ INSERT INTO visit VALUES (1, "5", 20, 320.14);
39
+ INSERT INTO visit VALUES (2, "3", 4, 89.98);
40
+ INSERT INTO visit VALUES (2, "5", 10, 320.44);
41
+ INSERT INTO visit VALUES (4, "3", 24, 209.98);
42
+ INSERT INTO visit VALUES (4, "6", 3, 20.44);
43
+ INSERT INTO visit VALUES (8, "6", 2, 19.98);
44
+
45
+
46
+ COMMIT;
testsets/aggregation_in_column/databases_aggregation_in_column/museum_visit/museum_visit.sqlite ADDED
Binary file (16.4 kB). View file
 
testsets/aggregation_in_column/databases_aggregation_in_column/products_for_hire/products_for_hire.sql ADDED
@@ -0,0 +1,156 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CREATE TABLE "discount_coupons" (
2
+ "coupon_id" integer,
3
+ "date_issued" text,
4
+ "coupon_amount" integer
5
+ );
6
+
7
+ INSERT INTO discount_coupons VALUES (1, "2017-09-06 01:33:27", 500);
8
+ INSERT INTO discount_coupons VALUES (2, "2018-02-20 09:40:56", 686.25);
9
+ INSERT INTO discount_coupons VALUES (3, "2017-09-17 23:31:36", 501.3);
10
+ INSERT INTO discount_coupons VALUES (4, "2017-07-21 10:10:47", 370.44);
11
+ INSERT INTO discount_coupons VALUES (5, "2017-06-21 22:47:58", 399.89);
12
+ INSERT INTO discount_coupons VALUES (6, "2017-08-16 03:16:48", 689.29);
13
+ INSERT INTO discount_coupons VALUES (7, "2018-02-10 21:18:23", 508.44);
14
+ INSERT INTO discount_coupons VALUES (8, "2017-12-28 20:11:42", 666.46);
15
+ INSERT INTO discount_coupons VALUES (9, "2017-07-03 23:02:14", 685.96);
16
+ INSERT INTO discount_coupons VALUES (10, "2018-03-22 01:10:03", 175.94);
17
+ INSERT INTO discount_coupons VALUES (11, "2017-10-22 06:03:39", 607.62);
18
+ INSERT INTO discount_coupons VALUES (12, "2018-03-21 11:49:13", 523.78);
19
+ INSERT INTO discount_coupons VALUES (13, "2017-07-13 00:37:36", 770.82);
20
+ INSERT INTO discount_coupons VALUES (14, "2018-02-24 01:40:52", 547.39);
21
+ INSERT INTO discount_coupons VALUES (15, "2017-07-02 06:49:42", 245.36);
22
+
23
+ CREATE TABLE "customers" (
24
+ "customer_id" integer,
25
+ "coupon_id" integer,
26
+ "good_or_bad_customer" text,
27
+ "first_name" text,
28
+ "last_name" text,
29
+ "gender_mf" text,
30
+ "date_became_customer" text,
31
+ "date_last_hire" text
32
+ );
33
+
34
+ INSERT INTO customers VALUES (1, 12, "good", "geovany", "homenick", "0", "2017-10-20 12:13:17", "2018-02-27 18:55:26");
35
+ INSERT INTO customers VALUES (2, 14, "good", "jailyn", "gerlach", "0", "2015-04-06 21:18:37", "2018-01-30 04:47:13");
36
+ INSERT INTO customers VALUES (3, 7, "good", "rosalee", "kessler", "0", "2016-02-03 16:58:11", "2018-03-04 21:30:23");
37
+ INSERT INTO customers VALUES (4, 12, "bad", "reba", "jacobs", "1", "2016-06-17 14:11:50", "2018-02-19 06:04:01");
38
+ INSERT INTO customers VALUES (5, 10, "good", "ericka", "greenholt", "0", "2016-08-11 01:50:37", "2018-02-25 04:40:15");
39
+ INSERT INTO customers VALUES (6, 14, "bad", "bridget", "ankunding", "1", "2015-04-24 02:38:16", "2018-02-10 19:44:08");
40
+ INSERT INTO customers VALUES (7, 12, "good", "marilou", "strosin", "1", "2015-12-16 08:05:53", "2018-02-01 16:48:30");
41
+ INSERT INTO customers VALUES (8, 6, "good", "elinore", "crona", "0", "2017-07-27 08:04:22", "2018-03-04 08:59:40");
42
+ INSERT INTO customers VALUES (9, 7, "good", "german", "little", "1", "2017-02-28 14:40:25", "2018-03-13 21:20:05");
43
+ INSERT INTO customers VALUES (10, 1, "bad", "layne", "terry", "1", "2015-05-05 20:29:01", "2018-02-04 08:56:55");
44
+ INSERT INTO customers VALUES (11, 10, "good", "maximilian", "murphy", "0", "2015-07-21 09:24:57", "2018-03-12 09:23:41");
45
+ INSERT INTO customers VALUES (12, 11, "good", "vergie", "nicolas", "0", "2016-02-03 10:31:18", "2018-03-03 23:37:31");
46
+ INSERT INTO customers VALUES (13, 2, "good", "laury", "lemke", "1", "2017-03-18 04:37:59", "2018-03-18 17:35:43");
47
+ INSERT INTO customers VALUES (14, 6, "good", "tyler", "breitenberg", "1", "2016-04-20 21:04:35", "2018-03-03 13:46:38");
48
+ INSERT INTO customers VALUES (15, 3, "bad", "jamir", "schroeder", "1", "2016-05-25 01:12:49", "2018-02-24 11:15:29");
49
+
50
+ CREATE TABLE "bookings" (
51
+ "booking_id" integer,
52
+ "customer_id" integer,
53
+ "booking_status_code" text,
54
+ "returned_damaged_yn" text,
55
+ "booking_start_date" text,
56
+ "booking_end_date" text,
57
+ "count_hired" text,
58
+ "amount_payable" real,
59
+ "amount_of_discount" real,
60
+ "amount_outstanding" real,
61
+ "amount_of_refund" real
62
+ );
63
+
64
+ INSERT INTO bookings VALUES (1, 7, "provisional", "1", "2016-12-07 23:39:17", "2018-02-01 16:39:13", "298", 214.39, 71.45, 28.22, 179.14);
65
+ INSERT INTO bookings VALUES (2, 15, "confirmed", "1", "2017-06-16 11:42:31", "2018-02-19 21:53:31", "331", 386.92, 83.82, 57.62, 183.68);
66
+ INSERT INTO bookings VALUES (3, 3, "confirmed", "1", "2017-04-04 11:02:43", "2018-02-01 09:30:50", "729", 351.32, 49.26, 66.01, 135.94);
67
+ INSERT INTO bookings VALUES (4, 7, "provisional", "0", "2017-06-05 17:56:01", "2017-12-02 00:37:00", "152", 272.08, 45.06, 38.87, 100.78);
68
+ INSERT INTO bookings VALUES (5, 7, "provisional", "1", "2016-11-06 20:54:26", "2017-10-11 03:00:15", "546", 338.1, 79.34, 32.99, 191.31);
69
+ INSERT INTO bookings VALUES (6, 10, "confirmed", "0", "2016-06-05 05:18:17", "2018-01-14 00:29:01", "282", 209.41, 27.78, 52.62, 192.02);
70
+ INSERT INTO bookings VALUES (7, 3, "provisional", "1", "2017-07-15 06:28:54", "2017-11-28 08:11:52", "236", 322.87, 39.27, 56.02, 126.1);
71
+ INSERT INTO bookings VALUES (8, 11, "provisional", "0", "2016-09-26 01:09:20", "2018-03-24 21:21:32", "746", 303.3, 61.55, 68.02, 145.63);
72
+ INSERT INTO bookings VALUES (9, 10, "provisional", "0", "2017-05-24 16:16:29", "2018-03-07 17:39:04", "846", 374.59, 50.93, 26.04, 130.87);
73
+ INSERT INTO bookings VALUES (10, 3, "confirmed", "1", "2016-05-06 03:50:49", "2017-08-30 04:33:23", "857", 320.73, 39.16, 27.81, 112.63);
74
+ INSERT INTO bookings VALUES (11, 9, "provisional", "1", "2017-04-11 00:39:03", "2017-10-02 07:28:09", "488", 273.28, 48.73, 73.88, 181.19);
75
+ INSERT INTO bookings VALUES (12, 3, "provisional", "1", "2017-02-27 12:04:35", "2018-02-06 19:27:09", "914", 281.09, 26.37, 22.97, 110.39);
76
+ INSERT INTO bookings VALUES (13, 8, "provisional", "0", "2016-11-27 17:19:40", "2018-03-04 21:42:45", "499", 286.47, 89.05, 36.79, 143.99);
77
+ INSERT INTO bookings VALUES (14, 8, "confirmed", "1", "2016-04-25 11:04:18", "2018-01-01 10:19:20", "843", 221.57, 24.19, 64.01, 161.9);
78
+ INSERT INTO bookings VALUES (15, 9, "provisional", "1", "2017-04-28 08:35:56", "2018-01-18 23:54:44", "994", 306.26, 78.31, 93.88, 124.95);
79
+
80
+ CREATE TABLE "products_for_hire" (
81
+ "product_id" integer,
82
+ "product_type_code" text,
83
+ "daily_hire_cost" real,
84
+ "product_name" text,
85
+ "product_description" text
86
+ );
87
+
88
+ INSERT INTO products_for_hire VALUES (1, "cutlery", 26.15, "book collection c", "anna karenina");
89
+ INSERT INTO products_for_hire VALUES (2, "cutlery", 15.62, "book collection b", "war and peace");
90
+ INSERT INTO products_for_hire VALUES (3, "cutlery", 39.73, "book collection a", "the great gatsby");
91
+ INSERT INTO products_for_hire VALUES (4, "din_plates", 18.5, "dvd collection a", "twilight");
92
+ INSERT INTO products_for_hire VALUES (5, "cutlery", 39.58, "dvd collection b", "one hundred years of solitude");
93
+
94
+ CREATE TABLE "payments" (
95
+ "payment_id" integer,
96
+ "booking_id" integer,
97
+ "customer_id" integer,
98
+ "payment_type_code" text,
99
+ "amount_paid_in_full_yn" text,
100
+ "payment_date" text,
101
+ "amount_due" real,
102
+ "amount_paid" real
103
+ );
104
+
105
+ INSERT INTO payments VALUES (1, 6, 15, "check", "1", "2018-03-09 16:28:00", 369.52, 206.27);
106
+ INSERT INTO payments VALUES (2, 9, 12, "cash", "1", "2018-03-03 13:39:44", 278.6, 666.45);
107
+ INSERT INTO payments VALUES (3, 5, 7, "credit card", "0", "2018-03-22 15:00:23", 840.06, 135.7);
108
+ INSERT INTO payments VALUES (4, 6, 1, "check", "0", "2018-03-22 02:28:11", 678.29, 668.4);
109
+ INSERT INTO payments VALUES (5, 8, 11, "cash", "1", "2018-03-23 20:36:04", 830.25, 305.65);
110
+ INSERT INTO payments VALUES (6, 15, 8, "check", "0", "2018-03-19 12:39:31", 410.1, 175.54);
111
+ INSERT INTO payments VALUES (7, 1, 8, "cash", "1", "2018-03-02 06:25:45", 482.26, 602.8);
112
+ INSERT INTO payments VALUES (8, 9, 14, "cash", "1", "2018-03-12 23:00:55", 653.18, 505.23);
113
+ INSERT INTO payments VALUES (9, 3, 7, "direct debit", "0", "2018-03-12 23:23:56", 686.85, 321.58);
114
+ INSERT INTO payments VALUES (10, 13, 10, "credit card", "1", "2018-03-23 13:24:33", 486.75, 681.21);
115
+ INSERT INTO payments VALUES (11, 14, 15, "credit card", "1", "2018-03-03 03:07:00", 259.18, 464.06);
116
+ INSERT INTO payments VALUES (12, 14, 9, "cash", "0", "2018-02-27 10:50:39", 785.73, 685.32);
117
+ INSERT INTO payments VALUES (13, 15, 14, "direct debit", "0", "2018-03-03 14:22:51", 665.58, 307.14);
118
+ INSERT INTO payments VALUES (14, 5, 5, "direct debit", "1", "2018-03-17 15:51:52", 407.51, 704.41);
119
+ INSERT INTO payments VALUES (15, 4, 12, "credit card", "1", "2018-03-17 03:07:45", 631.93, 334.2);
120
+
121
+ CREATE TABLE "products_booked" (
122
+ "booking_id" integer,
123
+ "product_id" integer,
124
+ "returned_yn" text,
125
+ "returned_late_yn" text,
126
+ "booked_count" integer,
127
+ "booked_amount" real
128
+ );
129
+
130
+ INSERT INTO products_booked VALUES (1, 2, "1", "1", 5, 309.73);
131
+ INSERT INTO products_booked VALUES (2, 4, "1", "0", 3, 102.76);
132
+ INSERT INTO products_booked VALUES (3, 5, "1", "0", 4, 151.68);
133
+ INSERT INTO products_booked VALUES (4, 1, "1", "1", 1, 344.38);
134
+ INSERT INTO products_booked VALUES (10, 4, "1", "0", 2, 236.13);
135
+ INSERT INTO products_booked VALUES (11, 1, "1", "0", 6, 123.43);
136
+ INSERT INTO products_booked VALUES (11, 5, "1", "1", 6, 351.38);
137
+ INSERT INTO products_booked VALUES (13, 3, "1", "1", 3, 146.01);
138
+ INSERT INTO products_booked VALUES (14, 1, "1", "1", 3, 189.16);
139
+ INSERT INTO products_booked VALUES (14, 5, "1", "0", 1, 398.68);
140
+ INSERT INTO products_booked VALUES (15, 1, "1", "1", 9, 290.72);
141
+ INSERT INTO products_booked VALUES (15, 3, "1", "0", 5, 110.2);
142
+
143
+ CREATE TABLE "view_product_availability" (
144
+ "product_id" integer,
145
+ "booking_id" integer,
146
+ "status_date" text,
147
+ "available_yn" text
148
+ );
149
+
150
+ INSERT INTO view_product_availability VALUES (1, 5, "2018-03-18 05:25:55", "1");
151
+ INSERT INTO view_product_availability VALUES (2, 5, "2018-03-21 15:20:32", "0");
152
+ INSERT INTO view_product_availability VALUES (3, 11, "2018-03-22 00:16:58", "1");
153
+ INSERT INTO view_product_availability VALUES (5, 11, "2018-03-25 10:20:15", "1");
154
+
155
+
156
+ COMMIT;
testsets/aggregation_in_column/databases_aggregation_in_column/products_for_hire/products_for_hire.sqlite ADDED
Binary file (32.8 kB). View file
 
testsets/aggregation_in_column/databases_aggregation_in_column/school_finance/school_finance.sql ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CREATE TABLE "school" (
2
+ "school_id" text,
3
+ "school_name" text,
4
+ "location" text,
5
+ "mascot" text,
6
+ "enrollment" integer,
7
+ "ihsaa_class" text,
8
+ "ihsaa_football_class" text,
9
+ "county" text
10
+ );
11
+
12
+ INSERT INTO school VALUES ("1", "bremen", "bremen", "lions", 495, "aa", "aa", "50 marshall");
13
+ INSERT INTO school VALUES ("2", "culver community", "culver", "cavaliers", 287, "a", "a", "50 marshall");
14
+ INSERT INTO school VALUES ("3", "glenn", "walkerton", "falcons", 605, "aaa", "aaa", "71 st. joseph");
15
+ INSERT INTO school VALUES ("4", "jimtown", "elkhart", "jimmies", 601, "aaa", "aaa", "20 elkhart");
16
+ INSERT INTO school VALUES ("5", "knox community", "knox", "redskins", 620, "aaa", "aaa", "75 starke");
17
+ INSERT INTO school VALUES ("6", "laville", "lakeville", "lancers", 379, "aa", "a", "71 st. joseph");
18
+ INSERT INTO school VALUES ("7", "new prairie 1", "new carlisle", "cougars", 852, "aaa", "aaaa", "46 laporte 71 st. joseph");
19
+ INSERT INTO school VALUES ("8", "triton", "bourbon", "trojans", 316, "a", "a", "50 marshall");
20
+
21
+ CREATE TABLE "budget" (
22
+ "school_id" integer,
23
+ "year" integer,
24
+ "budgeted" integer,
25
+ "total_budget_percent_budgeted" real,
26
+ "invested" integer,
27
+ "total_budget_percent_invested" real,
28
+ "budget_invested_percent" text
29
+ );
30
+
31
+ INSERT INTO budget VALUES (1, 2003, 4979, 2.0, 2134, 2.0, "42.9");
32
+ INSERT INTO budget VALUES (2, 1999, 3666, 2.0, 5840, 2.0, "159.3");
33
+ INSERT INTO budget VALUES (2, 2000, 6803, 2.0, 8335, 2.0, "122.5");
34
+ INSERT INTO budget VALUES (2, 2001, 6803, 2.0, 8335, 2.0, "146.9");
35
+ INSERT INTO budget VALUES (3, 2002, 119527, 2.4, 85249, 2.2, "71.3");
36
+ INSERT INTO budget VALUES (4, 2004, 74849, 2.0, 95542, 2.2, "127.6");
37
+ INSERT INTO budget VALUES (5, 2005, 61283, 1.3, 140102, 2.7, "228.8");
38
+ INSERT INTO budget VALUES (5, 2006, 113531, 2.0, 146102, 2.7, "228.6");
39
+
40
+ CREATE TABLE "endowment" (
41
+ "endowment_id" integer,
42
+ "school_id" integer,
43
+ "donator_name" text,
44
+ "amount" real
45
+ );
46
+
47
+ INSERT INTO endowment VALUES (1, 1, "monte plata", 9.51);
48
+ INSERT INTO endowment VALUES (2, 2, "san josé de ocoa", 9.83);
49
+ INSERT INTO endowment VALUES (3, 3, "distrito nacional", 9.55);
50
+ INSERT INTO endowment VALUES (4, 3, "valverde", 9.73);
51
+ INSERT INTO endowment VALUES (5, 3, "san cristóbal", 9.05);
52
+ INSERT INTO endowment VALUES (6, 4, "santo domingo este", 8.99);
53
+ INSERT INTO endowment VALUES (7, 4, "santiago", 8.85);
54
+ INSERT INTO endowment VALUES (8, 5, "duarte", 8.53);
55
+ INSERT INTO endowment VALUES (9, 6, "com. dom. en estados unidos", 8.43);
56
+ INSERT INTO endowment VALUES (10, 7, "la vega", 8.82);
57
+ INSERT INTO endowment VALUES (11, 8, "peravia", 8.33);
58
+
59
+
60
+ COMMIT;
testsets/aggregation_in_column/databases_aggregation_in_column/school_finance/school_finance.sqlite ADDED
Binary file (16.4 kB). View file
 
testsets/aggregation_in_column/databases_aggregation_in_column/sports_competition/sports_competition.sql ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CREATE TABLE "club" (
2
+ "club_id" integer,
3
+ "name" text,
4
+ "region" text,
5
+ "start_year" text
6
+ );
7
+
8
+ INSERT INTO club VALUES (1, "aib", "usa", "2009");
9
+ INSERT INTO club VALUES (2, "bk slide", "uk", "1998");
10
+ INSERT INTO club VALUES (3, "ifg", "china", "2005");
11
+ INSERT INTO club VALUES (4, "asc", "japan", "2001");
12
+ INSERT INTO club VALUES (5, "hgs2", "england", "2000");
13
+ INSERT INTO club VALUES (6, "hsbif", "brazil", "2011");
14
+
15
+ CREATE TABLE "club_rank" (
16
+ "rank" real,
17
+ "club_id" integer,
18
+ "gold" real,
19
+ "silver" real,
20
+ "bronze" real,
21
+ "total" real
22
+ );
23
+
24
+ INSERT INTO club_rank VALUES (1.0, 2, 11.0, 11.0, 9.0, 31.0);
25
+ INSERT INTO club_rank VALUES (2.0, 3, 8.0, 7.0, 6.0, 21.0);
26
+ INSERT INTO club_rank VALUES (3.0, 1, 7.0, 4.0, 2.0, 13.0);
27
+ INSERT INTO club_rank VALUES (4.0, 4, 4.0, 2.0, 6.0, 12.0);
28
+ INSERT INTO club_rank VALUES (5.0, 5, 3.0, 3.0, 0.0, 6.0);
29
+ INSERT INTO club_rank VALUES (6.0, 6, 2.0, 1.0, 0.0, 3.0);
30
+
31
+ CREATE TABLE "player" (
32
+ "player_id" integer,
33
+ "name" text,
34
+ "position" text,
35
+ "club_id" integer,
36
+ "apps" real,
37
+ "tries" real,
38
+ "goals" text,
39
+ "points" real
40
+ );
41
+
42
+ INSERT INTO player VALUES (1, "michael platt", "full back", 1, 20.0, 5.0, "0", 20.0);
43
+ INSERT INTO player VALUES (2, "dave halley", "right wing", 2, 23.0, 9.0, "0", 36.0);
44
+ INSERT INTO player VALUES (3, "james evans", "right centre", 1, 30.0, 9.0, "0", 36.0);
45
+ INSERT INTO player VALUES (4, "tame tupou", "left wing", 2, 10.0, 3.0, "0", 12.0);
46
+ INSERT INTO player VALUES (5, "iestyn harris", "stand off", 4, 27.0, 3.0, "50/60", 110.0);
47
+ INSERT INTO player VALUES (6, "paul deacon c", "scrum half", 4, 20.0, 3.0, "90/106", 188.0);
48
+ INSERT INTO player VALUES (7, "joe vagana", "prop", 5, 19.0, 1.0, "0/1", 4.0);
49
+ INSERT INTO player VALUES (8, "terry newton", "hooker", 5, 26.0, 9.0, "0", 36.0);
50
+ INSERT INTO player VALUES (9, "andy lynch", "prop", 2, 29.0, 5.0, "0", 20.0);
51
+ INSERT INTO player VALUES (10, "david solomona", "second row", 2, 24.0, 5.0, "0", 20.0);
52
+ INSERT INTO player VALUES (11, "glenn morrison vc", "second row", 2, 14.0, 6.0, "0", 24.0);
53
+ INSERT INTO player VALUES (12, "jamie langley vc", "loose forward", 2, 28.0, 2.0, "0", 8.0);
54
+ INSERT INTO player VALUES (13, "chris feather", "prop", 3, 13.0, 1.0, "0", 4.0);
55
+ INSERT INTO player VALUES (14, "matt cook", "second row", 4, 17.0, 4.0, "0", 16.0);
56
+ INSERT INTO player VALUES (15, "sam burgess", "loose forward", 4, 23.0, 8.0, "0", 32.0);
57
+
58
+ CREATE TABLE "competition" (
59
+ "competition_id" integer,
60
+ "year" real,
61
+ "competition_type" text,
62
+ "country" text
63
+ );
64
+
65
+ INSERT INTO competition VALUES (1, 2006.0, "friendly", "italy");
66
+ INSERT INTO competition VALUES (2, 2006.0, "friendly", "spain");
67
+ INSERT INTO competition VALUES (3, 2006.0, "friendly", "australia");
68
+ INSERT INTO competition VALUES (4, 2006.0, "friendly", "russia");
69
+ INSERT INTO competition VALUES (5, 2007.0, "friendly", "russia");
70
+ INSERT INTO competition VALUES (6, 2007.0, "friendly", "australia");
71
+ INSERT INTO competition VALUES (7, 2007.0, "tournament", "russia");
72
+ INSERT INTO competition VALUES (8, 2007.0, "tournament", "slovenia");
73
+ INSERT INTO competition VALUES (9, 2007.0, "tournament", "slovenia");
74
+ INSERT INTO competition VALUES (10, 2007.0, "friendly", "italy");
75
+ INSERT INTO competition VALUES (11, 2007.0, "friendly", "ireland");
76
+
77
+ CREATE TABLE "competition_result" (
78
+ "competition_id" integer,
79
+ "club_id_1" integer,
80
+ "club_id_2" integer,
81
+ "score" text
82
+ );
83
+
84
+ INSERT INTO competition_result VALUES (1, 1, 2, "11:10");
85
+ INSERT INTO competition_result VALUES (2, 3, 2, "25:2");
86
+ INSERT INTO competition_result VALUES (4, 1, 2, "13:10");
87
+ INSERT INTO competition_result VALUES (5, 1, 4, "12:9");
88
+ INSERT INTO competition_result VALUES (6, 1, 6, "10:3");
89
+ INSERT INTO competition_result VALUES (10, 4, 2, "10:11");
90
+
91
+
92
+ COMMIT;
testsets/aggregation_in_column/databases_aggregation_in_column/sports_competition/sports_competition.sqlite ADDED
Binary file (24.6 kB). View file
 
testsets/aggregation_in_column/databases_aggregation_in_column/store_product/store_product.sql ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CREATE TABLE "product" (
2
+ "product_id" integer,
3
+ "product" text,
4
+ "dimensions" text,
5
+ "dpi" real,
6
+ "pages_per_minute_color" real,
7
+ "max_page_size" text,
8
+ "interface" text
9
+ );
10
+
11
+ INSERT INTO product VALUES (1, "fujitsu fi-6130 a4 series scanner", "301 x 160 x 158", 600.0, 30.0, "a4", "usb 2.0");
12
+ INSERT INTO product VALUES (2, "plustek mobileoffice d28 corporate", "303 x 94 x 60", 600.0, 28.0, "a4", "usb 2.0");
13
+ INSERT INTO product VALUES (3, "xerox travel scanner 100", "289 x 51 x 38", 600.0, 4.0, "a4", "usb 2.0");
14
+ INSERT INTO product VALUES (4, "scanshell 3000dn", "300 x 50 x 45", 600.0, 3.0, "a4", "usb 2.0");
15
+ INSERT INTO product VALUES (5, "canon imageformula p-150", "280 x 95 x 40", 600.0, 10.0, "216mm x 356mm", "usb 2.0");
16
+ INSERT INTO product VALUES (6, "canon dr-2080c", "298 x 209 x 99", 600.0, 36.0, "216mm x 355mm", "usb 2.0");
17
+
18
+ CREATE TABLE "store" (
19
+ "store_id" integer,
20
+ "store_name" text,
21
+ "type" text,
22
+ "area_size" real,
23
+ "number_of_product_category" real,
24
+ "ranking" integer
25
+ );
26
+
27
+ INSERT INTO store VALUES (1, "miramichi", "city mall", 179.84, 17811.0, 2);
28
+ INSERT INTO store VALUES (2, "neguac", "village store", 26.69, 1678.0, 3);
29
+ INSERT INTO store VALUES (3, "rogersville", "village store", 7.23, 1170.0, 1);
30
+ INSERT INTO store VALUES (4, "blackville", "village store", 21.73, 990.0, 10);
31
+ INSERT INTO store VALUES (5, "doaktown", "city mall", 28.74, 793.0, 9);
32
+
33
+ CREATE TABLE "district" (
34
+ "district_id" integer,
35
+ "district_name" text,
36
+ "headquartered_city" text,
37
+ "city_population" real,
38
+ "city_area" real
39
+ );
40
+
41
+ INSERT INTO district VALUES (1, "attock district", "attock city", 94620.0, 20.0);
42
+ INSERT INTO district VALUES (2, "bahawalnagar district", "bahawalnagar city", 134936.0, 13.0);
43
+ INSERT INTO district VALUES (3, "bahawalpur district", "bahawalpur city", 530438.0, 38.0);
44
+ INSERT INTO district VALUES (4, "bhakkar district", "bhakkar city", 89380.0, 15.0);
45
+ INSERT INTO district VALUES (5, "chakwal district", "chakwal city", 113524.0, 10.0);
46
+ INSERT INTO district VALUES (6, "chiniot district", "chiniot city", 219254.0, 12.0);
47
+ INSERT INTO district VALUES (7, "dera ghazi khan district", "dera ghazi khan city", 464742.0, 22.0);
48
+ INSERT INTO district VALUES (8, "faisalabad district", "faisalabad city", 2793721.0, 147.0);
49
+ INSERT INTO district VALUES (9, "gujranwala district", "gujranwala city", 1526168.0, 75.0);
50
+ INSERT INTO district VALUES (10, "gujrat district", "gujrat city", 328512.0, 25.0);
51
+ INSERT INTO district VALUES (11, "hafizabad district", "hafizabad city", 165936.0, 10.0);
52
+ INSERT INTO district VALUES (12, "jhang district", "jhang city", 365198.0, 28.0);
53
+ INSERT INTO district VALUES (13, "jhelum district", "jhelum city", 172073.0, 22.0);
54
+ INSERT INTO district VALUES (14, "kasur district", "kasur city", 314617.0, 18.0);
55
+ INSERT INTO district VALUES (15, "khanewal district", "khanewal city", 165038.0, 17.0);
56
+
57
+ CREATE TABLE "store_product" (
58
+ "store_id" integer,
59
+ "product_id" integer
60
+ );
61
+
62
+ INSERT INTO store_product VALUES (1, 1);
63
+ INSERT INTO store_product VALUES (1, 2);
64
+ INSERT INTO store_product VALUES (1, 3);
65
+ INSERT INTO store_product VALUES (1, 4);
66
+ INSERT INTO store_product VALUES (1, 6);
67
+ INSERT INTO store_product VALUES (2, 1);
68
+ INSERT INTO store_product VALUES (3, 2);
69
+ INSERT INTO store_product VALUES (2, 3);
70
+ INSERT INTO store_product VALUES (3, 4);
71
+ INSERT INTO store_product VALUES (2, 6);
72
+ INSERT INTO store_product VALUES (5, 1);
73
+ INSERT INTO store_product VALUES (5, 2);
74
+ INSERT INTO store_product VALUES (5, 3);
75
+ INSERT INTO store_product VALUES (5, 4);
76
+ INSERT INTO store_product VALUES (5, 6);
77
+
78
+ CREATE TABLE "store_district" (
79
+ "store_id" integer,
80
+ "district_id" integer
81
+ );
82
+
83
+ INSERT INTO store_district VALUES (1, 15);
84
+ INSERT INTO store_district VALUES (2, 15);
85
+ INSERT INTO store_district VALUES (3, 11);
86
+ INSERT INTO store_district VALUES (4, 4);
87
+ INSERT INTO store_district VALUES (5, 3);
88
+
89
+
90
+ COMMIT;
testsets/aggregation_in_column/databases_aggregation_in_column/store_product/store_product.sqlite ADDED
Binary file (24.6 kB). View file
 
testsets/aggregation_in_column/databases_aggregation_in_column/storm_record/storm_record.sql ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CREATE TABLE "storm" (
2
+ "storm_id" integer,
3
+ "name" text,
4
+ "dates_active" text,
5
+ "max_speed" integer,
6
+ "damage_millions_usd" real,
7
+ "number_deaths" integer
8
+ );
9
+
10
+ INSERT INTO storm VALUES (1, "one", "may19–may25", 995, 13.0, 0);
11
+ INSERT INTO storm VALUES (2, "two", "august3–august10", 972, 10.75, 7);
12
+ INSERT INTO storm VALUES (3, "three", "august5–august14", 972, 13.0, 52);
13
+ INSERT INTO storm VALUES (4, "four", "august26–september2", 961, 4.05, 7);
14
+ INSERT INTO storm VALUES (5, "five", "september7–september17", 988, 1.49, 3);
15
+ INSERT INTO storm VALUES (6, "six", "september18–september25", 1002, 0.039, 2);
16
+ INSERT INTO storm VALUES (7, "seven", "september22–september28", 977, 13.0, 0);
17
+ INSERT INTO storm VALUES (8, "eight", "october20–october24", 983, 13.0, 0);
18
+ INSERT INTO storm VALUES (9, "nine", "october24–october26", 1007, 13.0, 0);
19
+ INSERT INTO storm VALUES (10, "9 cyclones", "may19 –october26", 961, 29.3, 71);
20
+
21
+ CREATE TABLE "region" (
22
+ "region_id" integer,
23
+ "region_code" text,
24
+ "region_name" text
25
+ );
26
+
27
+ INSERT INTO region VALUES (1, "af", "afghanistan");
28
+ INSERT INTO region VALUES (2, "al", "albania");
29
+ INSERT INTO region VALUES (3, "dz", "algeria");
30
+ INSERT INTO region VALUES (4, "ds", "american samoa");
31
+ INSERT INTO region VALUES (5, "ad", "andorra");
32
+ INSERT INTO region VALUES (6, "ao", "angola");
33
+ INSERT INTO region VALUES (7, "ai", "anguilla");
34
+ INSERT INTO region VALUES (8, "aq", "antarctica");
35
+ INSERT INTO region VALUES (9, "ag", "antigua and barbuda");
36
+ INSERT INTO region VALUES (10, "cy", "cyprus");
37
+ INSERT INTO region VALUES (11, "cz", "czech republic");
38
+ INSERT INTO region VALUES (12, "dk", "denmark");
39
+ INSERT INTO region VALUES (13, "dj", "djibouti");
40
+
41
+ CREATE TABLE "affected_region" (
42
+ "region_id" integer,
43
+ "storm_id" integer,
44
+ "number_city_affected" real
45
+ );
46
+
47
+ INSERT INTO affected_region VALUES (1, 1, 10.0);
48
+ INSERT INTO affected_region VALUES (1, 4, 15.0);
49
+ INSERT INTO affected_region VALUES (2, 1, 30.0);
50
+ INSERT INTO affected_region VALUES (2, 5, 22.0);
51
+ INSERT INTO affected_region VALUES (3, 3, 37.0);
52
+ INSERT INTO affected_region VALUES (12, 5, 12.0);
53
+
54
+
55
+ COMMIT;
testsets/aggregation_in_column/databases_aggregation_in_column/storm_record/storm_record.sqlite ADDED
Binary file (16.4 kB). View file
 
testsets/aggregation_in_column/databases_aggregation_in_column/tracking_share_transactions/tracking_share_transactions.sql ADDED
@@ -0,0 +1,147 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CREATE TABLE "investors" (
2
+ "investor_id" integer,
3
+ "investor_details" text
4
+ );
5
+
6
+ INSERT INTO investors VALUES (1, "z");
7
+ INSERT INTO investors VALUES (2, "z");
8
+ INSERT INTO investors VALUES (3, "d");
9
+ INSERT INTO investors VALUES (4, "d");
10
+ INSERT INTO investors VALUES (5, "b");
11
+ INSERT INTO investors VALUES (6, "k");
12
+ INSERT INTO investors VALUES (7, "l");
13
+ INSERT INTO investors VALUES (8, "t");
14
+ INSERT INTO investors VALUES (9, "y");
15
+ INSERT INTO investors VALUES (10, "r");
16
+ INSERT INTO investors VALUES (11, "q");
17
+ INSERT INTO investors VALUES (12, "c");
18
+ INSERT INTO investors VALUES (13, "o");
19
+ INSERT INTO investors VALUES (14, "w");
20
+ INSERT INTO investors VALUES (15, "i");
21
+ INSERT INTO investors VALUES (16, "y");
22
+ INSERT INTO investors VALUES (17, "k");
23
+ INSERT INTO investors VALUES (18, "w");
24
+ INSERT INTO investors VALUES (19, "l");
25
+ INSERT INTO investors VALUES (20, "j");
26
+
27
+ CREATE TABLE "lots" (
28
+ "lot_id" integer,
29
+ "investor_id" integer,
30
+ "lot_details" text
31
+ );
32
+
33
+ INSERT INTO lots VALUES (1, 13, "r");
34
+ INSERT INTO lots VALUES (2, 16, "z");
35
+ INSERT INTO lots VALUES (3, 10, "s");
36
+ INSERT INTO lots VALUES (4, 19, "s");
37
+ INSERT INTO lots VALUES (5, 6, "q");
38
+ INSERT INTO lots VALUES (6, 20, "d");
39
+ INSERT INTO lots VALUES (7, 7, "m");
40
+ INSERT INTO lots VALUES (8, 7, "h");
41
+ INSERT INTO lots VALUES (9, 20, "z");
42
+ INSERT INTO lots VALUES (10, 9, "x");
43
+ INSERT INTO lots VALUES (11, 1, "d");
44
+ INSERT INTO lots VALUES (12, 19, "m");
45
+ INSERT INTO lots VALUES (13, 7, "z");
46
+ INSERT INTO lots VALUES (14, 6, "d");
47
+ INSERT INTO lots VALUES (15, 1, "h");
48
+
49
+ CREATE TABLE "ref_transaction_types" (
50
+ "transaction_type_code" text,
51
+ "transaction_type_description" text
52
+ );
53
+
54
+ INSERT INTO ref_transaction_types VALUES ("pur", "sale");
55
+ INSERT INTO ref_transaction_types VALUES ("sale", "purchase");
56
+
57
+ CREATE TABLE "transactions" (
58
+ "transaction_id" integer,
59
+ "investor_id" integer,
60
+ "transaction_type_code" text,
61
+ "date_of_transaction" text,
62
+ "amount_of_transaction" real,
63
+ "share_count" text,
64
+ "other_details" null
65
+ );
66
+
67
+ INSERT INTO transactions VALUES (1, 6, "sale", "1988-09-16 19:02:51", 302507.6996, "8718572", "NULL");
68
+ INSERT INTO transactions VALUES (2, 18, "pur", "1982-06-06 17:19:00", 27.257, "9", "NULL");
69
+ INSERT INTO transactions VALUES (3, 2, "sale", "1979-04-27 06:03:59", 48777.969, "8580", "NULL");
70
+ INSERT INTO transactions VALUES (4, 14, "pur", "2001-11-28 15:06:25", 4.5263, "8040", "NULL");
71
+ INSERT INTO transactions VALUES (5, 8, "pur", "1977-08-17 13:13:30", 0, "930", "NULL");
72
+ INSERT INTO transactions VALUES (6, 19, "pur", "1985-10-08 13:13:39", 207484122.2796, "2751", "NULL");
73
+ INSERT INTO transactions VALUES (7, 7, "pur", "1990-12-02 09:03:38", 822.803, "1522", "NULL");
74
+ INSERT INTO transactions VALUES (8, 17, "sale", "2004-01-18 20:37:50", 78035671.4424, "96178", "NULL");
75
+ INSERT INTO transactions VALUES (9, 20, "pur", "1977-08-13 02:18:47", 82057.207, "", "NULL");
76
+ INSERT INTO transactions VALUES (10, 2, "sale", "1981-01-28 08:07:03", 29.3534, "1654756", "NULL");
77
+ INSERT INTO transactions VALUES (11, 3, "sale", "2000-04-03 20:55:43", 0, "674529892", "NULL");
78
+ INSERT INTO transactions VALUES (12, 18, "sale", "1983-11-01 17:57:27", 1, "587", "NULL");
79
+ INSERT INTO transactions VALUES (13, 3, "sale", "2002-04-07 20:28:37", 183.2, "", "NULL");
80
+ INSERT INTO transactions VALUES (14, 3, "pur", "2002-09-13 03:04:56", 0, "630021", "NULL");
81
+ INSERT INTO transactions VALUES (15, 19, "pur", "1997-12-30 05:05:40", 8.9, "93191", "NULL");
82
+
83
+ CREATE TABLE "sales" (
84
+ "sales_transaction_id" integer,
85
+ "sales_details" text
86
+ );
87
+
88
+ INSERT INTO sales VALUES (1, "x");
89
+ INSERT INTO sales VALUES (2, "o");
90
+ INSERT INTO sales VALUES (3, "a");
91
+ INSERT INTO sales VALUES (4, "f");
92
+ INSERT INTO sales VALUES (5, "y");
93
+ INSERT INTO sales VALUES (6, "x");
94
+ INSERT INTO sales VALUES (7, "p");
95
+ INSERT INTO sales VALUES (8, "e");
96
+ INSERT INTO sales VALUES (9, "p");
97
+ INSERT INTO sales VALUES (10, "s");
98
+ INSERT INTO sales VALUES (11, "s");
99
+ INSERT INTO sales VALUES (12, "t");
100
+ INSERT INTO sales VALUES (13, "p");
101
+ INSERT INTO sales VALUES (14, "n");
102
+ INSERT INTO sales VALUES (15, "e");
103
+
104
+ CREATE TABLE "purchases" (
105
+ "purchase_transaction_id" integer,
106
+ "purchase_details" text
107
+ );
108
+
109
+ INSERT INTO purchases VALUES (1, "c");
110
+ INSERT INTO purchases VALUES (2, "y");
111
+ INSERT INTO purchases VALUES (3, "i");
112
+ INSERT INTO purchases VALUES (4, "x");
113
+ INSERT INTO purchases VALUES (5, "y");
114
+ INSERT INTO purchases VALUES (6, "a");
115
+ INSERT INTO purchases VALUES (7, "r");
116
+ INSERT INTO purchases VALUES (8, "a");
117
+ INSERT INTO purchases VALUES (9, "r");
118
+ INSERT INTO purchases VALUES (10, "l");
119
+ INSERT INTO purchases VALUES (11, "z");
120
+ INSERT INTO purchases VALUES (12, "h");
121
+ INSERT INTO purchases VALUES (13, "t");
122
+ INSERT INTO purchases VALUES (14, "o");
123
+ INSERT INTO purchases VALUES (15, "x");
124
+
125
+ CREATE TABLE "transactions_lots" (
126
+ "transaction_id" integer,
127
+ "lot_id" integer
128
+ );
129
+
130
+ INSERT INTO transactions_lots VALUES (3, 11);
131
+ INSERT INTO transactions_lots VALUES (3, 8);
132
+ INSERT INTO transactions_lots VALUES (2, 11);
133
+ INSERT INTO transactions_lots VALUES (3, 14);
134
+ INSERT INTO transactions_lots VALUES (12, 10);
135
+ INSERT INTO transactions_lots VALUES (15, 10);
136
+ INSERT INTO transactions_lots VALUES (10, 10);
137
+ INSERT INTO transactions_lots VALUES (1, 1);
138
+ INSERT INTO transactions_lots VALUES (1, 14);
139
+ INSERT INTO transactions_lots VALUES (3, 4);
140
+ INSERT INTO transactions_lots VALUES (14, 9);
141
+ INSERT INTO transactions_lots VALUES (7, 1);
142
+ INSERT INTO transactions_lots VALUES (12, 15);
143
+ INSERT INTO transactions_lots VALUES (6, 3);
144
+ INSERT INTO transactions_lots VALUES (2, 1);
145
+
146
+
147
+ COMMIT;
testsets/aggregation_in_column/databases_aggregation_in_column/tracking_share_transactions/tracking_share_transactions.sqlite ADDED
Binary file (32.8 kB). View file
 
testsets/aggregation_in_column/databases_aggregation_in_column/train_station/train_station.sql ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CREATE TABLE "station" (
2
+ "station_id" integer,
3
+ "name" text,
4
+ "annual_entry_exit" real,
5
+ "annual_interchanges" real,
6
+ "total_passengers" real,
7
+ "location" text,
8
+ "main_services" text,
9
+ "number_of_platforms" integer
10
+ );
11
+
12
+ INSERT INTO station VALUES (1, "london waterloo", 94.046, 9.489, 103.534, "london", "south western main line west of england main line", 19);
13
+ INSERT INTO station VALUES (2, "london victoria", 76.231, 9.157, 85.38, "london", "brighton main line chatham main line", 19);
14
+ INSERT INTO station VALUES (3, "london bridge", 52.634, 8.742, 61.376, "london", "south eastern main line thameslink", 12);
15
+ INSERT INTO station VALUES (4, "london liverpool street", 57.107, 2.353, 59.46, "london", "great eastern main line west anglia main line", 18);
16
+ INSERT INTO station VALUES (5, "london euston", 36.609, 3.832, 40.44, "london", "west coast main line", 18);
17
+ INSERT INTO station VALUES (6, "london charing cross", 38.005, 1.99, 39.995, "london", "south eastern main line", 6);
18
+ INSERT INTO station VALUES (7, "birmingham new street", 31.214, 5.118, 36.331, "birmingham", "west coast main line cross country route", 13);
19
+ INSERT INTO station VALUES (8, "london kings cross", 27.875, 3.022, 30.896, "london", "east coast main line", 12);
20
+ INSERT INTO station VALUES (9, "glasgow central", 26.639, 3.018, 29.658, "glasgow", "west coast main line", 17);
21
+ INSERT INTO station VALUES (10, "east croydon", 20.551, 6.341, 26.892, "london", "brighton main line", 6);
22
+ INSERT INTO station VALUES (11, "london st pancras", 22.996, 3.676, 26.672, "london", "midland main line thameslink high-speed 1 eurostar", 15);
23
+ INSERT INTO station VALUES (12, "stratford", 21.797, 2.064, 23.862, "london", "great eastern main line lea valley lines", 15);
24
+
25
+ CREATE TABLE "train" (
26
+ "train_id" integer,
27
+ "name" text,
28
+ "time" text,
29
+ "service" text
30
+ );
31
+
32
+ INSERT INTO train VALUES (1, "ananthapuri express", "17:15", "daily");
33
+ INSERT INTO train VALUES (2, "guruvayur express", "22:10", "daily");
34
+ INSERT INTO train VALUES (3, "guruvayur express", "4:49", "daily");
35
+ INSERT INTO train VALUES (4, "ananthapuri express", "11:35", "daily");
36
+ INSERT INTO train VALUES (5, "jayanthi janatha express", "06:30", "daily");
37
+ INSERT INTO train VALUES (6, "island express", "11:15", "daily");
38
+ INSERT INTO train VALUES (7, "madurai fast passenger", "21:49", "daily");
39
+ INSERT INTO train VALUES (8, "quilon fast passenger", "04:55", "daily");
40
+ INSERT INTO train VALUES (9, "island express", "16:59", "daily");
41
+ INSERT INTO train VALUES (10, "jayanthi janatha express", "10:38", "daily");
42
+ INSERT INTO train VALUES (11, "parasuram express", "04:20", "daily");
43
+
44
+ CREATE TABLE "train_station" (
45
+ "train_id" integer,
46
+ "station_id" integer
47
+ );
48
+
49
+ INSERT INTO train_station VALUES (1, 1);
50
+ INSERT INTO train_station VALUES (2, 1);
51
+ INSERT INTO train_station VALUES (3, 1);
52
+ INSERT INTO train_station VALUES (4, 2);
53
+ INSERT INTO train_station VALUES (5, 3);
54
+ INSERT INTO train_station VALUES (6, 5);
55
+ INSERT INTO train_station VALUES (7, 8);
56
+ INSERT INTO train_station VALUES (8, 9);
57
+ INSERT INTO train_station VALUES (9, 9);
58
+ INSERT INTO train_station VALUES (10, 10);
59
+ INSERT INTO train_station VALUES (11, 10);
60
+
61
+
62
+ COMMIT;
testsets/aggregation_in_column/databases_aggregation_in_column/train_station/train_station.sqlite ADDED
Binary file (16.4 kB). View file
 
testsets/aggregation_in_column/markup_aggregation_in_column.csv ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ db_id,type,question,query,simple_question,simple_query
2
+ bike_1,train,Find all the zip codes in which the max dew point have never reached 70.,SELECT DISTINCT zip_code FROM weather EXCEPT SELECT DISTINCT zip_code FROM weather WHERE max_dew_point_f < 70;,Find all the zip codes in which the cloud cover have not reached 4.,SELECT DISTINCT zip_code FROM weather EXCEPT SELECT DISTINCT zip_code FROM weather WHERE cloud_cover >= 4;
3
+ bike_1,train,What are all the different zip codes that have a maximum dew point that was always below 70?,SELECT DISTINCT zip_code FROM weather EXCEPT SELECT DISTINCT zip_code FROM weather WHERE max_dew_point_f < 70;,What are all the different zip codes that have a cloud cover was below 4?,SELECT DISTINCT zip_code FROM weather EXCEPT SELECT DISTINCT zip_code FROM weather WHERE cloud_cover >= 4;
4
+ bike_1,train,What are the dates that have an average sea level pressure between 30.3 and 31?,SELECT date FROM weather WHERE mean_sea_level_pressure_inches BETWEEN 30.3 AND 31;,What are the dates that have an average sea level pressure between 2 and 6?,SELECT date FROM weather WHERE cloud_cover BETWEEN 2 AND 6;
5
+ bike_1,train,Find the day in which the difference between the max temperature and min temperature was the smallest. Also report the difference.,"SELECT date , max_temperature_f - min_temperature_f FROM weather ORDER BY max_temperature_f - min_temperature_f LIMIT 1;",Find the day in which the difference between the cloud cover and wind dir degrees was the smallest. Also report the difference.,"SELECT date , cloud_cover - wind_dir_degrees FROM weather ORDER BY cloud_cover - wind_dir_degrees LIMIT 1;"
6
+ concert_singer,dev,What is the maximum capacity and the average of all stadiums ?,"select max(capacity), average from stadium;",What is the name and maximum capacity of all stadiums ?,"select name, max(capacity) from stadium;"
7
+ concert_singer,dev,What is the name and capacity for the stadium with highest average attendance?,"SELECT name , capacity FROM stadium ORDER BY average DESC LIMIT 1;",What is the name and capacity for the stadium with highest stadiom id?,"SELECT name , capacity FROM stadium ORDER BY stadium_id DESC LIMIT 1;"
8
+ concert_singer,dev,What is the name and capacity for the stadium with the highest average attendance?,"SELECT name , capacity FROM stadium ORDER BY average DESC LIMIT 1;",What is the name and capacity for the stadium with the highest stadiom id??,"SELECT name , capacity FROM stadium ORDER BY stadium_id DESC LIMIT 1;"
9
+ game_injury,train,What is the average attendance of stadiums with capacity percentage higher than 100%?,SELECT average_attendance FROM stadium WHERE capacity_percentage > 100;,What is the name of stadiums with capacity percentage higher than 100%?,SELECT name FROM stadium WHERE capacity_percentage > 100;
10
+ mountain_photos,train,"Find the brand and name for each camera lens, and sort in descending order of maximum aperture.","SELECT brand , name FROM camera_lens ORDER BY max_aperture DESC;","Find the brand and name for each camera lens, and sort in descending order of id.","SELECT brand , name FROM camera_lens ORDER BY id DESC;"
11
+ products_for_hire,train,"What are the maximum, minimum, and average booked count for the products booked?","SELECT max(booked_count) , min(booked_count) , avg(booked_count) FROM products_booked;","What are the maximum, minimum, and average returned late for the products booked?","SELECT max(returned_late_yn) , min(returned_late_yn) , avg(returned_late_yn) FROM products_booked;"
12
+ school_finance,train,"List the name, IHSAA Football Class, and Mascot of the schools that have more than 6000 of budgeted amount or were founded before 2003, in the order of percent of total invested budget and total budgeted budget.","SELECT T1.School_name , T1.Mascot , T1.IHSAA_Football_Class FROM school AS T1 JOIN budget AS T2 ON T1.school_id = T2.school_id WHERE Budgeted > 6000 OR YEAR < 2003 ORDER BY T2.total_budget_percent_invested , T2.total_budget_percent_budgeted;","List the name, IHSAA Football Class, and Mascot of the schools that have more than 6000 of budgeted amount or were founded before 2003, in the order of school id and year.","SELECT T1.School_name , T1.Mascot , T1.IHSAA_Football_Class FROM school AS T1 JOIN budget AS T2 ON T1.school_id = T2.school_id WHERE Budgeted > 6000 OR YEAR < 2003 ORDER BY T2.school_id , T2.year;"
13
+ sports_competition,train,How many clubs have total medals less than 10?,SELECT count(*) FROM club_rank WHERE Total < 10;,How many clubs have silver medals less than 10?,SELECT count(*) FROM club_rank WHERE Silver < 10;
14
+ sports_competition,train,What is the total number of clubs that have less than 10 medals in total?,SELECT count(*) FROM club_rank WHERE Total < 10;,What is the total number of clubs that have less than 10 silver medals?,SELECT count(*) FROM club_rank WHERE Silver < 10;
15
+ storm_record,train,Show the average and maximum damage for all storms with max speed higher than 1000.,"SELECT avg(damage_millions_USD) , max(damage_millions_USD) FROM storm WHERE max_speed > 1000;",Show the average and maximum damage for all storms with storm id higher than 2.,"SELECT avg(damage_millions_USD) , max(damage_millions_USD) FROM storm WHERE Storm_ID > 2;"
16
+ storm_record,train,What is the average and maximum damage in millions for storms that had a max speed over 1000?,"SELECT avg(damage_millions_USD) , max(damage_millions_USD) FROM storm WHERE max_speed > 1000;",What is the average and maximum damage in millions for storms that had a storm id over 2?,"SELECT avg(damage_millions_USD) , max(damage_millions_USD) FROM storm WHERE Storm_ID > 2;"
17
+ storm_record,train,What is the total number of deaths and damage for all storms with a max speed greater than the average?,"SELECT sum(number_deaths) , sum(damage_millions_USD) FROM storm WHERE max_speed > (SELECT avg(max_speed) FROM storm);",What is the total number of deaths and damage for all storms with a storm id greater than the average?,"SELECT sum(number_deaths) , sum(damage_millions_USD) FROM storm WHERE Storm_ID > (SELECT avg(Storm_ID) FROM storm);"
18
+ storm_record,train,Return the total number of deaths and total damange in millions for storms that had a max speed greater than the average.,"SELECT sum(number_deaths) , sum(damage_millions_USD) FROM storm WHERE max_speed > (SELECT avg(max_speed) FROM storm);",Return the total number of deaths and total damange in millions for storms that had a storm id greater than the average.,"SELECT sum(number_deaths) , sum(damage_millions_USD) FROM storm WHERE Storm_ID > (SELECT avg(Storm_ID) FROM storm);"
19
+ storm_record,train,List name and damage for all storms in a descending order of max speed.,"SELECT name , damage_millions_USD FROM storm ORDER BY max_speed DESC;",List name and damage for all storms in a descending order of storm id.,"SELECT name , damage_millions_USD FROM storm ORDER BY Storm_ID DESC;"
20
+ storm_record,train,"What are the names and damage in millions for storms, ordered by their max speeds descending?","SELECT name , damage_millions_USD FROM storm ORDER BY max_speed DESC;","What are the names and damage in millions for storms, ordered by their storm id descending?","SELECT name , damage_millions_USD FROM storm ORDER BY Storm_ID DESC;"
21
+ storm_record,train,What is the storm name and max speed which affected the greatest number of regions?,"SELECT T1.name , T1.max_speed FROM storm AS T1 JOIN affected_region AS T2 ON T1.storm_id = T2.storm_id GROUP BY T1.storm_id ORDER BY count(*) DESC LIMIT 1;",What is the storm name and storm id which affected the greatest number of regions?,"SELECT T1.name , T1.Storm_ID FROM storm AS T1 JOIN affected_region AS T2 ON T1.storm_id = T2.storm_id GROUP BY T1.storm_id ORDER BY count(*) DESC LIMIT 1;"
22
+ storm_record,train,Return the name and max speed of the storm that affected the most regions.,"SELECT T1.name , T1.max_speed FROM storm AS T1 JOIN affected_region AS T2 ON T1.storm_id = T2.storm_id GROUP BY T1.storm_id ORDER BY count(*) DESC LIMIT 1;",Return the name and storm id of the storm that affected the most regions.,"SELECT T1.name , T1.Storm_ID FROM storm AS T1 JOIN affected_region AS T2 ON T1.storm_id = T2.storm_id GROUP BY T1.storm_id ORDER BY count(*) DESC LIMIT 1;"
23
+ tracking_share_transactions,train,Show the maximum share count of transactions where the amount is smaller than 10000,SELECT max(share_count) FROM TRANSACTIONS WHERE amount_of_transaction < 10000;,Show the maximum date of transaction where the amount is smaller than 10000,SELECT max(date_of_transaction) FROM TRANSACTIONS WHERE amount_of_transaction < 10000;
24
+ tracking_share_transactions,train,Show the dates of transactions if the share count is bigger than 100 or the amount is bigger than 1000.,SELECT date_of_transaction FROM TRANSACTIONS WHERE share_count > 100 OR amount_of_transaction > 1000;,Show the dates of transactions if the investor id is bigger than 10 or the transaction id is bigger than 10.,SELECT date_of_transaction FROM TRANSACTIONS WHERE transaction_id > 10 OR investor_id > 10;
25
+ tracking_share_transactions,train,Show the transaction type descriptions and dates if the share count is smaller than 10.,"SELECT T1.transaction_type_description , T2.date_of_transaction FROM Ref_Transaction_Types AS T1 JOIN TRANSACTIONS AS T2 ON T1.transaction_type_code = T2.transaction_type_code WHERE T2.share_count < 10;",Show the transaction type descriptions and dates if the investor id is smaller than 10.,"SELECT T1.transaction_type_description , T2.date_of_transaction FROM Ref_Transaction_Types AS T1 JOIN TRANSACTIONS AS T2 ON T1.transaction_type_code = T2.transaction_type_code WHERE T2.investor_id < 10;"
26
+ tracking_share_transactions,train,Show details of all investors if they make any transaction with share count greater than 100.,SELECT T1.Investor_details FROM INVESTORS AS T1 JOIN TRANSACTIONS AS T2 ON T1.investor_id = T2.investor_id WHERE T2.share_count > 100;,Show details of all investors if they make any transaction with investor id greater than 8.,SELECT T1.Investor_details FROM INVESTORS AS T1 JOIN TRANSACTIONS AS T2 ON T1.investor_id = T2.investor_id WHERE T2.investor_id > 8;
27
+ tracking_share_transactions,train,What are the lot details of lots associated with transactions with share count smaller than 50?,SELECT T1.lot_details FROM LOTS AS T1 JOIN TRANSACTIONS_LOTS AS T2 ON T1.lot_id = T2.transaction_id JOIN TRANSACTIONS AS T3 ON T2.transaction_id = T3.transaction_id WHERE T3.share_count < 50;,What are the lot details of lots associated with transactions with investor id smaller than 10?,SELECT T1.lot_details FROM LOTS AS T1 JOIN TRANSACTIONS_LOTS AS T2 ON T1.lot_id = T2.transaction_id JOIN TRANSACTIONS AS T3 ON T2.transaction_id = T3.transaction_id WHERE T3.investor_id < 10;
28
+ tracking_share_transactions,train,"What are the lot details of lots associated with transactions whose share count is bigger than 100 and whose type code is ""PUR""?","SELECT T1.lot_details FROM LOTS AS T1 JOIN TRANSACTIONS_LOTS AS T2 ON T1.lot_id = T2.transaction_id JOIN TRANSACTIONS AS T3 ON T2.transaction_id = T3.transaction_id WHERE T3.share_count > 100 AND T3.transaction_type_code = ""PUR"";","What are the lot details of lots associated with transactions whose investor id is bigger than 8 and whose type code is ""PUR""?","SELECT T1.lot_details FROM LOTS AS T1 JOIN TRANSACTIONS_LOTS AS T2 ON T1.lot_id = T2.transaction_id JOIN TRANSACTIONS AS T3 ON T2.transaction_id = T3.transaction_id WHERE T3.investor_id > 8 AND T3.transaction_type_code = ""PUR"";"
29
+ tracking_share_transactions,train,Show the maximum and minimum share count of different transaction types.,"SELECT transaction_type_code , max(share_count) , min(share_count) FROM TRANSACTIONS GROUP BY transaction_type_code;",Show the maximum and minimum investor id of different transaction types.,"SELECT transaction_type_code , max(investor_id) , min(investor_id) FROM TRANSACTIONS GROUP BY transaction_type_code;"
30
+ tracking_share_transactions,train,Show the average share count of transactions for different investors.,"SELECT investor_id , avg(share_count) FROM TRANSACTIONS GROUP BY investor_id;",Show the average transaction id of transactions for different investors.,"SELECT investor_id , avg(transaction_id) FROM TRANSACTIONS GROUP BY investor_id;"
31
+ tracking_share_transactions,train,"Show the average share count of transactions each each investor, ordered by average share count.","SELECT investor_id , avg(share_count) FROM TRANSACTIONS GROUP BY investor_id ORDER BY avg(share_count);","Show the average transaction id of transactions for each investor, ordered by average transaction id.","SELECT investor_id , avg(transaction_id) FROM TRANSACTIONS GROUP BY investor_id ORDER BY avg(transaction_id);"
32
+ tracking_share_transactions,train,What are the dates of transactions with at least 100 share count or amount bigger than 100?,SELECT date_of_transaction FROM TRANSACTIONS WHERE share_count >= 100 OR amount_of_transaction >= 100;,What are the dates of transactions with at least 10 investor id or amount bigger than 100?,SELECT date_of_transaction FROM TRANSACTIONS WHERE investor_id >= 10 OR amount_of_transaction >= 100;
33
+ aircraft,train,Please show the names and descriptions of aircrafts associated with airports that have a total number of passengers bigger than 10000000.,"SELECT T1.Aircraft , T1.Description FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Total_Passengers > 10000000;",Please show the names and descriptions of aircrafts associated with airports that have a number of transit passengers bigger than 50000.,"SELECT T1.Aircraft , T1.Description FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Transit_Passengers > 50000;"
34
+ aircraft,train,What are the names and descriptions of aircrafts associated with an airport that has more total passengers than 10000000?,"SELECT T1.Aircraft , T1.Description FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Total_Passengers > 10000000;",What are the names and descriptions of aircrafts associated with an airport that has more transit passengers than 50000?,"SELECT T1.Aircraft , T1.Description FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Transit_Passengers > 50000;"
35
+ aircraft,train,"What is the average total number of passengers of airports that are associated with aircraft ""Robinson R-22""?","SELECT avg(T3.Total_Passengers) FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T1.Aircraft = ""Robinson R-22"";","What is the average number of transit passengers of airports that are associated with aircraft ""Robinson R-22""?","SELECT avg(T3.Transit_Passengers) FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T1.Aircraft = ""Robinson R-22"";"
36
+ aircraft,train,"What is the average total number of passengers for all airports that the aircraft ""Robinson R-22"" visits?","SELECT avg(T3.Total_Passengers) FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T1.Aircraft = ""Robinson R-22"";","What is the average number of transit passengers for all airports that the aircraft ""Robinson R-22"" visits?","SELECT avg(T3.Transit_Passengers) FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T1.Aircraft = ""Robinson R-22"";"
37
+ apartment_rentals,train,What is the minimum and maximum number of bathrooms of all the apartments?,"SELECT min(bathroom_count) , max(bathroom_count) FROM Apartments;",What is the minimum and maximum building id of all the apartments?,"SELECT min(building_id) , max(building_id) FROM Apartments;"
38
+ apartment_rentals,train,Give me the minimum and maximum bathroom count among all the apartments.,"SELECT min(bathroom_count) , max(bathroom_count) FROM Apartments;",Give me the minimum and maximum building id among all the apartments.,"SELECT min(building_id) , max(building_id) FROM Apartments;"
39
+ gymnast,train,List the total points of gymnasts in descending order.,SELECT Total_Points FROM gymnast ORDER BY Total_Points DESC;,List the vault points of gymnasts in descending order.,SELECT Vault_Points FROM gymnast ORDER BY Total_Points DESC;
40
+ gymnast,train,"What are the total points for all gymnasts, ordered by total points descending?",SELECT Total_Points FROM gymnast ORDER BY Total_Points DESC;,"What are the vault points for all gymnasts, ordered by vault points descending?",SELECT Vault_Points FROM gymnast ORDER BY Total_Points DESC;
41
+ gymnast,train,List the total points of gymnasts in descending order of floor exercise points.,SELECT Total_Points FROM gymnast ORDER BY Floor_Exercise_Points DESC;,List the vault points of gymnasts in descending order of floor exercise points.,SELECT Vault_Points FROM gymnast ORDER BY Floor_Exercise_Points DESC;
42
+ gymnast,train,"What are the total points of gymnasts, ordered by their floor exercise points descending?",SELECT Total_Points FROM gymnast ORDER BY Floor_Exercise_Points DESC;,"What are the vault points of gymnasts, ordered by their floor exercise points descending?",SELECT Vault_Points FROM gymnast ORDER BY Floor_Exercise_Points DESC;
43
+ gymnast,train,What is the total point count of the youngest gymnast?,SELECT T1.Total_Points FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID ORDER BY T2.Age ASC LIMIT 1;,What is the vault point count of the youngest gymnast?,SELECT T1.Vault_Points FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID ORDER BY T2.Age ASC LIMIT 1;
44
+ gymnast,train,Return the total points of the gymnast with the lowest age.,SELECT T1.Total_Points FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID ORDER BY T2.Age ASC LIMIT 1;,Return the vault points of the gymnast with the lowest age.,SELECT T1.Vault_Points FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID ORDER BY T2.Age ASC LIMIT 1;
45
+ gymnast,train,What are the distinct hometowns of gymnasts with total points more than 57.5?,SELECT DISTINCT T2.Hometown FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID WHERE T1.Total_Points > 57.5;,What are the distinct hometowns of gymnasts with vault points more than 57.5?,SELECT T1.Vault_Points FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID ORDER BY T2.Age ASC LIMIT 1;
46
+ gymnast,train,Give the different hometowns of gymnasts that have a total point score of above 57.5.,SELECT DISTINCT T2.Hometown FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID WHERE T1.Total_Points > 57.5;,Give the different hometowns of gymnasts that have a vault point score of above 9.5.,SELECT DISTINCT T2.Hometown FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID WHERE T1.Vault_Points > 9.5;
47
+ gymnast,train,Show the ages of gymnasts in descending order of total points.,SELECT T2.Age FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID ORDER BY T1.Total_Points DESC;,Show the ages of gymnasts in descending order of vault points.,SELECT T2.Age FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID ORDER BY T1.Vault_Points DESC;
48
+ gymnast,train,"What are the ages of the gymnasts, ordered descending by their total points?",SELECT T2.Age FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID ORDER BY T1.Total_Points DESC;,"What are the ages of the gymnasts, ordered descending by their vault points?",SELECT T2.Age FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID ORDER BY T1.Vault_Points DESC;
49
+ store_product,train,Find the list of page size which have more than 3 product listed,SELECT max_page_size FROM product GROUP BY max_page_size HAVING count(*) > 3;,Find the list of product id which have more than 3 product listed,SELECT product_id FROM product GROUP BY product_id HAVING count(*) > 3;
50
+ store_product,train,What is the maximum page size for everything that has more than 3 products listed?,SELECT max_page_size FROM product GROUP BY max_page_size HAVING count(*) > 3;,What is the product id for everything that has more than 3 products listed?,SELECT product_id FROM product GROUP BY product_id HAVING count(*) > 3;
51
+ store_product,train,Find the most prominent max page size among all the products.,SELECT max_page_size FROM product GROUP BY max_page_size ORDER BY count(*) DESC LIMIT 1;,Find the most prominent interface among all the products.,SELECT interface FROM product GROUP BY interface ORDER BY count(*) DESC LIMIT 1;
52
+ store_product,train,What is the most common maximum page size?,SELECT max_page_size FROM product GROUP BY max_page_size ORDER BY count(*) DESC LIMIT 1;,What is the most common interface?,SELECT interface FROM product GROUP BY interface ORDER BY count(*) DESC LIMIT 1;
53
+ train_station,train,Show the names and total passengers for all train stations not in London.,"SELECT name , total_passengers FROM station WHERE LOCATION != 'London';",Show the names and station id for all train stations not in London.,"SELECT name , station_id FROM station WHERE LOCATION != 'London';"
54
+ train_station,train,Show the names and main services for train stations that have the top three total number of passengers.,"SELECT name , main_services FROM station ORDER BY total_passengers DESC LIMIT 3;",Show the names and main services for train stations that have the top three annual entry exit.,"SELECT name , main_services FROM station ORDER BY annual_entry_exit DESC LIMIT 3;"
55
+ train_station,train,What is the average and maximum number of total passengers for train stations in London or Glasgow?,"SELECT avg(total_passengers) , max(total_passengers) FROM station WHERE LOCATION = 'London' OR LOCATION = 'Glasgow';",What is the average and maximum annual entry exit for train stations in London or Glasgow?,"SELECT avg(annual_entry_exit) , max(annual_entry_exit) FROM station WHERE LOCATION = 'London' OR LOCATION = 'Glasgow';"
56
+ tracking_share_transactions,train,Show all date and share count of transactions.,"SELECT date_of_transaction , share_count FROM TRANSACTIONS;",Show all date and investor id of transactions.,"SELECT date_of_transaction , investor_id FROM TRANSACTIONS;"
57
+ tracking_share_transactions,train,"Show the minimum amount of transactions whose type code is ""PUR"" and whose share count is bigger than 50.","SELECT min(amount_of_transaction) FROM TRANSACTIONS WHERE transaction_type_code = ""PUR"" AND share_count > 50;","Show the minimum investor id whose type code is ""PUR"" and whose share count is bigger than 50.","SELECT min(investor_id) FROM TRANSACTIONS WHERE transaction_type_code = ""PUR"" AND share_count > 50;"
58
+ bike_1,train,Give me the dates when the max temperature was higher than 85.,SELECT date FROM weather WHERE max_temperature_f > 85;,Give me the dates when the cloud cover was higher than 2.,SELECT date FROM weather WHERE cloud_cover > 2;
59
+ bike_1,train,What are the dates with a maximum temperature higher than 85?,SELECT date FROM weather WHERE max_temperature_f > 85;,What are the dates with a cloud cover higher than 85?,SELECT date FROM weather WHERE cloud_cover > 2;
60
+ bike_1,train,"For each zip code, return the average mean temperature of August there.","SELECT zip_code , avg(mean_temperature_f) FROM weather WHERE date LIKE ""8/%"" GROUP BY zip_code;","For each zip code, return the average cloud cover of August there.","SELECT zip_code , avg(cloud_cover) FROM weather WHERE date LIKE ""8/%"" GROUP BY zip_code;"
61
+ bike_1,train,"For each zip code, what is the average mean temperature for all dates that start with '8'?","SELECT zip_code , avg(mean_temperature_f) FROM weather WHERE date LIKE ""8/%"" GROUP BY zip_code;","For each zip code, what is the average cloud cover for all dates that start with '8'?","SELECT zip_code , avg(cloud_cover) FROM weather WHERE date LIKE ""8/%"" GROUP BY zip_code;"
62
+ bike_1,train,How many days had both mean humidity above 50 and mean visibility above 8?,SELECT COUNT(*) FROM weather WHERE mean_humidity > 50 AND mean_visibility_miles > 8;,How many days had both cloud cover above 2 and precipitation inches above 0?,SELECT COUNT(*) FROM weather WHERE cloud_cover > 2 AND precipitation_inches > 0;
63
+ bike_1,train,What is the number of days that had an average humity above 50 and an average visibility above 8?,SELECT COUNT(*) FROM weather WHERE mean_humidity > 50 AND mean_visibility_miles > 8;,What is the number of days that had an cloud cover above 2 and precipitation inches above 0?,SELECT COUNT(*) FROM weather WHERE cloud_cover > 2 AND precipitation_inches > 0;
64
+ bike_1,train,What is the zip code in which the average mean sea level pressure is the lowest?,SELECT zip_code FROM weather GROUP BY zip_code ORDER BY avg(mean_sea_level_pressure_inches) LIMIT 1;,What is the zip code in which the average cloud cover is the lowest?,SELECT zip_code FROM weather GROUP BY zip_code ORDER BY avg(cloud_cover) LIMIT 1;
65
+ bike_1,train,What is the zip code that has the lowest average mean sea level pressure?,SELECT zip_code FROM weather GROUP BY zip_code ORDER BY avg(mean_sea_level_pressure_inches) LIMIT 1;,What is the zip code that has the lowest average cloud cover?,SELECT zip_code FROM weather GROUP BY zip_code ORDER BY avg(cloud_cover) LIMIT 1;
66
+ bike_1,train,When and in what zip code did max temperature reach 80?,"SELECT date , zip_code FROM weather WHERE max_temperature_f >= 80;",When and in what zip code did cloud cover reach 2?,"SELECT date , zip_code FROM weather WHERE cloud_cover >= 2;"
67
+ bike_1,train,What zip codes have a station with a max temperature greater than or equal to 80 and when did it reach that temperature?,"SELECT date , zip_code FROM weather WHERE max_temperature_f >= 80;",What zip codes have a station with a cloud cover greater than or equal to 2 and when did it reach that temperature?,"SELECT date , zip_code FROM weather WHERE cloud_cover >= 2;"
68
+ bike_1,train,Give me ids for all the trip that took place in a zip code area with average mean temperature above 60.,SELECT T1.id FROM trip AS T1 JOIN weather AS T2 ON T1.zip_code = T2.zip_code GROUP BY T2.zip_code HAVING avg(T2.mean_temperature_f) > 60;,Give me ids for all the trip that took place in a zip code area with average cloud cover above 2.,SELECT T1.id FROM trip AS T1 JOIN weather AS T2 ON T1.zip_code = T2.zip_code GROUP BY T2.zip_code HAVING avg(T2.cloud_cover) > 2;
69
+ bike_1,train,"For each zip code, find the ids of all trips that have a higher average mean temperature above 60?",SELECT T1.id FROM trip AS T1 JOIN weather AS T2 ON T1.zip_code = T2.zip_code GROUP BY T2.zip_code HAVING avg(T2.mean_temperature_f) > 60;,"For each zip code, find the ids of all trips that have a higher average cloud cover above 2?",SELECT T1.id FROM trip AS T1 JOIN weather AS T2 ON T1.zip_code = T2.zip_code GROUP BY T2.zip_code HAVING avg(T2.cloud_cover) > 2;
70
+ bike_1,train,"For each zip code, return how many times max wind speed reached 25?","SELECT zip_code , count(*) FROM weather WHERE max_wind_Speed_mph >= 25 GROUP BY zip_code;","For each zip code, return how many times cloud cover reached 4?","SELECT zip_code , count(*) FROM weather WHERE cloud_cover >= 4 GROUP BY zip_code;"
71
+ bike_1,train,"For each zip code, how many times has the maximum wind speed reached 25 mph?","SELECT zip_code , count(*) FROM weather WHERE max_wind_Speed_mph >= 25 GROUP BY zip_code;","For each zip code, how many times has the cloud cover reached 4?","SELECT zip_code , count(*) FROM weather WHERE cloud_cover >= 4 GROUP BY zip_code;"
72
+ bike_1,train,On which day and in which zip code was the min dew point lower than any day in zip code 94107?,"SELECT date , zip_code FROM weather WHERE min_dew_point_f < (SELECT min(min_dew_point_f) FROM weather WHERE zip_code = 94107);",On which day and in which zip code was the cloud cover lower than any day in zip code 94107?,"SELECT date , zip_code FROM weather WHERE cloud_cover < (SELECT min(cloud_cover) FROM weather WHERE zip_code = 94107);"
73
+ bike_1,train,"Which days had a minimum dew point smaller than any day in zip code 94107, and in which zip codes were those measurements taken?","SELECT date , zip_code FROM weather WHERE min_dew_point_f < (SELECT min(min_dew_point_f) FROM weather WHERE zip_code = 94107);","Which days had a cloud cover smaller than any day in zip code 94107, and in which zip codes were those measurements taken?","SELECT date , zip_code FROM weather WHERE cloud_cover < (SELECT min(cloud_cover) FROM weather WHERE zip_code = 94107);"
74
+ bike_1,train,"What are the date, mean temperature and mean humidity for the top 3 days with the largest max gust speeds?","SELECT date , mean_temperature_f , mean_humidity FROM weather ORDER BY max_gust_speed_mph DESC LIMIT 3;","What are the date, cloud cover and precipitation inches for the top 3 days with the largest wind dir degrees?","SELECT date , cloud_cover, precipitation_inches FROM weather ORDER BY wind_dir_degrees DESC LIMIT 3;"
75
+ bike_1,train,"What is the date, average temperature and mean humidity for the days with the 3 largest maximum gust speeds?","SELECT date , mean_temperature_f , mean_humidity FROM weather ORDER BY max_gust_speed_mph DESC LIMIT 3;","What is the date, cloud cover and precipitation inches for the days with the 3 largest argest wind dir degrees?","SELECT date , cloud_cover, precipitation_inches FROM weather ORDER BY wind_dir_degrees DESC LIMIT 3;"
76
+ bike_1,train,Find the zip code in which the average mean visibility is lower than 10.,SELECT zip_code FROM weather GROUP BY zip_code HAVING avg(mean_visibility_miles) < 10;,Find the zip code in which the average cloud cover is lower than 10.,SELECT zip_code FROM weather GROUP BY zip_code HAVING avg(cloud_cover) < 6;
77
+ bike_1,train,"For each zip code, select all those that have an average mean visiblity below 10.",SELECT zip_code FROM weather GROUP BY zip_code HAVING avg(mean_visibility_miles) < 10;,"For each zip code, select all those that have an average cloud cover below 6.",SELECT zip_code FROM weather GROUP BY zip_code HAVING avg(cloud_cover) < 6;
78
+ bike_1,train,What are the dates in which the mean sea level pressure was between 30.3 and 31?,SELECT date FROM weather WHERE mean_sea_level_pressure_inches BETWEEN 30.3 AND 31;,What are the dates in which the cloud cover was between 2 and 6?,SELECT date FROM weather WHERE cloud_cover BETWEEN 2 AND 6;
79
+ bike_1,train,Give me the zip code where the average mean humidity is below 70 and at least 10 trips took place.,SELECT zip_code FROM weather GROUP BY zip_code HAVING avg(mean_humidity) < 70 INTERSECT SELECT zip_code FROM trip GROUP BY zip_code HAVING count(*) >= 10;,Give me the zip code where the average cloud cover is below 8 and at least 10 trips took place.,SELECT zip_code FROM weather GROUP BY zip_code HAVING avg(cloud_cover) < 8 INTERSECT SELECT zip_code FROM trip GROUP BY zip_code HAVING count(*) >= 10;
80
+ bike_1,train,What are the zip codes that have an average mean humidity below 70 and had at least 10 trips come through there?,SELECT zip_code FROM weather GROUP BY zip_code HAVING avg(mean_humidity) < 70 INTERSECT SELECT zip_code FROM trip GROUP BY zip_code HAVING count(*) >= 10;,What are the zip codes that have an average cloud cover below 8 and had at least 10 trips come through there?,SELECT zip_code FROM weather GROUP BY zip_code HAVING avg(cloud_cover) < 8 INTERSECT SELECT zip_code FROM trip GROUP BY zip_code HAVING count(*) >= 10;
81
+ body_builder,train,List the total scores of body builders in ascending order.,SELECT Total FROM body_builder ORDER BY Total ASC;,List the snatch of body builders in ascending order.,SELECT Snatch FROM body_builder ORDER BY Total ASC;
82
+ body_builder,train,What are the clean and jerk score of the body builder with the highest total score?,SELECT Clean_Jerk FROM body_builder ORDER BY Total DESC LIMIT 1;,What are the clean and jerk score of the body builder with the highest snatch score?,SELECT Clean_Jerk FROM body_builder ORDER BY Snatch DESC LIMIT 1;
83
+ body_builder,train,What are the names of body builders whose total score is higher than 300?,SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Total > 300;,What are the names of body builders whose snatch score is higher than 135?,SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Snatch > 135;
84
+ body_builder,train,What are the birth date and birth place of the body builder with the highest total points?,"SELECT T2.Birth_Date , T2.Birth_Place FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Total DESC LIMIT 1;",What are the birth date and birth place of the body builder with the highest snatch points?,"SELECT T2.Birth_Date , T2.Birth_Place FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Snatch DESC LIMIT 1;"
85
+ body_builder,train,What are the heights of body builders with total score smaller than 315?,SELECT T2.Height FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Total < 315;,What are the heights of body builders with snatch score smaller than 140?,SELECT T2.Height FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Snatch < 140;
86
+ body_builder,train,What is the average total score of body builders with height bigger than 200?,SELECT avg(T1.Total) FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID WHERE T2.Height > 200;,What is the average snatch score of body builders with height bigger than 200?,SELECT avg(T1.Snatch) FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID WHERE T2.Height > 200;
87
+ body_builder,train,What are the names of body builders in descending order of total scores?,SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Total DESC;,What are the names of body builders in descending order of snatch scores?,SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Snatch DESC;
88
+ body_builder,train,"What are the total scores of the body builders whose birthday contains the string ""January"" ?","SELECT T1.total FROM body_builder AS T1 JOIN people AS T2 ON T1.people_id = T2.people_id WHERE T2.Birth_Date LIKE ""%January%"";","What are the snatch scores of the body builders whose birthday contains the string ""January"" ?","SELECT T1.snatch FROM body_builder AS T1 JOIN people AS T2 ON T1.people_id = T2.people_id WHERE T2.Birth_Date LIKE ""%January%"";"
89
+ chinook_1,train,Find all the customer last names that do not have invoice totals larger than 20.,SELECT LastName FROM CUSTOMER EXCEPT SELECT T1.LastName FROM CUSTOMER AS T1 JOIN Invoice AS T2 ON T1.CustomerId = T2.CustomerId WHERE T2.total > 20;,Find all the customer last names that do not have invoice id larger than 20.,SELECT LastName FROM CUSTOMER EXCEPT SELECT T1.LastName FROM CUSTOMER AS T1 JOIN Invoice AS T2 ON T1.CustomerId = T2.CustomerId WHERE T2.invoiceId > 20;
90
+ chinook_1,train,What are the last names of customers without invoice totals exceeding 20?,SELECT LastName FROM CUSTOMER EXCEPT SELECT T1.LastName FROM CUSTOMER AS T1 JOIN Invoice AS T2 ON T1.CustomerId = T2.CustomerId WHERE T2.total > 20;,What are the last names of customers without invoice id exceeding 20?,SELECT LastName FROM CUSTOMER EXCEPT SELECT T1.LastName FROM CUSTOMER AS T1 JOIN Invoice AS T2 ON T1.CustomerId = T2.CustomerId WHERE T2.invoiceId > 20;
91
+ farm,train,List the total number of horses on farms in ascending order.,SELECT Total_Horses FROM farm ORDER BY Total_Horses ASC;,List the number of cows on farms in ascending order.,SELECT Cows FROM farm ORDER BY Cows ASC;
92
+ farm,train,"What is the total horses record for each farm, sorted ascending?",SELECT Total_Horses FROM farm ORDER BY Total_Horses ASC;,"What is the cows record for each farm, sorted ascending?",SELECT Cows FROM farm ORDER BY Cows ASC;
93
+ game_injury,train,"Show the name, average attendance, total attendance for stadiums where no accidents happened.","SELECT name , average_attendance , total_attendance FROM stadium EXCEPT SELECT T2.name , T2.average_attendance , T2.total_attendance FROM game AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.id JOIN injury_accident AS T3 ON T1.id = T3.game_id;","Show the name, id, haome games for stadiums where no accidents happened.","SELECT name , id , home_games FROM stadium EXCEPT SELECT T2.name , T2.id , T2.home_games FROM game AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.id JOIN injury_accident AS T3 ON T1.id = T3.game_id;"
94
+ museum_visit,dev,"What are the id, name and membership level of visitors who have spent the largest amount of money in total in all museum tickets?","SELECT t2.visitor_id , t1.name , t1.Level_of_membership FROM visitor AS t1 JOIN visit AS t2 ON t1.id = t2.visitor_id GROUP BY t2.visitor_id ORDER BY sum(t2.Total_spent) DESC LIMIT 1;","What are the id, name and membership level of visitors who have bought the largest num of ticket in total in all museum tickets?","SELECT t2.visitor_id , t1.name , t1.Level_of_membership FROM visitor AS t1 JOIN visit AS t2 ON t1.id = t2.visitor_id GROUP BY t2.visitor_id ORDER BY sum(t2.Num_of_Ticket) DESC LIMIT 1;"
95
+ museum_visit,dev,What is the total ticket expense of the visitors whose membership level is 1?,SELECT sum(t2.Total_spent) FROM visitor AS t1 JOIN visit AS t2 ON t1.id = t2.visitor_id WHERE t1.Level_of_membership = 1;,What is the total num of ticket of the visitors whose membership level is 1?,SELECT sum(t2.Num_of_Ticket) FROM visitor AS t1 JOIN visit AS t2 ON t1.id = t2.visitor_id WHERE t1.Level_of_membership = 1;
testsets/aggregation_in_column/simplyset_aggregation_in_column.json ADDED
The diff for this file is too large to render. See raw diff
 
testsets/aggregation_in_column/tables_aggregation_in_column.json ADDED
@@ -0,0 +1 @@
 
 
1
+ [{"column_names": [[-1, "*"], [0, "id"], [0, "name"], [0, "home games"], [0, "average attendance"], [0, "total attendance"], [0, "capacity percentage"], [1, "stadium id"], [1, "id"], [1, "season"], [1, "date"], [1, "home team"], [1, "away team"], [1, "score"], [1, "competition"], [2, "game id"], [2, "id"], [2, "player"], [2, "injury"], [2, "number of matches"], [2, "source"]], "column_names_original": [[-1, "*"], [0, "id"], [0, "name"], [0, "home_games"], [0, "average_attendance"], [0, "total_attendance"], [0, "capacity_percentage"], [1, "stadium_id"], [1, "id"], [1, "season"], [1, "date"], [1, "home_team"], [1, "away_team"], [1, "score"], [1, "competition"], [2, "game_id"], [2, "id"], [2, "player"], [2, "injury"], [2, "number_of_matches"], [2, "source"]], "column_types": ["text", "number", "text", "number", "number", "number", "number", "number", "number", "number", "text", "text", "text", "text", "text", "number", "number", "text", "text", "text", "text"], "db_id": "game_injury", "foreign_keys": [[7, 1], [15, 8]], "primary_keys": [1, 8, 16], "table_names": ["stadium", "game", "injury accident"], "table_names_original": ["stadium", "game", "injury_accident"]}, {"column_names": [[-1, "*"], [0, "club id"], [0, "name"], [0, "region"], [0, "start year"], [1, "rank"], [1, "club id"], [1, "gold"], [1, "silver"], [1, "bronze"], [1, "total"], [2, "player id"], [2, "name"], [2, "position"], [2, "club id"], [2, "apps"], [2, "tries"], [2, "goals"], [2, "points"], [3, "competition id"], [3, "year"], [3, "competition type"], [3, "country"], [4, "competition id"], [4, "club id 1"], [4, "club id 2"], [4, "score"]], "column_names_original": [[-1, "*"], [0, "club_id"], [0, "name"], [0, "region"], [0, "start_year"], [1, "rank"], [1, "club_id"], [1, "gold"], [1, "silver"], [1, "bronze"], [1, "total"], [2, "player_id"], [2, "name"], [2, "position"], [2, "club_id"], [2, "apps"], [2, "tries"], [2, "goals"], [2, "points"], [3, "competition_id"], [3, "year"], [3, "competition_type"], [3, "country"], [4, "competition_id"], [4, "club_id_1"], [4, "club_id_2"], [4, "score"]], "column_types": ["text", "number", "text", "text", "text", "number", "number", "number", "number", "number", "number", "number", "text", "text", "number", "number", "number", "text", "number", "number", "number", "text", "text", "number", "number", "number", "text"], "db_id": "sports_competition", "foreign_keys": [[6, 1], [14, 1], [23, 19], [25, 1], [24, 1]], "primary_keys": [1, 5, 11, 19, 23], "table_names": ["club", "club rank", "player", "competition", "competition result"], "table_names_original": ["club", "club_rank", "player", "competition", "competition_result"]}, {"column_names": [[-1, "*"], [0, "id"], [0, "name"], [0, "latitude"], [0, "longitude"], [0, "dock count"], [0, "city"], [0, "installation date"], [1, "station id"], [1, "bikes available"], [1, "docks available"], [1, "time"], [2, "id"], [2, "duration"], [2, "start date"], [2, "start station name"], [2, "start station id"], [2, "end date"], [2, "end station name"], [2, "end station id"], [2, "bike id"], [2, "subscription type"], [2, "zip code"], [3, "date"], [3, "max temperature f"], [3, "mean temperature f"], [3, "min temperature f"], [3, "max dew point f"], [3, "mean dew point f"], [3, "min dew point f"], [3, "max humidity"], [3, "mean humidity"], [3, "min humidity"], [3, "max sea level pressure inches"], [3, "mean sea level pressure inches"], [3, "min sea level pressure inches"], [3, "max visibility miles"], [3, "mean visibility miles"], [3, "min visibility miles"], [3, "max wind speed mph"], [3, "mean wind speed mph"], [3, "max gust speed mph"], [3, "precipitation inches"], [3, "cloud cover"], [3, "events"], [3, "wind dir degrees"], [3, "zip code"]], "column_names_original": [[-1, "*"], [0, "id"], [0, "name"], [0, "lat"], [0, "long"], [0, "dock_count"], [0, "city"], [0, "installation_date"], [1, "station_id"], [1, "bikes_available"], [1, "docks_available"], [1, "time"], [2, "id"], [2, "duration"], [2, "start_date"], [2, "start_station_name"], [2, "start_station_id"], [2, "end_date"], [2, "end_station_name"], [2, "end_station_id"], [2, "bike_id"], [2, "subscription_type"], [2, "zip_code"], [3, "date"], [3, "max_temperature_f"], [3, "mean_temperature_f"], [3, "min_temperature_f"], [3, "max_dew_point_f"], [3, "mean_dew_point_f"], [3, "min_dew_point_f"], [3, "max_humidity"], [3, "mean_humidity"], [3, "min_humidity"], [3, "max_sea_level_pressure_inches"], [3, "mean_sea_level_pressure_inches"], [3, "min_sea_level_pressure_inches"], [3, "max_visibility_miles"], [3, "mean_visibility_miles"], [3, "min_visibility_miles"], [3, "max_wind_speed_mph"], [3, "mean_wind_speed_mph"], [3, "max_gust_speed_mph"], [3, "precipitation_inches"], [3, "cloud_cover"], [3, "events"], [3, "wind_dir_degrees"], [3, "zip_code"]], "column_types": ["text", "number", "text", "number", "number", "number", "text", "text", "number", "number", "number", "text", "number", "number", "text", "text", "number", "text", "text", "number", "number", "text", "number", "text", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "text", "number", "number"], "db_id": "bike_1", "foreign_keys": [[8, 1]], "primary_keys": [1, 12], "table_names": ["station", "status", "trip", "weather"], "table_names_original": ["station", "status", "trip", "weather"]}, {"column_names": [[-1, "*"], [0, "body builder id"], [0, "people id"], [0, "snatch"], [0, "clean jerk"], [0, "total"], [1, "people id"], [1, "name"], [1, "height"], [1, "weight"], [1, "birth date"], [1, "birth place"]], "column_names_original": [[-1, "*"], [0, "body_builder_id"], [0, "people_id"], [0, "snatch"], [0, "clean_jerk"], [0, "total"], [1, "people_id"], [1, "name"], [1, "height"], [1, "weight"], [1, "birth_date"], [1, "birth_place"]], "column_types": ["text", "number", "number", "number", "number", "number", "number", "text", "number", "number", "text", "text"], "db_id": "body_builder", "foreign_keys": [[2, 6]], "primary_keys": [1, 6], "table_names": ["body builder", "people"], "table_names_original": ["body_builder", "people"]}, {"column_names": [[-1, "*"], [0, "stadium id"], [0, "location"], [0, "name"], [0, "capacity"], [0, "highest"], [0, "lowest"], [0, "average"], [1, "singer id"], [1, "name"], [1, "country"], [1, "song name"], [1, "song release year"], [1, "age"], [1, "is male"], [2, "concert id"], [2, "concert name"], [2, "theme"], [2, "stadium id"], [2, "year"], [3, "concert id"], [3, "singer id"]], "column_names_original": [[-1, "*"], [0, "stadium_id"], [0, "location"], [0, "name"], [0, "capacity"], [0, "highest"], [0, "lowest"], [0, "average"], [1, "singer_id"], [1, "name"], [1, "country"], [1, "song_name"], [1, "song_release_year"], [1, "age"], [1, "is_male"], [2, "concert_id"], [2, "concert_name"], [2, "theme"], [2, "stadium_id"], [2, "year"], [3, "concert_id"], [3, "singer_id"]], "column_types": ["text", "number", "text", "text", "number", "number", "number", "number", "number", "text", "text", "text", "text", "number", "others", "number", "text", "text", "text", "text", "number", "text"], "db_id": "concert_singer", "foreign_keys": [[18, 1], [21, 8], [20, 15]], "primary_keys": [1, 8, 15, 20], "table_names": ["stadium", "singer", "concert", "singer in concert"], "table_names_original": ["stadium", "singer", "concert", "singer_in_concert"]}, {"column_names": [[-1, "*"], [0, "building id"], [0, "building short name"], [0, "building full name"], [0, "building description"], [0, "building address"], [0, "building manager"], [0, "building phone"], [1, "apartment id"], [1, "building id"], [1, "apartment type code"], [1, "apartment number"], [1, "bathroom count"], [1, "bedroom count"], [1, "room count"], [2, "apartment id"], [2, "facility code"], [3, "guest id"], [3, "gender code"], [3, "guest first name"], [3, "guest last name"], [3, "date of birth"], [4, "apartment booking id"], [4, "apartment id"], [4, "guest id"], [4, "booking status code"], [4, "booking start date"], [4, "booking end date"], [5, "apartment id"], [5, "apartment booking id"], [5, "status date"], [5, "available yes or no"]], "column_names_original": [[-1, "*"], [0, "building_id"], [0, "building_short_name"], [0, "building_full_name"], [0, "building_description"], [0, "building_address"], [0, "building_manager"], [0, "building_phone"], [1, "apt_id"], [1, "building_id"], [1, "apt_type_code"], [1, "apt_number"], [1, "bathroom_count"], [1, "bedroom_count"], [1, "room_count"], [2, "apt_id"], [2, "facility_code"], [3, "guest_id"], [3, "gender_code"], [3, "guest_first_name"], [3, "guest_last_name"], [3, "date_of_birth"], [4, "apt_booking_id"], [4, "apt_id"], [4, "guest_id"], [4, "booking_status_code"], [4, "booking_start_date"], [4, "booking_end_date"], [5, "apt_id"], [5, "apt_booking_id"], [5, "status_date"], [5, "available_yn"]], "column_types": ["text", "number", "text", "text", "text", "text", "text", "text", "number", "number", "text", "text", "number", "number", "text", "number", "text", "number", "text", "text", "text", "time", "number", "number", "number", "text", "time", "time", "number", "number", "time", "others"], "db_id": "apartment_rentals", "foreign_keys": [[9, 1], [15, 8], [24, 17], [23, 8], [29, 22], [28, 8]], "primary_keys": [1, 8, 15, 17, 22, 30], "table_names": ["apartment buildings", "apartments", "apartment facilities", "guests", "apartment bookings", "view unit status"], "table_names_original": ["apartment_buildings", "apartments", "apartment_facilities", "guests", "apartment_bookings", "view_unit_status"]}, {"column_names": [[-1, "*"], [0, "museum id"], [0, "name"], [0, "num of staff"], [0, "open year"], [1, "customer id"], [1, "name"], [1, "level of membership"], [1, "age"], [2, "museum id"], [2, "customer id"], [2, "num of ticket"], [2, "total spent"]], "column_names_original": [[-1, "*"], [0, "museum_id"], [0, "name"], [0, "num_of_staff"], [0, "open_year"], [1, "id"], [1, "name"], [1, "level_of_membership"], [1, "age"], [2, "museum_id"], [2, "visitor_id"], [2, "num_of_ticket"], [2, "total_spent"]], "column_types": ["text", "number", "text", "number", "text", "number", "text", "number", "number", "number", "text", "number", "number"], "db_id": "museum_visit", "foreign_keys": [[10, 5], [9, 1]], "primary_keys": [1, 5, 9], "table_names": ["museum", "customer", "visit"], "table_names_original": ["museum", "visitor", "visit"]}, {"column_names": [[-1, "*"], [0, "storm id"], [0, "name"], [0, "dates active"], [0, "max speed"], [0, "damage millions usd"], [0, "number deaths"], [1, "region id"], [1, "region code"], [1, "region name"], [2, "region id"], [2, "storm id"], [2, "number city affected"]], "column_names_original": [[-1, "*"], [0, "storm_id"], [0, "name"], [0, "dates_active"], [0, "max_speed"], [0, "damage_millions_usd"], [0, "number_deaths"], [1, "region_id"], [1, "region_code"], [1, "region_name"], [2, "region_id"], [2, "storm_id"], [2, "number_city_affected"]], "column_types": ["text", "number", "text", "text", "number", "number", "number", "number", "text", "text", "number", "number", "number"], "db_id": "storm_record", "foreign_keys": [[11, 1], [10, 7]], "primary_keys": [1, 7, 10], "table_names": ["storm", "region", "affected region"], "table_names_original": ["storm", "region", "affected_region"]}, {"column_names": [[-1, "*"], [0, "pilot id"], [0, "name"], [0, "age"], [1, "aircraft id"], [1, "aircraft"], [1, "description"], [1, "max gross weight"], [1, "total disk area"], [1, "max disk loading"], [2, "round"], [2, "location"], [2, "country"], [2, "date"], [2, "fastest qualifying"], [2, "winning pilot"], [2, "winning aircraft"], [3, "airport id"], [3, "airport name"], [3, "total passengers"], [3, "% change 2007"], [3, "international passengers"], [3, "domestic passengers"], [3, "transit passengers"], [3, "aircraft movements"], [3, "freight metric tonnes"], [4, "id"], [4, "airport id"], [4, "aircraft id"]], "column_names_original": [[-1, "*"], [0, "pilot_id"], [0, "name"], [0, "age"], [1, "aircraft_id"], [1, "aircraft"], [1, "description"], [1, "max_gross_weight"], [1, "total_disk_area"], [1, "max_disk_loading"], [2, "round"], [2, "location"], [2, "country"], [2, "date"], [2, "fastest_qualifying"], [2, "winning_pilot"], [2, "winning_aircraft"], [3, "airport_id"], [3, "airport_name"], [3, "total_passengers"], [3, "%_change_2007"], [3, "international_passengers"], [3, "domestic_passengers"], [3, "transit_passengers"], [3, "aircraft_movements"], [3, "freight_metric_tonnes"], [4, "id"], [4, "airport_id"], [4, "aircraft_id"]], "column_types": ["text", "number", "text", "number", "number", "text", "text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "number", "text", "number", "text", "number", "number", "number", "number", "number", "number", "number", "number"], "db_id": "aircraft", "foreign_keys": [[15, 1], [16, 4], [28, 4], [27, 17]], "primary_keys": [1, 4, 10, 17, 27], "table_names": ["pilot", "aircraft", "match", "airport", "airport aircraft"], "table_names_original": ["pilot", "aircraft", "match", "airport", "airport_aircraft"]}, {"column_names": [[-1, "*"], [0, "coupon id"], [0, "date issued"], [0, "coupon amount"], [1, "customer id"], [1, "coupon id"], [1, "good or bad customer"], [1, "first name"], [1, "last name"], [1, "gender"], [1, "date became customer"], [1, "date last hire"], [2, "booking id"], [2, "customer id"], [2, "booking status code"], [2, "returned damaged yes or no"], [2, "booking start date"], [2, "booking end date"], [2, "count hired"], [2, "amount payable"], [2, "amount of discount"], [2, "amount outstanding"], [2, "amount of refund"], [3, "product id"], [3, "product type code"], [3, "daily hire cost"], [3, "product name"], [3, "product description"], [4, "payment id"], [4, "booking id"], [4, "customer id"], [4, "payment type code"], [4, "amount paid in full yn"], [4, "payment date"], [4, "amount due"], [4, "amount paid"], [5, "booking id"], [5, "product id"], [5, "returned yes or no"], [5, "returned late yes or no"], [5, "booked count"], [5, "booked amount"], [6, "product id"], [6, "booking id"], [6, "status date"], [6, "available yes or no"]], "column_names_original": [[-1, "*"], [0, "coupon_id"], [0, "date_issued"], [0, "coupon_amount"], [1, "customer_id"], [1, "coupon_id"], [1, "good_or_bad_customer"], [1, "first_name"], [1, "last_name"], [1, "gender_mf"], [1, "date_became_customer"], [1, "date_last_hire"], [2, "booking_id"], [2, "customer_id"], [2, "booking_status_code"], [2, "returned_damaged_yn"], [2, "booking_start_date"], [2, "booking_end_date"], [2, "count_hired"], [2, "amount_payable"], [2, "amount_of_discount"], [2, "amount_outstanding"], [2, "amount_of_refund"], [3, "product_id"], [3, "product_type_code"], [3, "daily_hire_cost"], [3, "product_name"], [3, "product_description"], [4, "payment_id"], [4, "booking_id"], [4, "customer_id"], [4, "payment_type_code"], [4, "amount_paid_in_full_yn"], [4, "payment_date"], [4, "amount_due"], [4, "amount_paid"], [5, "booking_id"], [5, "product_id"], [5, "returned_yn"], [5, "returned_late_yn"], [5, "booked_count"], [5, "booked_amount"], [6, "product_id"], [6, "booking_id"], [6, "status_date"], [6, "available_yn"]], "column_types": ["text", "number", "time", "number", "number", "number", "text", "text", "text", "text", "time", "time", "number", "number", "text", "text", "time", "time", "text", "number", "number", "number", "number", "number", "text", "number", "text", "text", "number", "number", "number", "text", "text", "time", "number", "number", "number", "number", "text", "text", "number", "number", "number", "number", "time", "text"], "db_id": "products_for_hire", "foreign_keys": [[5, 1], [13, 4], [30, 4], [29, 12], [37, 23], [36, 12], [42, 23], [43, 12]], "primary_keys": [1, 4, 12, 23, 28, 36, 44], "table_names": ["discount coupons", "customers", "bookings", "products for hire", "payments", "products booked", "view product availability"], "table_names_original": ["discount_coupons", "customers", "bookings", "products_for_hire", "payments", "products_booked", "view_product_availability"]}, {"column_names": [[-1, "*"], [0, "product id"], [0, "product"], [0, "dimensions"], [0, "dpi"], [0, "pages per minute color"], [0, "max page size"], [0, "interface"], [1, "store id"], [1, "store name"], [1, "type"], [1, "area size"], [1, "number of product category"], [1, "ranking"], [2, "district id"], [2, "district name"], [2, "headquartered city"], [2, "city population"], [2, "city area"], [3, "store id"], [3, "product id"], [4, "store id"], [4, "district id"]], "column_names_original": [[-1, "*"], [0, "product_id"], [0, "product"], [0, "dimensions"], [0, "dpi"], [0, "pages_per_minute_color"], [0, "max_page_size"], [0, "interface"], [1, "store_id"], [1, "store_name"], [1, "type"], [1, "area_size"], [1, "number_of_product_category"], [1, "ranking"], [2, "district_id"], [2, "district_name"], [2, "headquartered_city"], [2, "city_population"], [2, "city_area"], [3, "store_id"], [3, "product_id"], [4, "store_id"], [4, "district_id"]], "column_types": ["text", "number", "text", "text", "number", "number", "text", "text", "number", "text", "text", "number", "number", "number", "number", "text", "text", "number", "number", "number", "number", "number", "number"], "db_id": "store_product", "foreign_keys": [[19, 8], [22, 14], [21, 8]], "primary_keys": [1, 8, 14, 19, 21], "table_names": ["product", "store", "district", "store product", "store district"], "table_names_original": ["product", "store", "district", "store_product", "store_district"]}, {"column_names": [[-1, "*"], [0, "album id"], [0, "title"], [0, "artist id"], [1, "artist id"], [1, "name"], [2, "customer id"], [2, "first name"], [2, "last name"], [2, "company"], [2, "address"], [2, "city"], [2, "state"], [2, "country"], [2, "postal code"], [2, "phone"], [2, "fax"], [2, "email"], [2, "support representative id"], [3, "employee id"], [3, "last name"], [3, "first name"], [3, "title"], [3, "reports to"], [3, "birth date"], [3, "hire date"], [3, "address"], [3, "city"], [3, "state"], [3, "country"], [3, "postal code"], [3, "phone"], [3, "fax"], [3, "email"], [4, "genre id"], [4, "name"], [5, "invoice id"], [5, "customer id"], [5, "invoice date"], [5, "billing address"], [5, "billing city"], [5, "billing state"], [5, "billing country"], [5, "billing postal code"], [5, "total"], [6, "invoice line id"], [6, "invoice id"], [6, "track id"], [6, "unit price"], [6, "quantity"], [7, "media type id"], [7, "name"], [8, "play list id"], [8, "name"], [9, "play list id"], [9, "track id"], [10, "track id"], [10, "name"], [10, "album id"], [10, "media type id"], [10, "genre id"], [10, "composer"], [10, "milliseconds"], [10, "bytes"], [10, "unit price"]], "column_names_original": [[-1, "*"], [0, "albumid"], [0, "title"], [0, "artistid"], [1, "artistid"], [1, "name"], [2, "customerid"], [2, "firstname"], [2, "lastname"], [2, "company"], [2, "address"], [2, "city"], [2, "state"], [2, "country"], [2, "postalcode"], [2, "phone"], [2, "fax"], [2, "email"], [2, "supportrepid"], [3, "employeeid"], [3, "lastname"], [3, "firstname"], [3, "title"], [3, "reportsto"], [3, "birthdate"], [3, "hiredate"], [3, "address"], [3, "city"], [3, "state"], [3, "country"], [3, "postalcode"], [3, "phone"], [3, "fax"], [3, "email"], [4, "genreid"], [4, "name"], [5, "invoiceid"], [5, "customerid"], [5, "invoicedate"], [5, "billingaddress"], [5, "billingcity"], [5, "billingstate"], [5, "billingcountry"], [5, "billingpostalcode"], [5, "total"], [6, "invoicelineid"], [6, "invoiceid"], [6, "trackid"], [6, "unitprice"], [6, "quantity"], [7, "mediatypeid"], [7, "name"], [8, "playlistid"], [8, "name"], [9, "playlistid"], [9, "trackid"], [10, "trackid"], [10, "name"], [10, "albumid"], [10, "mediatypeid"], [10, "genreid"], [10, "composer"], [10, "milliseconds"], [10, "bytes"], [10, "unitprice"]], "column_types": ["text", "number", "text", "number", "number", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "text", "text", "text", "number", "number", "text", "text", "text", "number", "time", "time", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "number", "number", "time", "text", "text", "text", "text", "text", "number", "number", "number", "number", "number", "number", "number", "text", "number", "text", "number", "number", "number", "text", "number", "number", "number", "text", "number", "number", "number"], "db_id": "chinook_1", "foreign_keys": [[3, 4], [18, 19], [23, 19], [37, 6], [47, 56], [46, 36], [55, 56], [54, 52], [59, 50], [60, 34], [58, 1]], "primary_keys": [1, 4, 6, 19, 34, 36, 45, 50, 52, 54, 56], "table_names": ["album", "artist", "customer", "employee", "genre", "invoice", "invoice line", "media type", "playlist", "playlist track", "track"], "table_names_original": ["album", "artist", "customer", "employee", "genre", "invoice", "invoiceline", "mediatype", "playlist", "playlisttrack", "track"]}, {"column_names": [[-1, "*"], [0, "investor id"], [0, "investor details"], [1, "lot id"], [1, "investor id"], [1, "lot details"], [2, "transaction type code"], [2, "transaction type description"], [3, "transaction id"], [3, "investor id"], [3, "transaction type code"], [3, "date of transaction"], [3, "amount of transaction"], [3, "share count"], [3, "other details"], [4, "sales transaction id"], [4, "sales details"], [5, "purchase transaction id"], [5, "purchase details"], [6, "transaction id"], [6, "lot id"]], "column_names_original": [[-1, "*"], [0, "investor_id"], [0, "investor_details"], [1, "lot_id"], [1, "investor_id"], [1, "lot_details"], [2, "transaction_type_code"], [2, "transaction_type_description"], [3, "transaction_id"], [3, "investor_id"], [3, "transaction_type_code"], [3, "date_of_transaction"], [3, "amount_of_transaction"], [3, "share_count"], [3, "other_details"], [4, "sales_transaction_id"], [4, "sales_details"], [5, "purchase_transaction_id"], [5, "purchase_details"], [6, "transaction_id"], [6, "lot_id"]], "column_types": ["text", "number", "text", "number", "number", "text", "text", "text", "number", "number", "text", "time", "number", "text", "text", "number", "text", "number", "text", "number", "number"], "db_id": "tracking_share_transactions", "foreign_keys": [[4, 1], [10, 6], [9, 1], [15, 8], [17, 8], [19, 8], [20, 3]], "primary_keys": [1, 3, 6, 8, 15], "table_names": ["investors", "lots", "reference transaction types", "transactions", "sales", "purchases", "transactions lots"], "table_names_original": ["investors", "lots", "ref_transaction_types", "transactions", "sales", "purchases", "transactions_lots"]}, {"column_names": [[-1, "*"], [0, "station id"], [0, "name"], [0, "annual entry exit"], [0, "annual interchanges"], [0, "total passengers"], [0, "location"], [0, "main services"], [0, "number of platforms"], [1, "train id"], [1, "name"], [1, "time"], [1, "service"], [2, "train id"], [2, "station id"]], "column_names_original": [[-1, "*"], [0, "station_id"], [0, "name"], [0, "annual_entry_exit"], [0, "annual_interchanges"], [0, "total_passengers"], [0, "location"], [0, "main_services"], [0, "number_of_platforms"], [1, "train_id"], [1, "name"], [1, "time"], [1, "service"], [2, "train_id"], [2, "station_id"]], "column_types": ["text", "number", "text", "number", "number", "number", "text", "text", "number", "number", "text", "text", "text", "number", "number"], "db_id": "train_station", "foreign_keys": [[14, 1], [13, 9]], "primary_keys": [1, 9, 13], "table_names": ["station", "train", "train station"], "table_names_original": ["station", "train", "train_station"]}, {"column_names": [[-1, "*"], [0, "school id"], [0, "school name"], [0, "location"], [0, "mascot"], [0, "enrollment"], [0, "ihsaa class"], [0, "ihsaa football class"], [0, "county"], [1, "school id"], [1, "year"], [1, "budgeted"], [1, "total budget percent budgeted"], [1, "invested"], [1, "total budget percent invested"], [1, "budget invested percent"], [2, "endowment id"], [2, "school id"], [2, "donator name"], [2, "amount"]], "column_names_original": [[-1, "*"], [0, "school_id"], [0, "school_name"], [0, "location"], [0, "mascot"], [0, "enrollment"], [0, "ihsaa_class"], [0, "ihsaa_football_class"], [0, "county"], [1, "school_id"], [1, "year"], [1, "budgeted"], [1, "total_budget_percent_budgeted"], [1, "invested"], [1, "total_budget_percent_invested"], [1, "budget_invested_percent"], [2, "endowment_id"], [2, "school_id"], [2, "donator_name"], [2, "amount"]], "column_types": ["text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "number", "number", "number", "number", "number", "text", "number", "number", "text", "number"], "db_id": "school_finance", "foreign_keys": [[9, 1], [17, 1]], "primary_keys": [1, 9, 16], "table_names": ["school", "budget", "endowment"], "table_names_original": ["school", "budget", "endowment"]}, {"column_names": [[-1, "*"], [0, "id"], [0, "name"], [0, "height"], [0, "prominence"], [0, "range"], [0, "country"], [1, "id"], [1, "brand"], [1, "name"], [1, "focal length mm"], [1, "max aperture"], [2, "id"], [2, "camera lens id"], [2, "mountain id"], [2, "color"], [2, "name"]], "column_names_original": [[-1, "*"], [0, "id"], [0, "name"], [0, "height"], [0, "prominence"], [0, "range"], [0, "country"], [1, "id"], [1, "brand"], [1, "name"], [1, "focal_length_mm"], [1, "max_aperture"], [2, "id"], [2, "camera_lens_id"], [2, "mountain_id"], [2, "color"], [2, "name"]], "column_types": ["text", "number", "text", "number", "number", "text", "text", "number", "text", "text", "number", "number", "number", "number", "number", "text", "text"], "db_id": "mountain_photos", "foreign_keys": [[14, 1], [13, 7]], "primary_keys": [1, 7, 12], "table_names": ["mountain", "camera lens", "photos"], "table_names_original": ["mountain", "camera_lens", "photos"]}, {"column_names": [[-1, "*"], [0, "city id"], [0, "official name"], [0, "status"], [0, "area km 2"], [0, "population"], [0, "census ranking"], [1, "farm id"], [1, "year"], [1, "total horses"], [1, "working horses"], [1, "total cattle"], [1, "oxen"], [1, "bulls"], [1, "cows"], [1, "pigs"], [1, "sheep and goats"], [2, "competition id"], [2, "year"], [2, "theme"], [2, "host city id"], [2, "hosts"], [3, "competition id"], [3, "farm id"], [3, "rank"]], "column_names_original": [[-1, "*"], [0, "city_id"], [0, "official_name"], [0, "status"], [0, "area_km_2"], [0, "population"], [0, "census_ranking"], [1, "farm_id"], [1, "year"], [1, "total_horses"], [1, "working_horses"], [1, "total_cattle"], [1, "oxen"], [1, "bulls"], [1, "cows"], [1, "pigs"], [1, "sheep_and_goats"], [2, "competition_id"], [2, "year"], [2, "theme"], [2, "host_city_id"], [2, "hosts"], [3, "competition_id"], [3, "farm_id"], [3, "rank"]], "column_types": ["text", "number", "text", "text", "number", "number", "text", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "text", "number", "text", "number", "number", "number"], "db_id": "farm", "foreign_keys": [[20, 1], [23, 7], [22, 17]], "primary_keys": [1, 7, 17, 22], "table_names": ["city", "farm", "farm competition", "competition record"], "table_names_original": ["city", "farm", "farm_competition", "competition_record"]}, {"column_names": [[-1, "*"], [0, "gymnast id"], [0, "floor exercise points"], [0, "pommel horse points"], [0, "rings points"], [0, "vault points"], [0, "parallel bars points"], [0, "horizontal bar points"], [0, "total points"], [1, "people id"], [1, "name"], [1, "age"], [1, "height"], [1, "hometown"]], "column_names_original": [[-1, "*"], [0, "gymnast_id"], [0, "floor_exercise_points"], [0, "pommel_horse_points"], [0, "rings_points"], [0, "vault_points"], [0, "parallel_bars_points"], [0, "horizontal_bar_points"], [0, "total_points"], [1, "people_id"], [1, "name"], [1, "age"], [1, "height"], [1, "hometown"]], "column_types": ["text", "number", "number", "number", "number", "number", "number", "number", "number", "number", "text", "number", "number", "text"], "db_id": "gymnast", "foreign_keys": [[1, 9]], "primary_keys": [1, 9], "table_names": ["gymnast", "people"], "table_names_original": ["gymnast", "people"]}]
testsets/aggregation_in_column/testset_aggregation_in_column.json ADDED
The diff for this file is too large to render. See raw diff
 
testsets/aggregation_mono/.DS_Store ADDED
Binary file (6.15 kB). View file
 
testsets/aggregation_mono/databases_aggregation_mono/.DS_Store ADDED
Binary file (10.2 kB). View file
 
testsets/aggregation_mono/databases_aggregation_mono/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;
testsets/aggregation_mono/databases_aggregation_mono/bike_1/bike_1.sqlite ADDED
Binary file (53.2 kB). View file
 
testsets/aggregation_mono/databases_aggregation_mono/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;
testsets/aggregation_mono/databases_aggregation_mono/candidate_poll/candidate_poll.sqlite ADDED
Binary file (12.3 kB). View file
 
testsets/aggregation_mono/databases_aggregation_mono/coffee_shop/coffee_shop.sql ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CREATE TABLE "shop" (
2
+ "shop_id" integer,
3
+ "address" text,
4
+ "num_of_staff" text,
5
+ "score" real,
6
+ "open_year" text
7
+ );
8
+
9
+ INSERT INTO shop VALUES (1, "1200 main street", "13", 42.0, "2010");
10
+ INSERT INTO shop VALUES (2, "1111 main street", "19", 38.0, "2008");
11
+ INSERT INTO shop VALUES (3, "1330 baltimore street", "42", 36.0, "2010");
12
+ INSERT INTO shop VALUES (4, "909 walnut street", "27", 32.0, "2010");
13
+ INSERT INTO shop VALUES (5, "414 e. 12th street", "24", 30.0, "2011");
14
+ INSERT INTO shop VALUES (6, "1201 walnut street", "34", 30.0, "2010");
15
+ INSERT INTO shop VALUES (7, "2345 mcgee street", "425", 40.0, "2008");
16
+ INSERT INTO shop VALUES (8, "909 main street", "28", 30.0, "2011");
17
+ INSERT INTO shop VALUES (9, "1100 main street", "23", 30.0, "2006");
18
+ INSERT INTO shop VALUES (10, "324 e. 11th street", "16", 28.0, "2008");
19
+
20
+ CREATE TABLE "member" (
21
+ "member_id" integer,
22
+ "name" text,
23
+ "membership_card" text,
24
+ "age" integer,
25
+ "time_of_purchase" integer,
26
+ "level_of_membership" integer,
27
+ "address" text
28
+ );
29
+
30
+ INSERT INTO member VALUES (1, "ashby lazale", "black", 29, 18, 5, "hartford");
31
+ INSERT INTO member VALUES (2, "breton robert", "white", 67, 41, 4, "waterbury");
32
+ INSERT INTO member VALUES (3, "campbell jessie", "black", 34, 20, 6, "hartford");
33
+ INSERT INTO member VALUES (4, "cobb sedrick", "black", 51, 27, 2, "waterbury");
34
+ INSERT INTO member VALUES (5, "hayes steven", "white", 50, 44, 3, "cheshire");
35
+ INSERT INTO member VALUES (6, "komisarjevsky joshua", "white", 33, 26, 2, "cheshire");
36
+ INSERT INTO member VALUES (7, "peeler russell", "black", 42, 26, 6, "bridgeport");
37
+ INSERT INTO member VALUES (8, "reynolds richard", "black", 45, 24, 1, "waterbury");
38
+ INSERT INTO member VALUES (9, "rizzo todd", "white", 35, 18, 4, "waterbury");
39
+ INSERT INTO member VALUES (10, "webb daniel", "black", 51, 27, 22, "hartford");
40
+
41
+ CREATE TABLE "happy_hour" (
42
+ "hh_id" integer,
43
+ "shop_id" integer,
44
+ "month" text,
45
+ "num_of_shaff_in_charge" integer
46
+ );
47
+
48
+ INSERT INTO happy_hour VALUES (1, 1, "may", 10);
49
+ INSERT INTO happy_hour VALUES (2, 1, "april", 12);
50
+ INSERT INTO happy_hour VALUES (3, 10, "june", 15);
51
+ INSERT INTO happy_hour VALUES (4, 5, "july", 5);
52
+ INSERT INTO happy_hour VALUES (5, 1, "may", 10);
53
+ INSERT INTO happy_hour VALUES (6, 1, "april", 12);
54
+ INSERT INTO happy_hour VALUES (7, 2, "june", 5);
55
+ INSERT INTO happy_hour VALUES (8, 3, "july", 15);
56
+ INSERT INTO happy_hour VALUES (9, 3, "may", 3);
57
+ INSERT INTO happy_hour VALUES (10, 3, "april", 4);
58
+
59
+ CREATE TABLE "happy_hour_member" (
60
+ "hh_id" integer,
61
+ "member_id" integer,
62
+ "total_amount" real
63
+ );
64
+
65
+ INSERT INTO happy_hour_member VALUES (1, 3, 20.9);
66
+ INSERT INTO happy_hour_member VALUES (2, 5, 20.92);
67
+ INSERT INTO happy_hour_member VALUES (4, 3, 4.9);
68
+ INSERT INTO happy_hour_member VALUES (5, 5, 16.9);
69
+ INSERT INTO happy_hour_member VALUES (7, 9, 16.92);
70
+ INSERT INTO happy_hour_member VALUES (8, 9, 4.2);
71
+
72
+
73
+ COMMIT;
testsets/aggregation_mono/databases_aggregation_mono/coffee_shop/coffee_shop.sqlite ADDED
Binary file (20.5 kB). View file
 
testsets/aggregation_mono/databases_aggregation_mono/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;
testsets/aggregation_mono/databases_aggregation_mono/college_2/college_2.sqlite ADDED
Binary file (49.2 kB). View file