Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- test_database/activity_1/schema.sql +328 -0
- test_database/battle_death/battle_death.sqlite +0 -0
- test_database/battle_death/schema.sql +65 -0
- test_database/behavior_monitoring/behavior_monitoring.sqlite +0 -0
- test_database/behavior_monitoring/schema.sql +258 -0
- test_database/book_press/book_press.sqlite +0 -0
- test_database/book_press/schema.sql +67 -0
- test_database/book_review/book_review.sqlite +0 -0
- test_database/book_review/schema.sql +34 -0
- test_database/book_review/schema_old.sql +34 -0
- test_database/chinook_1/annotation.json +5 -0
- test_database/coffee_shop/schema.sql +85 -0
- test_database/college_1/TinyCollege.sql +194 -0
- test_database/college_1/college_1.sqlite +0 -0
- test_database/college_1/link.txt +1 -0
- test_database/company_office/company_office.sqlite +0 -0
- test_database/company_office/schema.sql +86 -0
- test_database/device/schema.sql +61 -0
- test_database/dorm_1/schema.sql +172 -0
- test_database/driving_school/schema.sql +148 -0
- test_database/e_government/e_government.sqlite +0 -0
- test_database/e_government/schema.sql +231 -0
- test_database/employee_hire_evaluation/employee_hire_evaluation.sqlite +0 -0
- test_database/employee_hire_evaluation/schema.sql +84 -0
- test_database/entrepreneur/schema.sql +40 -0
- test_database/film_rank/film_rank.sqlite +0 -0
- test_database/flight_company/flight_company.sqlite +0 -0
- test_database/gymnast/gymnast.sqlite +0 -0
- test_database/inn_1/annotation.json +38 -0
- test_database/inn_1/data_csv/Reservations_t.csv +601 -0
- test_database/inn_1/data_csv/Rooms.csv +11 -0
- test_database/local_govt_mdm/local_govt_mdm.sqlite +0 -0
- test_database/medicine_enzyme_interaction/medicine_enzyme_interaction.sqlite +0 -0
- test_database/mountain_photos/mountain_photos.sqlite +0 -0
- test_database/mountain_photos/schema.sql +75 -0
- test_database/movie_2/annotation.json +41 -0
- test_database/movie_2/link.txt +1 -0
- test_database/movie_2/movie_2.sqlite +0 -0
- test_database/movie_2/schema.sql +30 -0
- test_database/music_2/music_2.sqlite +0 -0
- test_database/online_exams/simple_schema.sql +61 -0
- test_database/phone_market/phone_market.sqlite +0 -0
- test_database/phone_market/schema.sql +54 -0
- test_database/planet_1/q.txt +3 -0
- test_database/planet_1/schema.sql +102 -0
- test_database/planet_1/sql.txt +14 -0
- test_database/product_catalog/product_catalog.sqlite +0 -0
- test_database/products_for_hire/schema.sql +165 -0
- test_database/protein_institute/schema.sql +66 -0
- test_database/real_estate_properties/real_estate_properties.sqlite +0 -0
test_database/activity_1/schema.sql
ADDED
|
@@ -0,0 +1,328 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
create table Activity (
|
| 2 |
+
actid INTEGER PRIMARY KEY,
|
| 3 |
+
activity_name varchar(25)
|
| 4 |
+
);
|
| 5 |
+
|
| 6 |
+
create table Participates_in (
|
| 7 |
+
stuid INTEGER,
|
| 8 |
+
actid INTEGER,
|
| 9 |
+
FOREIGN KEY(stuid) REFERENCES Student(StuID),
|
| 10 |
+
FOREIGN KEY(actid) REFERENCES Activity(actid)
|
| 11 |
+
);
|
| 12 |
+
|
| 13 |
+
create table Faculty_Participates_in (
|
| 14 |
+
FacID INTEGER,
|
| 15 |
+
actid INTEGER,
|
| 16 |
+
FOREIGN KEY(FacID) REFERENCES Faculty(FacID),
|
| 17 |
+
FOREIGN KEY(actid) REFERENCES Activity(actid)
|
| 18 |
+
);
|
| 19 |
+
|
| 20 |
+
create table Student (
|
| 21 |
+
StuID INTEGER PRIMARY KEY,
|
| 22 |
+
LName VARCHAR(12),
|
| 23 |
+
Fname VARCHAR(12),
|
| 24 |
+
Age INTEGER,
|
| 25 |
+
Sex VARCHAR(1),
|
| 26 |
+
Major INTEGER,
|
| 27 |
+
Advisor INTEGER,
|
| 28 |
+
city_code VARCHAR(3)
|
| 29 |
+
);
|
| 30 |
+
|
| 31 |
+
create table Faculty (
|
| 32 |
+
FacID INTEGER PRIMARY KEY,
|
| 33 |
+
Lname VARCHAR(15),
|
| 34 |
+
Fname VARCHAR(15),
|
| 35 |
+
Rank VARCHAR(15),
|
| 36 |
+
Sex VARCHAR(1),
|
| 37 |
+
Phone INTEGER,
|
| 38 |
+
Room VARCHAR(5),
|
| 39 |
+
Building VARCHAR(13)
|
| 40 |
+
);
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
insert into Faculty values ( 1082, 'Giuliano', 'Mark', 'Instructor', 'M', 2424, '224', 'NEB');
|
| 44 |
+
insert into Faculty values ( 1121, 'Goodrich', 'Michael', 'Professor', 'M', 3593, '219', 'NEB');
|
| 45 |
+
insert into Faculty values ( 1148, 'Masson', 'Gerald', 'Professor', 'M', 3402, '224B', 'NEB');
|
| 46 |
+
insert into Faculty values ( 1193, 'Jones', 'Stacey', 'Instructor', 'F', 3550, '224', 'NEB');
|
| 47 |
+
insert into Faculty values ( 2192, 'Yarowsky', 'David', 'AsstProf', 'M', 6587, '324', 'NEB');
|
| 48 |
+
insert into Faculty values ( 3457, 'Smith', 'Scott', 'AssocProf', 'M', 1035, '318', 'NEB');
|
| 49 |
+
insert into Faculty values ( 4230, 'Houlahan', 'Joanne', 'Instructor', 'F', 1260, '328', 'NEB');
|
| 50 |
+
insert into Faculty values ( 6112, 'Beach', 'Louis', 'Instructor', 'M', 1838, '207', 'NEB');
|
| 51 |
+
insert into Faculty values ( 7712, 'Awerbuch', 'Baruch', 'Professor', 'M', 2105, '220', 'NEB');
|
| 52 |
+
insert into Faculty values ( 7792, 'Brill', 'Eric', 'AsstProf', 'M', 2303, '324B', 'NEB');
|
| 53 |
+
insert into Faculty values ( 7723, 'Taylor', 'Russell', 'Professor', 'M', 2435, '317', 'NEB');
|
| 54 |
+
insert into Faculty values ( 8114, 'Angelopoulou', 'Ellie', 'Instructor', 'F', 2152, '316', 'NEB');
|
| 55 |
+
insert into Faculty values ( 8423, 'Kumar', 'Subodh', 'AsstProf', 'M', 2522, '218', 'NEB');
|
| 56 |
+
insert into Faculty values ( 8721, 'Wolff', 'Lawrence', 'AssocProf', 'M', 2342, '316', 'NEB');
|
| 57 |
+
insert into Faculty values ( 8741, 'Salzberg', 'Steven', 'AssocProf', 'M', 2641, '324A', 'NEB');
|
| 58 |
+
insert into Faculty values ( 8918, 'Amir', 'Yair', 'AsstProf', 'M', 2672, '308', 'NEB');
|
| 59 |
+
insert into Faculty values ( 9172, 'Kosaraju', 'Rao', 'Professor', 'M', 2757, '319', 'NEB');
|
| 60 |
+
insert into Faculty values ( 9826, 'Delcher', 'Arthur', 'Instructor', 'M', 2956, '329', 'NEB');
|
| 61 |
+
insert into Faculty values ( 1172, 'Runolfsson', 'Thordur', 'AssocProf', 'M', 3121, '119', 'Barton');
|
| 62 |
+
insert into Faculty values ( 1177, 'Naiman', 'Daniel', 'Professor', 'M', 3571, '288', 'Krieger');
|
| 63 |
+
insert into Faculty values ( 1823, 'Davidson', 'Frederic', 'Professor', 'M', 5629, '119', 'Barton');
|
| 64 |
+
insert into Faculty values ( 2028, 'Brody', 'William', 'Professor', 'M', 6073, '119', 'Barton');
|
| 65 |
+
insert into Faculty values ( 2119, 'Meyer', 'Gerard', 'Professor', 'M', 6350, '119', 'Barton');
|
| 66 |
+
insert into Faculty values ( 2291, 'Scheinerman', 'Edward', 'Professor', 'M', 6654, '288', 'Krieger');
|
| 67 |
+
insert into Faculty values ( 2311, 'Priebe', 'Carey', 'AsstProf', 'M', 6953, '288', 'Krieger');
|
| 68 |
+
insert into Faculty values ( 2738, 'Fill', 'James', 'Professor', 'M', 8209, '288', 'Krieger');
|
| 69 |
+
insert into Faculty values ( 2881, 'Goldman', 'Alan', 'Professor', 'M', 8335, '288', 'Krieger');
|
| 70 |
+
insert into Faculty values ( 4432, 'Burzio', 'Luigi', 'Professor', 'M', 1813, '288', 'Krieger');
|
| 71 |
+
insert into Faculty values ( 5718, 'Frank', 'Robert', 'AsstProf', 'M', 1751, '288', 'Krieger');
|
| 72 |
+
insert into Faculty values ( 6182, 'Cheng', 'Cheng', 'AsstProf', 'M', 1856, '288', 'Krieger');
|
| 73 |
+
insert into Faculty values ( 6191, 'Kaplan', 'Alexander', 'Professor', 'M', 1825, '119', 'Barton');
|
| 74 |
+
insert into Faculty values ( 6330, 'Byrne', 'William', 'Instructor', 'M', 1691, '119', 'Barton');
|
| 75 |
+
insert into Faculty values ( 6541, 'Han', 'Shih-Ping', 'Professor', 'M', 1914, '288', 'Krieger');
|
| 76 |
+
insert into Faculty values ( 6910, 'Smolensky', 'Paul', 'Professor', 'M', 2072, '288', 'Krieger');
|
| 77 |
+
insert into Faculty values ( 6925, 'Iglesias', 'Pablo', 'AsstProf', 'M', 2021, '119', 'Barton');
|
| 78 |
+
insert into Faculty values ( 7134, 'Goutsias', 'John', 'Professor', 'M', 2184, '119', 'Barton');
|
| 79 |
+
insert into Faculty values ( 7231, 'Rugh', 'Wilson', 'Professor', 'M', 2191, '119', 'Barton');
|
| 80 |
+
insert into Faculty values ( 7271, 'Jelinek', 'Frederick', 'Professor', 'M', 2890, '119', 'Barton');
|
| 81 |
+
insert into Faculty values ( 7506, 'Westgate', 'Charles', 'Professor', 'M', 2932, '119', 'Barton');
|
| 82 |
+
insert into Faculty values ( 8102, 'James', 'Lancelot', 'AsstProf', 'M', 2792, '288', 'Krieger');
|
| 83 |
+
insert into Faculty values ( 8118, 'Weinert', 'Howard', 'Professor', 'M', 3272, '119', 'Barton');
|
| 84 |
+
insert into Faculty values ( 8122, 'Wierman', 'John', 'Professor', 'M', 3392,'288', 'Krieger');
|
| 85 |
+
insert into Faculty values ( 8722, 'Cauwenberghs', 'Gert', 'AsstProf', 'M', 1372, '119', 'Barton');
|
| 86 |
+
insert into Faculty values ( 8723, 'Andreou', 'Andreas', 'Professor', 'M', 1402, '119', 'Barton');
|
| 87 |
+
insert into Faculty values ( 8772, 'Cowen', 'Lenore', 'AsstProf', 'F', 2870, '288', 'Krieger');
|
| 88 |
+
insert into Faculty values ( 8791, 'McCloskey', 'Michael', 'Professor', 'M', 3440, '288', 'Krieger');
|
| 89 |
+
insert into Faculty values ( 8989, 'Brent', 'Michael', 'AsstProf', 'M', 9373, '288', 'Krieger');
|
| 90 |
+
insert into Faculty values ( 9011, 'Rapp', 'Brenda', 'AsstProf', 'F', 2032, '288', 'Krieger');
|
| 91 |
+
insert into Faculty values ( 9191, 'Collins', 'Oliver', 'AssocProf', 'M', 5427, '119', 'Barton');
|
| 92 |
+
insert into Faculty values ( 9199, 'Hughes', 'Brian', 'AssocProf', 'M', 5666, '119', 'Barton');
|
| 93 |
+
insert into Faculty values ( 9210, 'Joseph', 'Richard', 'Professor', 'M', 5996, '119', 'Barton');
|
| 94 |
+
insert into Faculty values ( 9514, 'Prince', 'Jerry', 'AssocProf', 'M', 5106, '119', 'Barton');
|
| 95 |
+
insert into Faculty values ( 9823, 'Pang', 'Jong-Shi', 'Professor', 'M', 4366, '288', 'Krieger');
|
| 96 |
+
insert into Faculty values ( 9824, 'Glaser', 'Robert', 'Instructor', 'M', 4396, '119', 'Barton');
|
| 97 |
+
insert into Faculty values ( 9811, 'Wu', 'Colin', 'AsstProf', 'M', 2906, '288', 'Krieger');
|
| 98 |
+
insert into Faculty values ( 9643, 'Legendre', 'Geraldine', 'AssocProf', 'F', 8972, '288', 'Krieger');
|
| 99 |
+
insert into Faculty values ( 9379, 'Khurgin', 'Jacob', 'Professor', 'M', 1060, '119', 'Barton');
|
| 100 |
+
insert into Faculty values ( 9922, 'Hall', 'Leslie', 'AsstProf', 'F', 7332, '288', 'Krieger');
|
| 101 |
+
|
| 102 |
+
insert into Student values ( 1001, 'Smith', 'Linda', 18, 'F', 600, 1121,'BAL');
|
| 103 |
+
insert into Student values ( 1002, 'Kim', 'Tracy', 19, 'F', 600, 7712,'HKG');
|
| 104 |
+
insert into Student values ( 1003, 'Jones', 'Shiela', 21, 'F', 600, 7792,'WAS');
|
| 105 |
+
insert into Student values ( 1004, 'Kumar', 'Dinesh', 20, 'M', 600, 8423,'CHI');
|
| 106 |
+
insert into Student values ( 1005, 'Gompers', 'Paul', 26, 'M', 600, 1121,'YYZ');
|
| 107 |
+
insert into Student values ( 1006, 'Schultz', 'Andy', 18, 'M', 600, 1148,'BAL');
|
| 108 |
+
insert into Student values ( 1007, 'Apap', 'Lisa', 18, 'F', 600, 8918,'PIT');
|
| 109 |
+
insert into Student values ( 1008, 'Nelson', 'Jandy', 20, 'F', 600, 9172,'BAL');
|
| 110 |
+
insert into Student values ( 1009, 'Tai', 'Eric', 19, 'M', 600, 2192,'YYZ');
|
| 111 |
+
insert into Student values ( 1010, 'Lee', 'Derek', 17, 'M', 600, 2192,'HOU');
|
| 112 |
+
insert into Student values ( 1011, 'Adams', 'David', 22, 'M', 600, 1148,'PHL');
|
| 113 |
+
insert into Student values ( 1012, 'Davis', 'Steven', 20, 'M', 600, 7723,'PIT');
|
| 114 |
+
insert into Student values ( 1014, 'Norris', 'Charles', 18, 'M', 600, 8741, 'DAL');
|
| 115 |
+
insert into Student values ( 1015, 'Lee', 'Susan', 16, 'F', 600, 8721,'HKG');
|
| 116 |
+
insert into Student values ( 1016, 'Schwartz', 'Mark', 17, 'M', 600, 2192,'DET');
|
| 117 |
+
insert into Student values ( 1017, 'Wilson', 'Bruce', 27, 'M', 600, 1148,'LON');
|
| 118 |
+
insert into Student values ( 1018, 'Leighton', 'Michael', 20, 'M', 600, 1121, 'PIT');
|
| 119 |
+
insert into Student values ( 1019, 'Pang', 'Arthur', 18, 'M', 600, 2192,'WAS');
|
| 120 |
+
insert into Student values ( 1020, 'Thornton', 'Ian', 22, 'M', 520, 7271,'NYC');
|
| 121 |
+
insert into Student values ( 1021, 'Andreou', 'George', 19, 'M', 520, 8722, 'NYC');
|
| 122 |
+
insert into Student values ( 1022, 'Woods', 'Michael', 17, 'M', 540, 8722,'PHL');
|
| 123 |
+
insert into Student values ( 1023, 'Shieber', 'David', 20, 'M', 520, 8722,'NYC');
|
| 124 |
+
insert into Student values ( 1024, 'Prater', 'Stacy', 18, 'F', 540, 7271,'BAL');
|
| 125 |
+
insert into Student values ( 1025, 'Goldman', 'Mark', 18, 'M', 520, 7134,'PIT');
|
| 126 |
+
insert into Student values ( 1026, 'Pang', 'Eric', 19, 'M', 520, 7134,'HKG');
|
| 127 |
+
insert into Student values ( 1027, 'Brody', 'Paul', 18, 'M', 520, 8723,'LOS');
|
| 128 |
+
insert into Student values ( 1028, 'Rugh', 'Eric', 20, 'M', 550, 2311,'ROC');
|
| 129 |
+
insert into Student values ( 1029, 'Han', 'Jun', 17, 'M', 100, 2311,'PEK');
|
| 130 |
+
insert into Student values ( 1030, 'Cheng', 'Lisa', 21, 'F', 550, 2311,'SFO');
|
| 131 |
+
insert into Student values ( 1031, 'Smith', 'Sarah', 20, 'F', 550, 8772,'PHL');
|
| 132 |
+
insert into Student values ( 1032, 'Brown', 'Eric', 20, 'M', 550, 8772,'ATL');
|
| 133 |
+
insert into Student values ( 1033, 'Simms', 'William', 18, 'M', 550, 8772,'NAR');
|
| 134 |
+
insert into Student values ( 1034, 'Epp', 'Eric', 18, 'M', 050, 5718,'BOS');
|
| 135 |
+
insert into Student values ( 1035, 'Schmidt', 'Sarah', 26, 'F', 050, 5718,'WAS');
|
| 136 |
+
|
| 137 |
+
insert into Activity values ( 770 , 'Mountain Climbing' ) ;
|
| 138 |
+
insert into Activity values ( 771 , 'Canoeing' ) ;
|
| 139 |
+
insert into Activity values ( 772 , 'Kayaking' ) ;
|
| 140 |
+
insert into Activity values ( 773 , 'Spelunking' ) ;
|
| 141 |
+
insert into Activity values ( 777 , 'Soccer' ) ;
|
| 142 |
+
insert into Activity values ( 778 , 'Baseball' ) ;
|
| 143 |
+
insert into Activity values ( 780 , 'Football' ) ;
|
| 144 |
+
insert into Activity values ( 782 , 'Volleyball' ) ;
|
| 145 |
+
insert into Activity values ( 799 , 'Bungee Jumping' ) ;
|
| 146 |
+
insert into Activity values ( 779 , 'Accordion Ensemble' ) ;
|
| 147 |
+
insert into Activity values ( 784 , 'Canasta' ) ;
|
| 148 |
+
insert into Activity values ( 785 , 'Chess' ) ;
|
| 149 |
+
insert into Activity values ( 776 , 'Extreme Canasta' ) ;
|
| 150 |
+
insert into Activity values ( 790 , 'Crossword Puzzles' ) ;
|
| 151 |
+
insert into Activity values ( 791 , 'Proselytizing' ) ;
|
| 152 |
+
insert into Activity values ( 796 , 'Square Dancing' ) ;
|
| 153 |
+
|
| 154 |
+
|
| 155 |
+
|
| 156 |
+
|
| 157 |
+
insert into Participates_in values (1001 , 770) ;
|
| 158 |
+
insert into Participates_in values (1001 , 771) ;
|
| 159 |
+
insert into Participates_in values (1001 , 777) ;
|
| 160 |
+
|
| 161 |
+
insert into Participates_in values (1002 , 772) ;
|
| 162 |
+
insert into Participates_in values (1002 , 771) ;
|
| 163 |
+
|
| 164 |
+
insert into Participates_in values (1003 , 778) ;
|
| 165 |
+
|
| 166 |
+
|
| 167 |
+
insert into Participates_in values (1004 , 780) ;
|
| 168 |
+
insert into Participates_in values (1004 , 782) ;
|
| 169 |
+
insert into Participates_in values (1004 , 778) ;
|
| 170 |
+
insert into Participates_in values (1004 , 777) ;
|
| 171 |
+
|
| 172 |
+
insert into Participates_in values (1005 , 770) ;
|
| 173 |
+
|
| 174 |
+
|
| 175 |
+
insert into Participates_in values (1006 , 773) ;
|
| 176 |
+
|
| 177 |
+
|
| 178 |
+
insert into Participates_in values (1007 , 773) ;
|
| 179 |
+
insert into Participates_in values (1007 , 784) ;
|
| 180 |
+
|
| 181 |
+
insert into Participates_in values (1008 , 785) ;
|
| 182 |
+
insert into Participates_in values (1008 , 773) ;
|
| 183 |
+
insert into Participates_in values (1008 , 780) ;
|
| 184 |
+
insert into Participates_in values (1008 , 790) ;
|
| 185 |
+
|
| 186 |
+
insert into Participates_in values (1009 , 778) ;
|
| 187 |
+
insert into Participates_in values (1009 , 777) ;
|
| 188 |
+
insert into Participates_in values (1009 , 782) ;
|
| 189 |
+
|
| 190 |
+
insert into Participates_in values (1010 , 780) ;
|
| 191 |
+
|
| 192 |
+
|
| 193 |
+
insert into Participates_in values (1011 , 780) ;
|
| 194 |
+
|
| 195 |
+
|
| 196 |
+
insert into Participates_in values (1012 , 780) ;
|
| 197 |
+
|
| 198 |
+
|
| 199 |
+
insert into Participates_in values (1014 , 780) ;
|
| 200 |
+
insert into Participates_in values (1014 , 777) ;
|
| 201 |
+
insert into Participates_in values (1014 , 778) ;
|
| 202 |
+
insert into Participates_in values (1014 , 782) ;
|
| 203 |
+
insert into Participates_in values (1014 , 770) ;
|
| 204 |
+
insert into Participates_in values (1014 , 772) ;
|
| 205 |
+
|
| 206 |
+
insert into Participates_in values (1015 , 785) ;
|
| 207 |
+
|
| 208 |
+
|
| 209 |
+
insert into Participates_in values (1016 , 791) ;
|
| 210 |
+
insert into Participates_in values (1016 , 772) ;
|
| 211 |
+
|
| 212 |
+
insert into Participates_in values (1017 , 791) ;
|
| 213 |
+
insert into Participates_in values (1017 , 771) ;
|
| 214 |
+
insert into Participates_in values (1017 , 770) ;
|
| 215 |
+
|
| 216 |
+
insert into Participates_in values (1018 , 790) ;
|
| 217 |
+
insert into Participates_in values (1018 , 785) ;
|
| 218 |
+
insert into Participates_in values (1018 , 784) ;
|
| 219 |
+
insert into Participates_in values (1018 , 777) ;
|
| 220 |
+
insert into Participates_in values (1018 , 772) ;
|
| 221 |
+
insert into Participates_in values (1018 , 770) ;
|
| 222 |
+
|
| 223 |
+
insert into Participates_in values (1019 , 785) ;
|
| 224 |
+
insert into Participates_in values (1019 , 790) ;
|
| 225 |
+
|
| 226 |
+
insert into Participates_in values (1020 , 780) ;
|
| 227 |
+
|
| 228 |
+
|
| 229 |
+
insert into Participates_in values (1021 , 780) ;
|
| 230 |
+
insert into Participates_in values (1021 , 776) ;
|
| 231 |
+
|
| 232 |
+
insert into Participates_in values (1022 , 782) ;
|
| 233 |
+
insert into Participates_in values (1022 , 790) ;
|
| 234 |
+
|
| 235 |
+
insert into Participates_in values (1023 , 790) ;
|
| 236 |
+
insert into Participates_in values (1023 , 776) ;
|
| 237 |
+
|
| 238 |
+
insert into Participates_in values (1024 , 778) ;
|
| 239 |
+
insert into Participates_in values (1024 , 777) ;
|
| 240 |
+
insert into Participates_in values (1024 , 780) ;
|
| 241 |
+
|
| 242 |
+
insert into Participates_in values (1025 , 780) ;
|
| 243 |
+
insert into Participates_in values (1025 , 777) ;
|
| 244 |
+
insert into Participates_in values (1025 , 770) ;
|
| 245 |
+
|
| 246 |
+
insert into Participates_in values (1028 , 785) ;
|
| 247 |
+
|
| 248 |
+
|
| 249 |
+
insert into Participates_in values (1029 , 785) ;
|
| 250 |
+
insert into Participates_in values (1029 , 790) ;
|
| 251 |
+
|
| 252 |
+
insert into Participates_in values (1030 , 780) ;
|
| 253 |
+
insert into Participates_in values (1030 , 790) ;
|
| 254 |
+
|
| 255 |
+
insert into Participates_in values (1033 , 780) ;
|
| 256 |
+
|
| 257 |
+
insert into Participates_in values (1034 , 780) ;
|
| 258 |
+
insert into Participates_in values (1034 , 777) ;
|
| 259 |
+
insert into Participates_in values (1034 , 772) ;
|
| 260 |
+
insert into Participates_in values (1034 , 771) ;
|
| 261 |
+
|
| 262 |
+
insert into Participates_in values (1035 , 777) ;
|
| 263 |
+
insert into Participates_in values (1035 , 780) ;
|
| 264 |
+
insert into Participates_in values (1035 , 784) ;
|
| 265 |
+
|
| 266 |
+
|
| 267 |
+
|
| 268 |
+
|
| 269 |
+
|
| 270 |
+
|
| 271 |
+
insert into Faculty_Participates_in values ( 1082, 784) ;
|
| 272 |
+
insert into Faculty_Participates_in values ( 1082, 785) ;
|
| 273 |
+
insert into Faculty_Participates_in values ( 1082, 790) ;
|
| 274 |
+
|
| 275 |
+
insert into Faculty_Participates_in values ( 1121, 771) ;
|
| 276 |
+
insert into Faculty_Participates_in values ( 1121, 777) ;
|
| 277 |
+
insert into Faculty_Participates_in values ( 1121, 770) ;
|
| 278 |
+
|
| 279 |
+
insert into Faculty_Participates_in values ( 1193, 790) ;
|
| 280 |
+
insert into Faculty_Participates_in values ( 1193, 796) ;
|
| 281 |
+
insert into Faculty_Participates_in values ( 1193, 773) ;
|
| 282 |
+
|
| 283 |
+
insert into Faculty_Participates_in values ( 2192, 773) ;
|
| 284 |
+
insert into Faculty_Participates_in values ( 2192, 790) ;
|
| 285 |
+
insert into Faculty_Participates_in values ( 2192, 778) ;
|
| 286 |
+
|
| 287 |
+
insert into Faculty_Participates_in values ( 3457, 782) ;
|
| 288 |
+
insert into Faculty_Participates_in values ( 3457, 771) ;
|
| 289 |
+
insert into Faculty_Participates_in values ( 3457, 784) ;
|
| 290 |
+
|
| 291 |
+
insert into Faculty_Participates_in values ( 4230, 790) ;
|
| 292 |
+
insert into Faculty_Participates_in values ( 4230, 785) ;
|
| 293 |
+
|
| 294 |
+
insert into Faculty_Participates_in values ( 6112, 785) ;
|
| 295 |
+
insert into Faculty_Participates_in values ( 6112, 772) ;
|
| 296 |
+
|
| 297 |
+
insert into Faculty_Participates_in values ( 7723, 785) ;
|
| 298 |
+
insert into Faculty_Participates_in values ( 7723, 770) ;
|
| 299 |
+
|
| 300 |
+
insert into Faculty_Participates_in values ( 8114, 776) ;
|
| 301 |
+
|
| 302 |
+
insert into Faculty_Participates_in values ( 8721, 770) ;
|
| 303 |
+
insert into Faculty_Participates_in values ( 8721, 780) ;
|
| 304 |
+
|
| 305 |
+
insert into Faculty_Participates_in values ( 8741, 780) ;
|
| 306 |
+
insert into Faculty_Participates_in values ( 8741, 790) ;
|
| 307 |
+
|
| 308 |
+
insert into Faculty_Participates_in values ( 8918, 780) ;
|
| 309 |
+
insert into Faculty_Participates_in values ( 8918, 782) ;
|
| 310 |
+
insert into Faculty_Participates_in values ( 8918, 771) ;
|
| 311 |
+
|
| 312 |
+
insert into Faculty_Participates_in values ( 2881, 790) ;
|
| 313 |
+
insert into Faculty_Participates_in values ( 2881, 784) ;
|
| 314 |
+
|
| 315 |
+
insert into Faculty_Participates_in values ( 4432, 770) ;
|
| 316 |
+
insert into Faculty_Participates_in values ( 4432, 771) ;
|
| 317 |
+
|
| 318 |
+
insert into Faculty_Participates_in values ( 5718, 776) ;
|
| 319 |
+
|
| 320 |
+
|
| 321 |
+
insert into Faculty_Participates_in values ( 6182, 776) ;
|
| 322 |
+
insert into Faculty_Participates_in values ( 6182, 785) ;
|
| 323 |
+
|
| 324 |
+
insert into Faculty_Participates_in values ( 1177, 790) ;
|
| 325 |
+
insert into Faculty_Participates_in values ( 1177, 770) ;
|
| 326 |
+
insert into Faculty_Participates_in values ( 1177, 770) ;
|
| 327 |
+
|
| 328 |
+
insert into Faculty_Participates_in values ( 9922, 796) ;
|
test_database/battle_death/battle_death.sqlite
ADDED
|
Binary file (28.7 kB). View file
|
|
|
test_database/battle_death/schema.sql
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PRAGMA foreign_keys = ON;
|
| 2 |
+
CREATE TABLE "battle" (
|
| 3 |
+
"id" int,
|
| 4 |
+
"name" text,
|
| 5 |
+
"date" text,
|
| 6 |
+
"bulgarian_commander" text,
|
| 7 |
+
"latin_commander" text,
|
| 8 |
+
"result" text,
|
| 9 |
+
primary key("id")
|
| 10 |
+
);
|
| 11 |
+
|
| 12 |
+
CREATE TABLE "ship" (
|
| 13 |
+
"lost_in_battle" int,
|
| 14 |
+
"id" int,
|
| 15 |
+
"name" text,
|
| 16 |
+
"tonnage" text,
|
| 17 |
+
"ship_type" text,
|
| 18 |
+
"location" text,
|
| 19 |
+
"disposition_of_ship" text,
|
| 20 |
+
primary key("id"),
|
| 21 |
+
foreign key (`lost_in_battle`) references `battle`("id")
|
| 22 |
+
);
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
CREATE TABLE "death" (
|
| 26 |
+
"caused_by_ship_id" int,
|
| 27 |
+
"id" int,
|
| 28 |
+
"note" text,
|
| 29 |
+
"killed" int,
|
| 30 |
+
"injured" int,
|
| 31 |
+
primary key("id"),
|
| 32 |
+
foreign key ("caused_by_ship_id") references `ship`("id")
|
| 33 |
+
);
|
| 34 |
+
|
| 35 |
+
INSERT INTO "battle" VALUES (1,"Battle of Adrianople","14 April 1205","Kaloyan","Baldwin I","Bulgarian victory");
|
| 36 |
+
INSERT INTO "battle" VALUES (2,"Battle of Serres","June 1205","Kaloyan","Unknown","Bulgarian victory");
|
| 37 |
+
INSERT INTO "battle" VALUES (3,"Battle of Rusion","31 January 1206","Kaloyan","Thierry de Termond","Bulgarian victory");
|
| 38 |
+
INSERT INTO "battle" VALUES (4,"Battle of Rodosto","February 1206","Kaloyan","Unknown","Bulgarian victory");
|
| 39 |
+
INSERT INTO "battle" VALUES (5,"Battle of Messinopolis","4 September 1207","Unknown","Boniface of Montferrat","Bulgarian victory");
|
| 40 |
+
INSERT INTO "battle" VALUES (6,"Battle of Boruy","June 1205","Boril","Henry I","Bulgarian victory");
|
| 41 |
+
INSERT INTO "battle" VALUES (7,"Battle of Philippopolis","31 June 1208","Boril","Henry I","Latin victory");
|
| 42 |
+
INSERT INTO "battle" VALUES (8,"Siege of Constantinople","1235","Ivan Asen II","John of Brienne","Two Year Truce");
|
| 43 |
+
|
| 44 |
+
|
| 45 |
+
INSERT INTO "ship" VALUES (8, 1, "Lettice","t","Brig","English Channel","Captured");
|
| 46 |
+
INSERT INTO "ship" VALUES (7, 2, "Bon Accord","t","Brig","English Channel","Captured");
|
| 47 |
+
INSERT INTO "ship" VALUES (6, 3, "Mary","t","Brig","English Channel","Captured");
|
| 48 |
+
INSERT INTO "ship" VALUES (5, 4, "HMS Avon","391","18-gun Brig","English Channel","Wrecked");
|
| 49 |
+
INSERT INTO "ship" VALUES (5, 5, "Three Brothers","t","Brig","SW Approaches","Scuttled");
|
| 50 |
+
INSERT INTO "ship" VALUES (4, 6, "Bacchus","t","Brig","English Channel","Sank");
|
| 51 |
+
INSERT INTO "ship" VALUES (8, 7, "HMS Atalanta","225","8 gun Brig","Mid-Atlantic","Captured");
|
| 52 |
+
|
| 53 |
+
INSERT INTO "death" VALUES (1, "1","Dantewada, Chhattisgarh","8","0");
|
| 54 |
+
INSERT INTO "death" VALUES (2, "2","Dantewada, Chhattisgarh","3","0");
|
| 55 |
+
INSERT INTO "death" VALUES (3, "13","Erraboru, Chhattisgarh","25","0");
|
| 56 |
+
INSERT INTO "death" VALUES (3, "3","East Champaran, Bihar","2","0");
|
| 57 |
+
INSERT INTO "death" VALUES (4, "4","Gajapati, Odisha","3","0");
|
| 58 |
+
INSERT INTO "death" VALUES (4, "5","Sundargarh, Odisha","0","9");
|
| 59 |
+
INSERT INTO "death" VALUES (5, "6","Dantewada, Chhattisgarh","0","0");
|
| 60 |
+
INSERT INTO "death" VALUES (5, "7","Dantewada, Chhattisgarh","4","5");
|
| 61 |
+
INSERT INTO "death" VALUES (6, "8","Kanker, Chhattisgarh","0","0");
|
| 62 |
+
INSERT INTO "death" VALUES (1, "9","Dantewada, Chhattisgarh","29","0");
|
| 63 |
+
INSERT INTO "death" VALUES (3, "10","WestMidnapore, West Bengal","0","0");
|
| 64 |
+
INSERT INTO "death" VALUES (2, "11","Bastar, Chattisgarh","0","0");
|
| 65 |
+
INSERT INTO "death" VALUES (5, "12","Bokaro, Jharkhand","14","0");
|
test_database/behavior_monitoring/behavior_monitoring.sqlite
ADDED
|
Binary file (65.5 kB). View file
|
|
|
test_database/behavior_monitoring/schema.sql
ADDED
|
@@ -0,0 +1,258 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PRAGMA foreign_keys = ON;
|
| 2 |
+
CREATE TABLE `Ref_Address_Types` (
|
| 3 |
+
`address_type_code` VARCHAR(15) PRIMARY KEY,
|
| 4 |
+
`address_type_description` VARCHAR(80)
|
| 5 |
+
);
|
| 6 |
+
CREATE TABLE `Ref_Detention_Type` (
|
| 7 |
+
`detention_type_code` VARCHAR(10) PRIMARY KEY,
|
| 8 |
+
`detention_type_description` VARCHAR(80)
|
| 9 |
+
);
|
| 10 |
+
CREATE TABLE `Ref_Incident_Type` (
|
| 11 |
+
`incident_type_code` VARCHAR(10) PRIMARY KEY,
|
| 12 |
+
`incident_type_description` VARCHAR(80)
|
| 13 |
+
);
|
| 14 |
+
|
| 15 |
+
INSERT INTO Ref_Address_Types (`address_type_code`, `address_type_description`) VALUES ('BILL', 'Billing');
|
| 16 |
+
INSERT INTO Ref_Address_Types (`address_type_code`, `address_type_description`) VALUES ('HOME', 'Home or Residence');
|
| 17 |
+
INSERT INTO Ref_Detention_Type (`detention_type_code`, `detention_type_description`) VALUES ('BREAK ', 'During Break time');
|
| 18 |
+
INSERT INTO Ref_Detention_Type (`detention_type_code`, `detention_type_description`) VALUES ('AFTER', 'After School');
|
| 19 |
+
INSERT INTO Ref_Detention_Type (`detention_type_code`, `detention_type_description`) VALUES ('LUNCH', 'Lunch-time');
|
| 20 |
+
INSERT INTO Ref_Incident_Type (`incident_type_code`, `incident_type_description`) VALUES ('NOISE', 'Noise');
|
| 21 |
+
INSERT INTO Ref_Incident_Type (`incident_type_code`, `incident_type_description`) VALUES ('VIOLENCE', 'Violence');
|
| 22 |
+
INSERT INTO Ref_Incident_Type (`incident_type_code`, `incident_type_description`) VALUES ('DISTURB', 'Disturbance');
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
CREATE TABLE `Addresses` (
|
| 28 |
+
`address_id` INTEGER PRIMARY KEY,
|
| 29 |
+
`line_1` VARCHAR(120),
|
| 30 |
+
`line_2` VARCHAR(120),
|
| 31 |
+
`line_3` VARCHAR(120),
|
| 32 |
+
`city` VARCHAR(80),
|
| 33 |
+
`zip_postcode` VARCHAR(20),
|
| 34 |
+
`state_province_county` VARCHAR(50),
|
| 35 |
+
`country` VARCHAR(50),
|
| 36 |
+
`other_address_details` VARCHAR(255)
|
| 37 |
+
);
|
| 38 |
+
|
| 39 |
+
INSERT INTO Addresses (`address_id`, `line_1`, `line_2`, `line_3`, `city`, `zip_postcode`, `state_province_county`, `country`, `other_address_details`) VALUES (1, '020 Orie Canyon', NULL, NULL, 'North Loyceville', '197', 'Hawaii', 'USA', NULL);
|
| 40 |
+
INSERT INTO Addresses (`address_id`, `line_1`, `line_2`, `line_3`, `city`, `zip_postcode`, `state_province_county`, `country`, `other_address_details`) VALUES (2, '1333 Boyle Lane', NULL, NULL, 'West Sean', '937', 'Illinois', 'USA', NULL);
|
| 41 |
+
INSERT INTO Addresses (`address_id`, `line_1`, `line_2`, `line_3`, `city`, `zip_postcode`, `state_province_county`, `country`, `other_address_details`) VALUES (3, '027 Kim Divide Apt. 492', NULL, NULL, 'Beierview', '918', 'Texas', 'USA', NULL);
|
| 42 |
+
INSERT INTO Addresses (`address_id`, `line_1`, `line_2`, `line_3`, `city`, `zip_postcode`, `state_province_county`, `country`, `other_address_details`) VALUES (4, '056 Murphy Stravenue Apt. 600', NULL, NULL, 'Elinoreport', '238', 'Wisconsin', 'USA', NULL);
|
| 43 |
+
INSERT INTO Addresses (`address_id`, `line_1`, `line_2`, `line_3`, `city`, `zip_postcode`, `state_province_county`, `country`, `other_address_details`) VALUES (5, '719 Pfannerstill Ridge Suite 663', NULL, NULL, 'Meganeland', '002', 'SouthDakota', 'USA', NULL);
|
| 44 |
+
INSERT INTO Addresses (`address_id`, `line_1`, `line_2`, `line_3`, `city`, `zip_postcode`, `state_province_county`, `country`, `other_address_details`) VALUES (6, '420 Zieme Oval', NULL, NULL, 'Corkeryborough', '744', 'Wisconsin', 'USA', NULL);
|
| 45 |
+
INSERT INTO Addresses (`address_id`, `line_1`, `line_2`, `line_3`, `city`, `zip_postcode`, `state_province_county`, `country`, `other_address_details`) VALUES (7, '27712 Marks Lake Apt. 752', NULL, NULL, 'Gleasonshire', '182', 'Maryland', 'USA', NULL);
|
| 46 |
+
INSERT INTO Addresses (`address_id`, `line_1`, `line_2`, `line_3`, `city`, `zip_postcode`, `state_province_county`, `country`, `other_address_details`) VALUES (8, '6960 O''Connell Dale Suite 622', NULL, NULL, 'New Annabellefort', '062', 'Kentucky', 'USA', NULL);
|
| 47 |
+
INSERT INTO Addresses (`address_id`, `line_1`, `line_2`, `line_3`, `city`, `zip_postcode`, `state_province_county`, `country`, `other_address_details`) VALUES (9, '18327 Jaime Terrace Suite 343', NULL, NULL, 'Edmundton', '520', 'Oregon', 'USA', NULL);
|
| 48 |
+
INSERT INTO Addresses (`address_id`, `line_1`, `line_2`, `line_3`, `city`, `zip_postcode`, `state_province_county`, `country`, `other_address_details`) VALUES (10, '3069 Garrison Squares', NULL, NULL, 'Lake Ahmadland', '748', 'Nevada', 'USA', NULL);
|
| 49 |
+
INSERT INTO Addresses (`address_id`, `line_1`, `line_2`, `line_3`, `city`, `zip_postcode`, `state_province_county`, `country`, `other_address_details`) VALUES (11, '668 Wilkinson Corners Apt. 992', NULL, NULL, 'North Jayceton', '612', 'Illinois', 'USA', NULL);
|
| 50 |
+
INSERT INTO Addresses (`address_id`, `line_1`, `line_2`, `line_3`, `city`, `zip_postcode`, `state_province_county`, `country`, `other_address_details`) VALUES (12, '11940 Pauline Shoals', NULL, NULL, 'West Lianafurt', '619', 'Arkansas', 'USA', NULL);
|
| 51 |
+
INSERT INTO Addresses (`address_id`, `line_1`, `line_2`, `line_3`, `city`, `zip_postcode`, `state_province_county`, `country`, `other_address_details`) VALUES (13, '39834 Anne Mission Apt. 956', NULL, NULL, 'North Orlobury', '663', 'Utah', 'USA', NULL);
|
| 52 |
+
INSERT INTO Addresses (`address_id`, `line_1`, `line_2`, `line_3`, `city`, `zip_postcode`, `state_province_county`, `country`, `other_address_details`) VALUES (14, '4115 Ebert Fall', NULL, NULL, 'North Fletcherside', '607', 'Arizona', 'USA', NULL);
|
| 53 |
+
INSERT INTO Addresses (`address_id`, `line_1`, `line_2`, `line_3`, `city`, `zip_postcode`, `state_province_county`, `country`, `other_address_details`) VALUES (15, '920 Brayan Harbors', NULL, NULL, 'Caitlynstad', '435', 'Montana', 'USA', NULL);
|
| 54 |
+
INSERT INTO Addresses (`address_id`, `line_1`, `line_2`, `line_3`, `city`, `zip_postcode`, `state_province_county`, `country`, `other_address_details`) VALUES (16, '014 Runte Haven Apt. 870', NULL, NULL, 'Tressamouth', '637', 'NewYork', 'USA', NULL);
|
| 55 |
+
INSERT INTO Addresses (`address_id`, `line_1`, `line_2`, `line_3`, `city`, `zip_postcode`, `state_province_county`, `country`, `other_address_details`) VALUES (17, '654 Fisher Roads', NULL, NULL, 'Hegmannborough', '397', 'Tennessee', 'USA', NULL);
|
| 56 |
+
INSERT INTO Addresses (`address_id`, `line_1`, `line_2`, `line_3`, `city`, `zip_postcode`, `state_province_county`, `country`, `other_address_details`) VALUES (18, '266 Kub Crossing', NULL, NULL, 'Hintzport', '865', 'Alabama', 'USA', NULL);
|
| 57 |
+
INSERT INTO Addresses (`address_id`, `line_1`, `line_2`, `line_3`, `city`, `zip_postcode`, `state_province_county`, `country`, `other_address_details`) VALUES (19, '51391 Dach Parkways Apt. 124', NULL, NULL, 'Unachester', '753', 'Wisconsin', 'USA', NULL);
|
| 58 |
+
INSERT INTO Addresses (`address_id`, `line_1`, `line_2`, `line_3`, `city`, `zip_postcode`, `state_province_county`, `country`, `other_address_details`) VALUES (20, '2451 Wiza Inlet', NULL, NULL, 'Larkinport', '545', 'NewYork', 'USA', NULL);
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
CREATE TABLE `Students` (
|
| 62 |
+
`student_id` INTEGER PRIMARY KEY,
|
| 63 |
+
`address_id` INTEGER NOT NULL,
|
| 64 |
+
`first_name` VARCHAR(80),
|
| 65 |
+
`middle_name` VARCHAR(40),
|
| 66 |
+
`last_name` VARCHAR(40),
|
| 67 |
+
`cell_mobile_number` VARCHAR(40),
|
| 68 |
+
`email_address` VARCHAR(40),
|
| 69 |
+
`date_first_rental` DATETIME,
|
| 70 |
+
`date_left_university` DATETIME,
|
| 71 |
+
`other_student_details` VARCHAR(255),
|
| 72 |
+
FOREIGN KEY (`address_id` ) REFERENCES `Addresses`(`address_id` )
|
| 73 |
+
);
|
| 74 |
+
|
| 75 |
+
INSERT INTO Students (`student_id`, `address_id`, `first_name`, `middle_name`, `last_name`, `cell_mobile_number`, `email_address`, `date_first_rental`, `date_left_university`, `other_student_details`) VALUES (1, 19, 'Emma', 'Frederic', 'Rohan', '235.899.9744', 'derrick.jenkins@example.com', '2017-12-05 15:20:04', '2018-03-03 03:33:05', NULL);
|
| 76 |
+
INSERT INTO Students (`student_id`, `address_id`, `first_name`, `middle_name`, `last_name`, `cell_mobile_number`, `email_address`, `date_first_rental`, `date_left_university`, `other_student_details`) VALUES (2, 9, 'Louvenia', 'Fatima', 'Hansen', '1-247-673-8446', 'rohan.clarabelle@example.org', '2017-08-08 22:30:36', '2018-02-24 11:12:11', NULL);
|
| 77 |
+
INSERT INTO Students (`student_id`, `address_id`, `first_name`, `middle_name`, `last_name`, `cell_mobile_number`, `email_address`, `date_first_rental`, `date_left_university`, `other_student_details`) VALUES (3, 10, 'Rhea', 'Gardner', 'Bergnaum', '1-751-162-9676x115', 'kkirlin@example.org', '2017-11-15 04:57:28', '2018-03-19 12:49:20', NULL);
|
| 78 |
+
INSERT INTO Students (`student_id`, `address_id`, `first_name`, `middle_name`, `last_name`, `cell_mobile_number`, `email_address`, `date_first_rental`, `date_left_university`, `other_student_details`) VALUES (4, 8, 'David', 'Darlene', 'Gorczany', '1-895-196-9979', 'eolson@example.com', '2018-02-15 20:03:11', '2018-03-11 02:21:24', NULL);
|
| 79 |
+
INSERT INTO Students (`student_id`, `address_id`, `first_name`, `middle_name`, `last_name`, `cell_mobile_number`, `email_address`, `date_first_rental`, `date_left_university`, `other_student_details`) VALUES (5, 8, 'Lucile', 'Stone', 'Gottlieb', '1-036-062-5465', 'dicki.kathryne@example.org', '2017-07-20 18:20:27', '2018-03-18 16:07:42', NULL);
|
| 80 |
+
INSERT INTO Students (`student_id`, `address_id`, `first_name`, `middle_name`, `last_name`, `cell_mobile_number`, `email_address`, `date_first_rental`, `date_left_university`, `other_student_details`) VALUES (6, 12, 'Antonietta', 'Crystal', 'Fahey', '(874)070-9495', 'norwood.howell@example.org', '2017-10-31 12:33:09', '2018-03-20 22:01:07', NULL);
|
| 81 |
+
INSERT INTO Students (`student_id`, `address_id`, `first_name`, `middle_name`, `last_name`, `cell_mobile_number`, `email_address`, `date_first_rental`, `date_left_university`, `other_student_details`) VALUES (7, 20, 'Rupert', 'Lincoln', 'Marks', '763.072.5520x5907', 'lisette.brekke@example.net', '2017-09-25 12:02:23', '2018-03-01 08:56:04', 'first honor');
|
| 82 |
+
INSERT INTO Students (`student_id`, `address_id`, `first_name`, `middle_name`, `last_name`, `cell_mobile_number`, `email_address`, `date_first_rental`, `date_left_university`, `other_student_details`) VALUES (8, 14, 'Julia', 'Arno', 'Balistreri', '319.497.4575x2214', 'jasmin.schuppe@example.com', '2018-02-23 02:28:07', '2018-03-01 16:03:55', NULL);
|
| 83 |
+
INSERT INTO Students (`student_id`, `address_id`, `first_name`, `middle_name`, `last_name`, `cell_mobile_number`, `email_address`, `date_first_rental`, `date_left_university`, `other_student_details`) VALUES (9, 19, 'Christy', 'Devonte', 'Huels', '(568)451-0917x3945', 'dora.zboncak@example.org', '2018-01-11 19:49:39', '2018-03-15 01:47:11', NULL);
|
| 84 |
+
INSERT INTO Students (`student_id`, `address_id`, `first_name`, `middle_name`, `last_name`, `cell_mobile_number`, `email_address`, `date_first_rental`, `date_left_university`, `other_student_details`) VALUES (10, 2, 'Adella', 'Chesley', 'Krajcik', '08605192839', 'frederique.mante@example.org', '2017-07-05 19:15:29', '2018-03-11 15:57:19', 'first honor');
|
| 85 |
+
INSERT INTO Students (`student_id`, `address_id`, `first_name`, `middle_name`, `last_name`, `cell_mobile_number`, `email_address`, `date_first_rental`, `date_left_university`, `other_student_details`) VALUES (11, 2, 'Isac', 'Cleta', 'Fadel', '+60(5)3280072514', 'qharvey@example.com', '2017-09-13 04:06:15', '2018-03-05 07:30:22', 'first honor');
|
| 86 |
+
INSERT INTO Students (`student_id`, `address_id`, `first_name`, `middle_name`, `last_name`, `cell_mobile_number`, `email_address`, `date_first_rental`, `date_left_university`, `other_student_details`) VALUES (12, 1, 'Ferne', 'Jerod', 'Weimann', '(921)011-7909x3518', 'mitchel55@example.net', '2017-05-24 05:00:18', '2018-02-28 12:33:53', NULL);
|
| 87 |
+
INSERT INTO Students (`student_id`, `address_id`, `first_name`, `middle_name`, `last_name`, `cell_mobile_number`, `email_address`, `date_first_rental`, `date_left_university`, `other_student_details`) VALUES (13, 17, 'Misael', 'Justyn', 'Will', '(062)892-7033', 'gbeatty@example.com', '2017-10-15 06:52:46', '2018-03-18 07:01:27', NULL);
|
| 88 |
+
INSERT INTO Students (`student_id`, `address_id`, `first_name`, `middle_name`, `last_name`, `cell_mobile_number`, `email_address`, `date_first_rental`, `date_left_university`, `other_student_details`) VALUES (14, 9, 'Fanny', 'Ashlee', 'Haley', '(820)260-5721', 'foster.zemlak@example.com', '2018-03-14 11:37:10', '2018-03-12 15:05:53', NULL);
|
| 89 |
+
INSERT INTO Students (`student_id`, `address_id`, `first_name`, `middle_name`, `last_name`, `cell_mobile_number`, `email_address`, `date_first_rental`, `date_left_university`, `other_student_details`) VALUES (15, 15, 'Eugene', 'Mustafa', 'Tremblay', '1-498-138-8088', 'kertzmann.devon@example.net', '2018-03-11 22:42:47', '2018-03-07 11:41:26', 'first honor');
|
| 90 |
+
|
| 91 |
+
|
| 92 |
+
CREATE TABLE `Teachers` (
|
| 93 |
+
`teacher_id` INTEGER PRIMARY KEY,
|
| 94 |
+
`address_id` INTEGER NOT NULL,
|
| 95 |
+
`first_name` VARCHAR(80),
|
| 96 |
+
`middle_name` VARCHAR(80),
|
| 97 |
+
`last_name` VARCHAR(80),
|
| 98 |
+
`gender` VARCHAR(1),
|
| 99 |
+
`cell_mobile_number` VARCHAR(40),
|
| 100 |
+
`email_address` VARCHAR(40),
|
| 101 |
+
`other_details` VARCHAR(255),
|
| 102 |
+
FOREIGN KEY (`address_id` ) REFERENCES `Addresses`(`address_id` )
|
| 103 |
+
);
|
| 104 |
+
INSERT INTO Teachers (`teacher_id`, `address_id`, `first_name`, `middle_name`, `last_name`, `gender`, `cell_mobile_number`, `email_address`, `other_details`) VALUES (1, 15, 'Lyla', 'Wilson', 'Medhurst', '1', '792.333.7714', 'ohammes@example.com', NULL);
|
| 105 |
+
INSERT INTO Teachers (`teacher_id`, `address_id`, `first_name`, `middle_name`, `last_name`, `gender`, `cell_mobile_number`, `email_address`, `other_details`) VALUES (2, 7, 'Sid', 'Tremayne', 'Brakus', '1', '202.626.1698x9242', 'deborah37@example.com', NULL);
|
| 106 |
+
INSERT INTO Teachers (`teacher_id`, `address_id`, `first_name`, `middle_name`, `last_name`, `gender`, `cell_mobile_number`, `email_address`, `other_details`) VALUES (3, 8, 'Trystan', 'Alexane', 'Schuster', '1', '583-467-0403x647', 'hilll.kitty@example.com', NULL);
|
| 107 |
+
INSERT INTO Teachers (`teacher_id`, `address_id`, `first_name`, `middle_name`, `last_name`, `gender`, `cell_mobile_number`, `email_address`, `other_details`) VALUES (4, 7, 'Donnie', 'Morgan', 'Kuhic', '1', '07928511102', 'destany.reichert@example.net', NULL);
|
| 108 |
+
INSERT INTO Teachers (`teacher_id`, `address_id`, `first_name`, `middle_name`, `last_name`, `gender`, `cell_mobile_number`, `email_address`, `other_details`) VALUES (5, 15, 'Aniya', 'Ian', 'Becker', '1', '599.373.0773x67706', 'hahn.isom@example.com', 'Dean');
|
| 109 |
+
INSERT INTO Teachers (`teacher_id`, `address_id`, `first_name`, `middle_name`, `last_name`, `gender`, `cell_mobile_number`, `email_address`, `other_details`) VALUES (6, 16, 'Citlalli', 'Ahmad', 'Kuhic', '1', '017.636.7409', 'kozey.adeline@example.org', NULL);
|
| 110 |
+
INSERT INTO Teachers (`teacher_id`, `address_id`, `first_name`, `middle_name`, `last_name`, `gender`, `cell_mobile_number`, `email_address`, `other_details`) VALUES (7, 3, 'Alvis', 'Macey', 'Schultz', '1', '944-154-5379x4990', 'everardo.lynch@example.net', NULL);
|
| 111 |
+
INSERT INTO Teachers (`teacher_id`, `address_id`, `first_name`, `middle_name`, `last_name`, `gender`, `cell_mobile_number`, `email_address`, `other_details`) VALUES (8, 13, 'Cecilia', 'Mitchel', 'Ward', '0', '809.852.7009', 'paula.abbott@example.org', NULL);
|
| 112 |
+
INSERT INTO Teachers (`teacher_id`, `address_id`, `first_name`, `middle_name`, `last_name`, `gender`, `cell_mobile_number`, `email_address`, `other_details`) VALUES (9, 2, 'Woodrow', 'Lilla', 'Goldner', '1', '084-270-4880', 'ierdman@example.com', NULL);
|
| 113 |
+
INSERT INTO Teachers (`teacher_id`, `address_id`, `first_name`, `middle_name`, `last_name`, `gender`, `cell_mobile_number`, `email_address`, `other_details`) VALUES (10, 8, 'Gregory', 'Ardith', 'Heller', '0', '908-759-1808x63115', 'valentina.yost@example.com', NULL);
|
| 114 |
+
INSERT INTO Teachers (`teacher_id`, `address_id`, `first_name`, `middle_name`, `last_name`, `gender`, `cell_mobile_number`, `email_address`, `other_details`) VALUES (11, 12, 'Edmond', 'Kailyn', 'Lang', '0', '(659)018-0143x379', 'lila58@example.com', NULL);
|
| 115 |
+
INSERT INTO Teachers (`teacher_id`, `address_id`, `first_name`, `middle_name`, `last_name`, `gender`, `cell_mobile_number`, `email_address`, `other_details`) VALUES (12, 10, 'Camren', 'Kendall', 'Moore', '1', '(381)799-4759x169', 'randy.gerhold@example.org', NULL);
|
| 116 |
+
INSERT INTO Teachers (`teacher_id`, `address_id`, `first_name`, `middle_name`, `last_name`, `gender`, `cell_mobile_number`, `email_address`, `other_details`) VALUES (13, 19, 'Stephanie', 'Tamara', 'Price', '0', '952.821.3392', 'kiana.lang@example.net', NULL);
|
| 117 |
+
INSERT INTO Teachers (`teacher_id`, `address_id`, `first_name`, `middle_name`, `last_name`, `gender`, `cell_mobile_number`, `email_address`, `other_details`) VALUES (14, 14, 'Evelyn', 'Keanu', 'Hansen', '0', '1-787-044-8336x606', 'maribel21@example.org', NULL);
|
| 118 |
+
INSERT INTO Teachers (`teacher_id`, `address_id`, `first_name`, `middle_name`, `last_name`, `gender`, `cell_mobile_number`, `email_address`, `other_details`) VALUES (15, 10, 'Hobart', 'Michel', 'Bergnaum', '1', '796-453-5175x64012', 'willms.lane@example.com', NULL);
|
| 119 |
+
|
| 120 |
+
|
| 121 |
+
CREATE TABLE `Assessment_Notes` (
|
| 122 |
+
`notes_id` INTEGER NOT NULL ,
|
| 123 |
+
`student_id` INTEGER,
|
| 124 |
+
`teacher_id` INTEGER NOT NULL,
|
| 125 |
+
`date_of_notes` DATETIME,
|
| 126 |
+
`text_of_notes` VARCHAR(255),
|
| 127 |
+
`other_details` VARCHAR(255),
|
| 128 |
+
FOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` ),
|
| 129 |
+
FOREIGN KEY (`teacher_id` ) REFERENCES `Teachers`(`teacher_id` )
|
| 130 |
+
);
|
| 131 |
+
INSERT INTO Assessment_Notes (`notes_id`, `student_id`, `teacher_id`, `date_of_notes`, `text_of_notes`, `other_details`) VALUES (1, 7, 3, '1978-04-15 04:49:18', NULL, NULL);
|
| 132 |
+
INSERT INTO Assessment_Notes (`notes_id`, `student_id`, `teacher_id`, `date_of_notes`, `text_of_notes`, `other_details`) VALUES (2, 11, 10, '2005-06-30 02:48:35', NULL, NULL);
|
| 133 |
+
INSERT INTO Assessment_Notes (`notes_id`, `student_id`, `teacher_id`, `date_of_notes`, `text_of_notes`, `other_details`) VALUES (3, 15, 3, '1988-06-09 00:24:01', NULL, NULL);
|
| 134 |
+
INSERT INTO Assessment_Notes (`notes_id`, `student_id`, `teacher_id`, `date_of_notes`, `text_of_notes`, `other_details`) VALUES (4, 12, 9, '1991-08-15 01:22:08', NULL, NULL);
|
| 135 |
+
INSERT INTO Assessment_Notes (`notes_id`, `student_id`, `teacher_id`, `date_of_notes`, `text_of_notes`, `other_details`) VALUES (5, 4, 10, '1971-05-05 20:07:08', NULL, NULL);
|
| 136 |
+
INSERT INTO Assessment_Notes (`notes_id`, `student_id`, `teacher_id`, `date_of_notes`, `text_of_notes`, `other_details`) VALUES (6, 12, 6, '2014-01-31 02:05:02', NULL, NULL);
|
| 137 |
+
INSERT INTO Assessment_Notes (`notes_id`, `student_id`, `teacher_id`, `date_of_notes`, `text_of_notes`, `other_details`) VALUES (7, 12, 7, '1984-12-13 23:04:28', NULL, NULL);
|
| 138 |
+
INSERT INTO Assessment_Notes (`notes_id`, `student_id`, `teacher_id`, `date_of_notes`, `text_of_notes`, `other_details`) VALUES (8, 7, 14, '1988-04-11 04:56:26', NULL, NULL);
|
| 139 |
+
INSERT INTO Assessment_Notes (`notes_id`, `student_id`, `teacher_id`, `date_of_notes`, `text_of_notes`, `other_details`) VALUES (9, 14, 15, '1972-04-27 04:51:51', NULL, NULL);
|
| 140 |
+
INSERT INTO Assessment_Notes (`notes_id`, `student_id`, `teacher_id`, `date_of_notes`, `text_of_notes`, `other_details`) VALUES (10, 13, 6, '2017-12-14 08:21:54', NULL, NULL);
|
| 141 |
+
INSERT INTO Assessment_Notes (`notes_id`, `student_id`, `teacher_id`, `date_of_notes`, `text_of_notes`, `other_details`) VALUES (11, 3, 14, '1993-08-16 17:39:53', NULL, NULL);
|
| 142 |
+
INSERT INTO Assessment_Notes (`notes_id`, `student_id`, `teacher_id`, `date_of_notes`, `text_of_notes`, `other_details`) VALUES (12, 1, 1, '1991-08-20 08:03:23', NULL, NULL);
|
| 143 |
+
INSERT INTO Assessment_Notes (`notes_id`, `student_id`, `teacher_id`, `date_of_notes`, `text_of_notes`, `other_details`) VALUES (13, 13, 3, '2014-04-28 02:07:53', NULL, NULL);
|
| 144 |
+
INSERT INTO Assessment_Notes (`notes_id`, `student_id`, `teacher_id`, `date_of_notes`, `text_of_notes`, `other_details`) VALUES (14, 14, 15, '1974-11-26 04:23:22', NULL, NULL);
|
| 145 |
+
INSERT INTO Assessment_Notes (`notes_id`, `student_id`, `teacher_id`, `date_of_notes`, `text_of_notes`, `other_details`) VALUES (15, 1, 9, '1984-09-10 01:18:34', NULL, NULL);
|
| 146 |
+
|
| 147 |
+
|
| 148 |
+
CREATE TABLE `Behavior_Incident` (
|
| 149 |
+
`incident_id` INTEGER PRIMARY KEY,
|
| 150 |
+
`incident_type_code` VARCHAR(10) NOT NULL,
|
| 151 |
+
`student_id` INTEGER NOT NULL,
|
| 152 |
+
`date_incident_start` DATETIME,
|
| 153 |
+
`date_incident_end` DATETIME,
|
| 154 |
+
`incident_summary` VARCHAR(255),
|
| 155 |
+
`recommendations` VARCHAR(255),
|
| 156 |
+
`other_details` VARCHAR(255),
|
| 157 |
+
FOREIGN KEY (`incident_type_code` ) REFERENCES `Ref_Incident_Type`(`incident_type_code` ),
|
| 158 |
+
FOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )
|
| 159 |
+
);
|
| 160 |
+
INSERT INTO Behavior_Incident (`incident_id`, `incident_type_code`, `student_id`, `date_incident_start`, `date_incident_end`, `incident_summary`, `recommendations`, `other_details`) VALUES (1, 'NOISE', 6, '2017-07-09 10:04:13', '2018-03-08 14:08:54', NULL, NULL, NULL);
|
| 161 |
+
INSERT INTO Behavior_Incident (`incident_id`, `incident_type_code`, `student_id`, `date_incident_start`, `date_incident_end`, `incident_summary`, `recommendations`, `other_details`) VALUES (2, 'DISTURB', 13, '2018-01-31 10:51:13', '2018-03-18 18:40:05', NULL, NULL, NULL);
|
| 162 |
+
INSERT INTO Behavior_Incident (`incident_id`, `incident_type_code`, `student_id`, `date_incident_start`, `date_incident_end`, `incident_summary`, `recommendations`, `other_details`) VALUES (3, 'VIOLENCE', 1, '2017-10-10 22:43:54', '2018-03-22 02:10:35', NULL, 'Transfer schools', NULL);
|
| 163 |
+
INSERT INTO Behavior_Incident (`incident_id`, `incident_type_code`, `student_id`, `date_incident_start`, `date_incident_end`, `incident_summary`, `recommendations`, `other_details`) VALUES (4, 'VIOLENCE', 10, '2017-07-20 17:43:50', '2018-03-09 06:28:44', NULL, NULL, NULL);
|
| 164 |
+
INSERT INTO Behavior_Incident (`incident_id`, `incident_type_code`, `student_id`, `date_incident_start`, `date_incident_end`, `incident_summary`, `recommendations`, `other_details`) VALUES (5, 'NOISE', 7, '2017-08-13 22:15:05', '2018-02-25 05:38:58', NULL, NULL, NULL);
|
| 165 |
+
INSERT INTO Behavior_Incident (`incident_id`, `incident_type_code`, `student_id`, `date_incident_start`, `date_incident_end`, `incident_summary`, `recommendations`, `other_details`) VALUES (6, 'VIOLENCE', 8, '2017-06-09 18:32:28', '2018-03-20 10:32:10', NULL, NULL, NULL);
|
| 166 |
+
INSERT INTO Behavior_Incident (`incident_id`, `incident_type_code`, `student_id`, `date_incident_start`, `date_incident_end`, `incident_summary`, `recommendations`, `other_details`) VALUES (7, 'VIOLENCE', 4, '2017-04-23 07:03:17', '2018-03-19 02:35:39', NULL, NULL, NULL);
|
| 167 |
+
INSERT INTO Behavior_Incident (`incident_id`, `incident_type_code`, `student_id`, `date_incident_start`, `date_incident_end`, `incident_summary`, `recommendations`, `other_details`) VALUES (8, 'DISTURB', 1, '2017-05-02 12:52:09', '2018-03-18 01:23:29', NULL, NULL, NULL);
|
| 168 |
+
INSERT INTO Behavior_Incident (`incident_id`, `incident_type_code`, `student_id`, `date_incident_start`, `date_incident_end`, `incident_summary`, `recommendations`, `other_details`) VALUES (9, 'NOISE', 11, '2017-06-19 14:25:54', '2018-03-08 09:36:36', NULL, NULL, NULL);
|
| 169 |
+
INSERT INTO Behavior_Incident (`incident_id`, `incident_type_code`, `student_id`, `date_incident_start`, `date_incident_end`, `incident_summary`, `recommendations`, `other_details`) VALUES (10, 'NOISE', 1, '2018-01-27 09:24:45', '2018-03-13 05:18:05', NULL, NULL, NULL);
|
| 170 |
+
INSERT INTO Behavior_Incident (`incident_id`, `incident_type_code`, `student_id`, `date_incident_start`, `date_incident_end`, `incident_summary`, `recommendations`, `other_details`) VALUES (11, 'VIOLENCE', 9, '2018-03-06 21:03:58', '2018-03-06 14:44:37', NULL, 'Transfer schools', NULL);
|
| 171 |
+
INSERT INTO Behavior_Incident (`incident_id`, `incident_type_code`, `student_id`, `date_incident_start`, `date_incident_end`, `incident_summary`, `recommendations`, `other_details`) VALUES (12, 'DISTURB', 7, '2017-08-27 03:21:30', '2018-03-02 16:06:34', NULL, NULL, NULL);
|
| 172 |
+
INSERT INTO Behavior_Incident (`incident_id`, `incident_type_code`, `student_id`, `date_incident_start`, `date_incident_end`, `incident_summary`, `recommendations`, `other_details`) VALUES (13, 'VIOLENCE', 5, '2017-05-25 15:02:53', '2018-03-10 21:12:22', NULL, NULL, NULL);
|
| 173 |
+
INSERT INTO Behavior_Incident (`incident_id`, `incident_type_code`, `student_id`, `date_incident_start`, `date_incident_end`, `incident_summary`, `recommendations`, `other_details`) VALUES (14, 'NOISE', 1, '2017-08-29 20:48:56', '2018-03-16 14:37:20', NULL, 'Transfer schools', NULL);
|
| 174 |
+
INSERT INTO Behavior_Incident (`incident_id`, `incident_type_code`, `student_id`, `date_incident_start`, `date_incident_end`, `incident_summary`, `recommendations`, `other_details`) VALUES (15, 'NOISE', 15, '2018-02-05 13:13:45', '2018-03-08 09:00:48', NULL, NULL, NULL);
|
| 175 |
+
|
| 176 |
+
|
| 177 |
+
CREATE TABLE `Detention` (
|
| 178 |
+
`detention_id` INTEGER PRIMARY KEY,
|
| 179 |
+
`detention_type_code` VARCHAR(10) NOT NULL,
|
| 180 |
+
`teacher_id` INTEGER,
|
| 181 |
+
`datetime_detention_start` DATETIME,
|
| 182 |
+
`datetime_detention_end` DATETIME,
|
| 183 |
+
`detention_summary` VARCHAR(255),
|
| 184 |
+
`other_details` VARCHAR(255),
|
| 185 |
+
FOREIGN KEY (`detention_type_code` ) REFERENCES `Ref_Detention_Type`(`detention_type_code` ),
|
| 186 |
+
FOREIGN KEY (`teacher_id` ) REFERENCES `Teachers`(`teacher_id` )
|
| 187 |
+
);
|
| 188 |
+
|
| 189 |
+
CREATE TABLE `Student_Addresses` (
|
| 190 |
+
`student_id` INTEGER NOT NULL,
|
| 191 |
+
`address_id` INTEGER NOT NULL,
|
| 192 |
+
`date_address_from` DATETIME NOT NULL,
|
| 193 |
+
`date_address_to` DATETIME,
|
| 194 |
+
`monthly_rental` DECIMAL(19,4),
|
| 195 |
+
`other_details` VARCHAR(255),
|
| 196 |
+
FOREIGN KEY (`address_id` ) REFERENCES `Addresses`(`address_id` ),
|
| 197 |
+
FOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )
|
| 198 |
+
);
|
| 199 |
+
|
| 200 |
+
CREATE TABLE `Students_in_Detention` (
|
| 201 |
+
`student_id` INTEGER NOT NULL,
|
| 202 |
+
`detention_id` INTEGER NOT NULL,
|
| 203 |
+
`incident_id` INTEGER NOT NULL,
|
| 204 |
+
FOREIGN KEY (`incident_id` ) REFERENCES `Behavior_Incident`(`incident_id` ),
|
| 205 |
+
FOREIGN KEY (`detention_id` ) REFERENCES `Detention`(`detention_id` ),
|
| 206 |
+
FOREIGN KEY (`student_id` ) REFERENCES `Students`(`student_id` )
|
| 207 |
+
);
|
| 208 |
+
|
| 209 |
+
INSERT INTO Detention (`detention_id`, `detention_type_code`, `teacher_id`, `datetime_detention_start`, `datetime_detention_end`, `detention_summary`, `other_details`) VALUES (1, 'AFTER', 7, '2017-09-05 00:38:25', '2018-03-08 02:08:32', NULL, NULL);
|
| 210 |
+
INSERT INTO Detention (`detention_id`, `detention_type_code`, `teacher_id`, `datetime_detention_start`, `datetime_detention_end`, `detention_summary`, `other_details`) VALUES (2, 'AFTER', 14, '2018-01-10 08:09:02', '2018-03-07 04:24:48', NULL, NULL);
|
| 211 |
+
INSERT INTO Detention (`detention_id`, `detention_type_code`, `teacher_id`, `datetime_detention_start`, `datetime_detention_end`, `detention_summary`, `other_details`) VALUES (3, 'BREAK ', 11, '2017-12-14 06:40:29', '2018-03-08 09:16:38', NULL, NULL);
|
| 212 |
+
INSERT INTO Detention (`detention_id`, `detention_type_code`, `teacher_id`, `datetime_detention_start`, `datetime_detention_end`, `detention_summary`, `other_details`) VALUES (4, 'AFTER', 8, '2017-06-09 06:13:09', '2018-03-21 19:34:56', NULL, NULL);
|
| 213 |
+
INSERT INTO Detention (`detention_id`, `detention_type_code`, `teacher_id`, `datetime_detention_start`, `datetime_detention_end`, `detention_summary`, `other_details`) VALUES (5, 'BREAK ', 3, '2017-08-25 12:00:46', '2018-03-11 13:21:07', NULL, NULL);
|
| 214 |
+
INSERT INTO Detention (`detention_id`, `detention_type_code`, `teacher_id`, `datetime_detention_start`, `datetime_detention_end`, `detention_summary`, `other_details`) VALUES (6, 'BREAK ', 12, '2017-10-20 22:34:44', '2018-03-11 12:58:40', NULL, NULL);
|
| 215 |
+
INSERT INTO Detention (`detention_id`, `detention_type_code`, `teacher_id`, `datetime_detention_start`, `datetime_detention_end`, `detention_summary`, `other_details`) VALUES (7, 'BREAK ', 15, '2018-02-19 11:44:52', '2018-03-17 12:35:41', NULL, NULL);
|
| 216 |
+
INSERT INTO Detention (`detention_id`, `detention_type_code`, `teacher_id`, `datetime_detention_start`, `datetime_detention_end`, `detention_summary`, `other_details`) VALUES (8, 'BREAK ', 5, '2017-11-26 15:05:05', '2018-03-16 01:37:25', NULL, NULL);
|
| 217 |
+
INSERT INTO Detention (`detention_id`, `detention_type_code`, `teacher_id`, `datetime_detention_start`, `datetime_detention_end`, `detention_summary`, `other_details`) VALUES (9, 'LUNCH', 15, '2017-10-30 16:04:00', '2018-03-22 20:15:47', NULL, NULL);
|
| 218 |
+
INSERT INTO Detention (`detention_id`, `detention_type_code`, `teacher_id`, `datetime_detention_start`, `datetime_detention_end`, `detention_summary`, `other_details`) VALUES (10, 'AFTER', 15, '2018-01-29 20:43:45', '2018-03-05 03:31:24', NULL, NULL);
|
| 219 |
+
INSERT INTO Detention (`detention_id`, `detention_type_code`, `teacher_id`, `datetime_detention_start`, `datetime_detention_end`, `detention_summary`, `other_details`) VALUES (11, 'AFTER', 8, '2017-10-03 18:44:31', '2018-03-03 14:58:43', NULL, NULL);
|
| 220 |
+
INSERT INTO Detention (`detention_id`, `detention_type_code`, `teacher_id`, `datetime_detention_start`, `datetime_detention_end`, `detention_summary`, `other_details`) VALUES (12, 'LUNCH', 3, '2018-01-20 19:06:56', '2018-02-25 07:20:30', NULL, NULL);
|
| 221 |
+
INSERT INTO Detention (`detention_id`, `detention_type_code`, `teacher_id`, `datetime_detention_start`, `datetime_detention_end`, `detention_summary`, `other_details`) VALUES (13, 'BREAK ', 10, '2017-08-02 07:46:39', '2018-03-10 14:58:31', NULL, NULL);
|
| 222 |
+
INSERT INTO Detention (`detention_id`, `detention_type_code`, `teacher_id`, `datetime_detention_start`, `datetime_detention_end`, `detention_summary`, `other_details`) VALUES (14, 'AFTER', 12, '2017-12-18 13:47:51', '2018-03-04 20:52:51', NULL, NULL);
|
| 223 |
+
INSERT INTO Detention (`detention_id`, `detention_type_code`, `teacher_id`, `datetime_detention_start`, `datetime_detention_end`, `detention_summary`, `other_details`) VALUES (15, 'LUNCH', 11, '2017-08-21 06:41:29', '2018-03-13 20:37:39', NULL, NULL);
|
| 224 |
+
INSERT INTO Student_Addresses (`student_id`, `address_id`, `date_address_from`, `date_address_to`, `monthly_rental`, `other_details`) VALUES (6, 12, '2017-10-16 13:56:34', '2018-03-15 10:37:19', '826.4319', 'house');
|
| 225 |
+
INSERT INTO Student_Addresses (`student_id`, `address_id`, `date_address_from`, `date_address_to`, `monthly_rental`, `other_details`) VALUES (3, 18, '2017-06-19 12:39:39', '2018-03-02 00:19:57', '1113.0996', 'house');
|
| 226 |
+
INSERT INTO Student_Addresses (`student_id`, `address_id`, `date_address_from`, `date_address_to`, `monthly_rental`, `other_details`) VALUES (8, 1, '2017-10-31 12:40:34', '2018-02-25 05:21:34', '1297.3186', 'apartment');
|
| 227 |
+
INSERT INTO Student_Addresses (`student_id`, `address_id`, `date_address_from`, `date_address_to`, `monthly_rental`, `other_details`) VALUES (7, 3, '2017-04-28 06:27:14', '2018-03-23 09:52:56', '894.0958', 'house');
|
| 228 |
+
INSERT INTO Student_Addresses (`student_id`, `address_id`, `date_address_from`, `date_address_to`, `monthly_rental`, `other_details`) VALUES (13, 16, '2018-03-23 08:25:36', '2018-03-12 17:21:24', '1297.8070', 'apartment');
|
| 229 |
+
INSERT INTO Student_Addresses (`student_id`, `address_id`, `date_address_from`, `date_address_to`, `monthly_rental`, `other_details`) VALUES (11, 12, '2018-02-18 06:58:49', '2018-02-27 04:45:57', '747.5312', 'house');
|
| 230 |
+
INSERT INTO Student_Addresses (`student_id`, `address_id`, `date_address_from`, `date_address_to`, `monthly_rental`, `other_details`) VALUES (4, 1, '2017-06-22 12:20:52', '2018-03-04 17:04:35', '756.6745', 'house');
|
| 231 |
+
INSERT INTO Student_Addresses (`student_id`, `address_id`, `date_address_from`, `date_address_to`, `monthly_rental`, `other_details`) VALUES (2, 8, '2017-07-21 10:13:10', '2018-03-20 09:02:48', '1287.5604', 'house');
|
| 232 |
+
INSERT INTO Student_Addresses (`student_id`, `address_id`, `date_address_from`, `date_address_to`, `monthly_rental`, `other_details`) VALUES (7, 13, '2018-01-13 22:56:06', '2018-03-22 17:56:20', '1067.8383', 'house');
|
| 233 |
+
INSERT INTO Student_Addresses (`student_id`, `address_id`, `date_address_from`, `date_address_to`, `monthly_rental`, `other_details`) VALUES (4, 2, '2017-09-10 19:41:10', '2018-03-04 06:51:19', '1132.7420', 'house');
|
| 234 |
+
INSERT INTO Student_Addresses (`student_id`, `address_id`, `date_address_from`, `date_address_to`, `monthly_rental`, `other_details`) VALUES (8, 16, '2018-01-12 13:23:23', '2018-03-04 06:05:45', '683.0735', 'house');
|
| 235 |
+
INSERT INTO Student_Addresses (`student_id`, `address_id`, `date_address_from`, `date_address_to`, `monthly_rental`, `other_details`) VALUES (5, 13, '2017-03-29 18:22:55', '2018-03-14 09:12:05', '1036.8462', 'apartment');
|
| 236 |
+
INSERT INTO Student_Addresses (`student_id`, `address_id`, `date_address_from`, `date_address_to`, `monthly_rental`, `other_details`) VALUES (2, 3, '2017-08-12 18:28:31', '2018-03-06 21:41:20', '800.1214', 'house');
|
| 237 |
+
INSERT INTO Student_Addresses (`student_id`, `address_id`, `date_address_from`, `date_address_to`, `monthly_rental`, `other_details`) VALUES (2, 8, '2017-04-18 05:36:44', '2018-03-07 04:29:28', '865.2615', 'house');
|
| 238 |
+
INSERT INTO Student_Addresses (`student_id`, `address_id`, `date_address_from`, `date_address_to`, `monthly_rental`, `other_details`) VALUES (9, 9, '2018-02-04 02:28:04', '2018-03-12 02:57:48', '679.2988', 'house');
|
| 239 |
+
INSERT INTO Student_Addresses (`student_id`, `address_id`, `date_address_from`, `date_address_to`, `monthly_rental`, `other_details`) VALUES (13, 19, '2017-08-17 11:51:00', '2018-03-04 13:24:28', '644.9306', 'apartment');
|
| 240 |
+
INSERT INTO Student_Addresses (`student_id`, `address_id`, `date_address_from`, `date_address_to`, `monthly_rental`, `other_details`) VALUES (15, 1, '2018-03-05 19:28:26', '2018-03-15 04:44:58', '1032.8717', 'apartment');
|
| 241 |
+
INSERT INTO Student_Addresses (`student_id`, `address_id`, `date_address_from`, `date_address_to`, `monthly_rental`, `other_details`) VALUES (12, 10, '2017-09-23 05:16:17', '2018-03-05 21:12:37', '1032.9782', 'apartment');
|
| 242 |
+
INSERT INTO Student_Addresses (`student_id`, `address_id`, `date_address_from`, `date_address_to`, `monthly_rental`, `other_details`) VALUES (1, 5, '2017-11-12 04:24:02', '2018-03-14 17:00:44', '1007.2597', 'apartment');
|
| 243 |
+
INSERT INTO Student_Addresses (`student_id`, `address_id`, `date_address_from`, `date_address_to`, `monthly_rental`, `other_details`) VALUES (10, 18, '2017-10-09 17:31:44', '2018-03-18 03:28:47', '620.2801', 'house');
|
| 244 |
+
INSERT INTO Students_in_Detention (`student_id`, `detention_id`, `incident_id`) VALUES (3, 15, 1);
|
| 245 |
+
INSERT INTO Students_in_Detention (`student_id`, `detention_id`, `incident_id`) VALUES (8, 13, 3);
|
| 246 |
+
INSERT INTO Students_in_Detention (`student_id`, `detention_id`, `incident_id`) VALUES (11, 6, 11);
|
| 247 |
+
INSERT INTO Students_in_Detention (`student_id`, `detention_id`, `incident_id`) VALUES (12, 12, 1);
|
| 248 |
+
INSERT INTO Students_in_Detention (`student_id`, `detention_id`, `incident_id`) VALUES (14, 15, 13);
|
| 249 |
+
INSERT INTO Students_in_Detention (`student_id`, `detention_id`, `incident_id`) VALUES (7, 7, 8);
|
| 250 |
+
INSERT INTO Students_in_Detention (`student_id`, `detention_id`, `incident_id`) VALUES (13, 9, 12);
|
| 251 |
+
INSERT INTO Students_in_Detention (`student_id`, `detention_id`, `incident_id`) VALUES (10, 14, 8);
|
| 252 |
+
INSERT INTO Students_in_Detention (`student_id`, `detention_id`, `incident_id`) VALUES (12, 2, 13);
|
| 253 |
+
INSERT INTO Students_in_Detention (`student_id`, `detention_id`, `incident_id`) VALUES (12, 12, 1);
|
| 254 |
+
INSERT INTO Students_in_Detention (`student_id`, `detention_id`, `incident_id`) VALUES (9, 15, 15);
|
| 255 |
+
INSERT INTO Students_in_Detention (`student_id`, `detention_id`, `incident_id`) VALUES (10, 7, 12);
|
| 256 |
+
INSERT INTO Students_in_Detention (`student_id`, `detention_id`, `incident_id`) VALUES (13, 3, 3);
|
| 257 |
+
INSERT INTO Students_in_Detention (`student_id`, `detention_id`, `incident_id`) VALUES (8, 15, 14);
|
| 258 |
+
INSERT INTO Students_in_Detention (`student_id`, `detention_id`, `incident_id`) VALUES (8, 14, 14);
|
test_database/book_press/book_press.sqlite
ADDED
|
Binary file (28.7 kB). View file
|
|
|
test_database/book_press/schema.sql
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PRAGMA foreign_keys = ON;
|
| 2 |
+
|
| 3 |
+
CREATE TABLE "author" (
|
| 4 |
+
"Author_ID" int,
|
| 5 |
+
"Name" text,
|
| 6 |
+
"Age" int,
|
| 7 |
+
"Gender" text,
|
| 8 |
+
PRIMARY KEY ("Author_ID")
|
| 9 |
+
);
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
INSERT INTO "author" VALUES (1,"Derrick Kosinski",45,"Male");
|
| 13 |
+
INSERT INTO "author" VALUES (2,"Evelyn Smith",32,"Female");
|
| 14 |
+
INSERT INTO "author" VALUES (3,"Johnny Devenanzio",54,"Male");
|
| 15 |
+
INSERT INTO "author" VALUES (4,"Kenny Santucci",21,"Male");
|
| 16 |
+
INSERT INTO "author" VALUES (5,"Jenn Grijalva",19,"Female");
|
| 17 |
+
INSERT INTO "author" VALUES (6,"Paula Meronek",23,"Female");
|
| 18 |
+
INSERT INTO "author" VALUES (7,"Robin Hibbard",52,"Female");
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
CREATE TABLE "press" (
|
| 22 |
+
"Press_ID" int,
|
| 23 |
+
"Name" text,
|
| 24 |
+
"Month_Profits_billion" real,
|
| 25 |
+
"Year_Profits_billion" real,
|
| 26 |
+
PRIMARY KEY ("Press_ID")
|
| 27 |
+
);
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
INSERT INTO "press" VALUES (1,"Accor","0.65","6.02");
|
| 31 |
+
INSERT INTO "press" VALUES (2,"Air Liquide","4.08","29.49");
|
| 32 |
+
INSERT INTO "press" VALUES (3,"Alstom","0.96","9.40");
|
| 33 |
+
INSERT INTO "press" VALUES (4,"ArcelorMittal","1.69","15.4");
|
| 34 |
+
INSERT INTO "press" VALUES (5,"STMicroelectronics","0.54","5.25");
|
| 35 |
+
INSERT INTO "press" VALUES (6,"Technip","1.18","9.24");
|
| 36 |
+
INSERT INTO "press" VALUES (7,"Total","11.96","86.94");
|
| 37 |
+
INSERT INTO "press" VALUES (8,"Unibail-Rodamco","2.31","16.80");
|
| 38 |
+
INSERT INTO "press" VALUES (9,"Vallourec","0.58","4.56");
|
| 39 |
+
INSERT INTO "press" VALUES (10,"Veolia Environnement","0.44","5.01");
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
CREATE TABLE "book" (
|
| 45 |
+
"Book_ID" int,
|
| 46 |
+
"Title" text,
|
| 47 |
+
"Book_Series" text,
|
| 48 |
+
"Author_ID" int,
|
| 49 |
+
"Press_ID" int,
|
| 50 |
+
"Sale_Amount" text,
|
| 51 |
+
"Release_date" text,
|
| 52 |
+
PRIMARY KEY ("Book_ID"),
|
| 53 |
+
FOREIGN KEY (`Author_ID`) REFERENCES `author`(`Author_ID`),
|
| 54 |
+
FOREIGN KEY (`Press_ID`) REFERENCES `press`(`Press_ID`)
|
| 55 |
+
);
|
| 56 |
+
|
| 57 |
+
INSERT INTO "book" VALUES (1,"Book Revue","LT",1,1,"1234","2016-01-05");
|
| 58 |
+
INSERT INTO "book" VALUES (2,"Baseball Bugs","LT",2,2,"1214","2016-02-02");
|
| 59 |
+
INSERT INTO "book" VALUES (3,"Holiday for Shoestrings","MM",3,3,"714","2016-02-23");
|
| 60 |
+
INSERT INTO "book" VALUES (4,"Quentin Quail","MM",4,4,"615","2016-03-02");
|
| 61 |
+
INSERT INTO "book" VALUES (5,"Baby Bottleneck","LT",5,5,"1256","2016-03-16");
|
| 62 |
+
INSERT INTO "book" VALUES (6,"Hare Remover","MM",5,4,"1014","2016-03-23");
|
| 63 |
+
INSERT INTO "book" VALUES (7,"Daffy Doodles","MM",1,9,"1307","2016-04-06");
|
| 64 |
+
INSERT INTO "book" VALUES (8,"Hollywood Canine Canteen","MM",1,2,"1114","2016-04-20");
|
| 65 |
+
INSERT INTO "book" VALUES (9,"Hush My Mouse","LT",2,3,"1258","2016-05-04");
|
| 66 |
+
INSERT INTO "book" VALUES (10,"Hair-Raising Hare","MM",5,2,"115","2016-05-25");
|
| 67 |
+
|
test_database/book_review/book_review.sqlite
ADDED
|
Binary file (20.5 kB). View file
|
|
|
test_database/book_review/schema.sql
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PRAGMA foreign_keys = ON;
|
| 2 |
+
|
| 3 |
+
CREATE TABLE "book" (
|
| 4 |
+
"Book_ID" int,
|
| 5 |
+
"Title" text,
|
| 6 |
+
"Type" text,
|
| 7 |
+
"Pages" int,
|
| 8 |
+
"Chapters" int,
|
| 9 |
+
"Audio" text,
|
| 10 |
+
"Release" text,
|
| 11 |
+
PRIMARY KEY ("Book_ID")
|
| 12 |
+
);
|
| 13 |
+
|
| 14 |
+
CREATE TABLE "review" (
|
| 15 |
+
"Review_ID" int,
|
| 16 |
+
"Book_ID" int,
|
| 17 |
+
"Rating" real,
|
| 18 |
+
"Readers_in_Million" real,
|
| 19 |
+
"Rank" int,
|
| 20 |
+
PRIMARY KEY ("Review_ID"),
|
| 21 |
+
FOREIGN KEY ("Book_ID") REFERENCES `book`("Book_ID")
|
| 22 |
+
);
|
| 23 |
+
|
| 24 |
+
INSERT INTO "book" VALUES (1,"A Game of Thrones","Novel","704","73","33h 53m","August 1996");
|
| 25 |
+
INSERT INTO "book" VALUES (2,"A Clash of Kings","Novel","768","70","37h 17m","February 1999");
|
| 26 |
+
INSERT INTO "book" VALUES (3,"A Storm of Swords","Novel","992","82","47h 37m","November 2000");
|
| 27 |
+
INSERT INTO "book" VALUES (4,"A Feast for Crows","Novel","753","46","31h 10m","November 2005");
|
| 28 |
+
INSERT INTO "book" VALUES (5,"A Dance with Dragons","Poet","1056","73","48h 56m","July 2011");
|
| 29 |
+
|
| 30 |
+
INSERT INTO "review" VALUES (1,1,"6.6","3.3","16");
|
| 31 |
+
INSERT INTO "review" VALUES (2,3,"5.7","2.8","25");
|
| 32 |
+
INSERT INTO "review" VALUES (3,4,"5.8","2.6","26");
|
| 33 |
+
INSERT INTO "review" VALUES (4,5,"5.6","2.4","35");
|
| 34 |
+
|
test_database/book_review/schema_old.sql
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PRAGMA foreign_keys = ON;
|
| 2 |
+
|
| 3 |
+
CREATE TABLE "book" (
|
| 4 |
+
"Book_ID" int,
|
| 5 |
+
"Title" text,
|
| 6 |
+
"Type" text,
|
| 7 |
+
"Pages" int,
|
| 8 |
+
"Chapters" int,
|
| 9 |
+
"Audio" text,
|
| 10 |
+
"Release" text,
|
| 11 |
+
PRIMARY KEY ("Book_ID")
|
| 12 |
+
);
|
| 13 |
+
|
| 14 |
+
CREATE TABLE "review" (
|
| 15 |
+
"Review_ID" int,
|
| 16 |
+
"Book_ID" int,
|
| 17 |
+
"Rating" real,
|
| 18 |
+
"Readers_in_Million" real,
|
| 19 |
+
"Rank" int,
|
| 20 |
+
PRIMARY KEY ("Review_ID"),
|
| 21 |
+
FOREIGN KEY ("Book_ID") REFERENCES "book"("Book_ID")
|
| 22 |
+
);
|
| 23 |
+
|
| 24 |
+
INSERT INTO "book" VALUES (1,"A Game of Thrones","Novel","704","73","33h 53m","August 1996");
|
| 25 |
+
INSERT INTO "book" VALUES (2,"A Clash of Kings","Novel","768","70","37h 17m","February 1999");
|
| 26 |
+
INSERT INTO "book" VALUES (3,"A Storm of Swords","Novel","992","82","47h 37m","November 2000");
|
| 27 |
+
INSERT INTO "book" VALUES (4,"A Feast for Crows","Novel","753","46","31h 10m","November 2005");
|
| 28 |
+
INSERT INTO "book" VALUES (5,"A Dance with Dragons","Poet","1056","73","48h 56m","July 2011");
|
| 29 |
+
|
| 30 |
+
INSERT INTO "review" VALUES (1,1,"6.6","3.3","16");
|
| 31 |
+
INSERT INTO "review" VALUES (2,3,"5.7","2.8","25");
|
| 32 |
+
INSERT INTO "review" VALUES (3,4,"5.8","2.6","26");
|
| 33 |
+
INSERT INTO "review" VALUES (4,5,"5.6","2.4","35");
|
| 34 |
+
|
test_database/chinook_1/annotation.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"label_id": null,
|
| 3 |
+
"data": [],
|
| 4 |
+
"review_id": null
|
| 5 |
+
}
|
test_database/coffee_shop/schema.sql
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
PRAGMA foreign_keys = ON;
|
| 3 |
+
CREATE TABLE "shop" (
|
| 4 |
+
"Shop_ID" int,
|
| 5 |
+
"Address" text,
|
| 6 |
+
"Num_of_staff" text,
|
| 7 |
+
"Score" real,
|
| 8 |
+
"Open_Year" text,
|
| 9 |
+
PRIMARY KEY ("Shop_ID")
|
| 10 |
+
);
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
INSERT INTO "shop" VALUES ("1","1200 Main Street","13","42","2010");
|
| 14 |
+
INSERT INTO "shop" VALUES ("2","1111 Main Street","19","38","2008");
|
| 15 |
+
INSERT INTO "shop" VALUES ("3","1330 Baltimore Street","42","36","2010");
|
| 16 |
+
INSERT INTO "shop" VALUES ("4","909 Walnut Street","27","32","2010");
|
| 17 |
+
INSERT INTO "shop" VALUES ("5","414 E. 12th Street","24","30","2011");
|
| 18 |
+
INSERT INTO "shop" VALUES ("6","1201 Walnut Street","34","30","2010");
|
| 19 |
+
INSERT INTO "shop" VALUES ("7","2345 McGee Street","425","40","2008");
|
| 20 |
+
INSERT INTO "shop" VALUES ("8","909 Main Street","28","30","2011");
|
| 21 |
+
INSERT INTO "shop" VALUES ("9","1100 Main Street","23","30","2006");
|
| 22 |
+
INSERT INTO "shop" VALUES ("10","324 E. 11th Street","16","28","2008");
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
CREATE TABLE "member" (
|
| 27 |
+
"Member_ID" int,
|
| 28 |
+
"Name" text,
|
| 29 |
+
"Membership_card" text,
|
| 30 |
+
"Age" int,
|
| 31 |
+
"Time_of_purchase" int,
|
| 32 |
+
"Level_of_membership" int,
|
| 33 |
+
"Address" text,
|
| 34 |
+
PRIMARY KEY ("Member_ID")
|
| 35 |
+
);
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
INSERT INTO "member" VALUES (1,"Ashby, Lazale","Black","29","18","5","Hartford");
|
| 39 |
+
INSERT INTO "member" VALUES (2,"Breton, Robert","White","67","41","4","Waterbury");
|
| 40 |
+
INSERT INTO "member" VALUES (3,"Campbell, Jessie","Black","34","20","6","Hartford");
|
| 41 |
+
INSERT INTO "member" VALUES (4,"Cobb, Sedrick","Black","51","27","2","Waterbury");
|
| 42 |
+
INSERT INTO "member" VALUES (5,"Hayes, Steven","White","50","44","3","Cheshire");
|
| 43 |
+
INSERT INTO "member" VALUES (6,"Komisarjevsky, Joshua","White","33","26","2","Cheshire");
|
| 44 |
+
INSERT INTO "member" VALUES (7,"Peeler, Russell","Black","42","26","6","Bridgeport");
|
| 45 |
+
INSERT INTO "member" VALUES (8,"Reynolds, Richard","Black","45","24","1","Waterbury");
|
| 46 |
+
INSERT INTO "member" VALUES (9,"Rizzo, Todd","White","35","18","4","Waterbury");
|
| 47 |
+
INSERT INTO "member" VALUES (10,"Webb, Daniel","Black","51","27","22","Hartford");
|
| 48 |
+
|
| 49 |
+
CREATE TABLE "happy_hour" (
|
| 50 |
+
"HH_ID" int,
|
| 51 |
+
"Shop_ID" int,
|
| 52 |
+
"Month" text,
|
| 53 |
+
"Num_of_shaff_in_charge" int,
|
| 54 |
+
PRIMARY KEY ("HH_ID","Shop_ID","Month"),
|
| 55 |
+
FOREIGN KEY ("Shop_ID") REFERENCES `shop`("Shop_ID")
|
| 56 |
+
);
|
| 57 |
+
|
| 58 |
+
INSERT INTO "happy_hour" VALUES (1,1,"May",10);
|
| 59 |
+
INSERT INTO "happy_hour" VALUES (2,1,"April",12);
|
| 60 |
+
INSERT INTO "happy_hour" VALUES (3,10,"June",15);
|
| 61 |
+
INSERT INTO "happy_hour" VALUES (4,5,"July",5);
|
| 62 |
+
INSERT INTO "happy_hour" VALUES (5,1,"May",10);
|
| 63 |
+
INSERT INTO "happy_hour" VALUES (6,1,"April",12);
|
| 64 |
+
INSERT INTO "happy_hour" VALUES (7,2,"June",5);
|
| 65 |
+
INSERT INTO "happy_hour" VALUES (8,3,"July",15);
|
| 66 |
+
INSERT INTO "happy_hour" VALUES (9,3,"May",3);
|
| 67 |
+
INSERT INTO "happy_hour" VALUES (10,3,"April",4);
|
| 68 |
+
|
| 69 |
+
|
| 70 |
+
CREATE TABLE "happy_hour_member" (
|
| 71 |
+
"HH_ID" int,
|
| 72 |
+
"Member_ID" int,
|
| 73 |
+
"Total_amount" real,
|
| 74 |
+
PRIMARY KEY ("HH_ID","Member_ID"),
|
| 75 |
+
FOREIGN KEY ("Member_ID") REFERENCES `member`("Member_ID")
|
| 76 |
+
);
|
| 77 |
+
|
| 78 |
+
INSERT INTO "happy_hour_member" VALUES (1,3,20.90);
|
| 79 |
+
INSERT INTO "happy_hour_member" VALUES (4,3,20.92);
|
| 80 |
+
INSERT INTO "happy_hour_member" VALUES (7,9,4.90);
|
| 81 |
+
INSERT INTO "happy_hour_member" VALUES (2,5,16.90);
|
| 82 |
+
INSERT INTO "happy_hour_member" VALUES (5,5,16.92);
|
| 83 |
+
INSERT INTO "happy_hour_member" VALUES (8,9,4.20);
|
| 84 |
+
|
| 85 |
+
|
test_database/college_1/TinyCollege.sql
ADDED
|
@@ -0,0 +1,194 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Database Systems, Coronel/Morris */
|
| 2 |
+
/* Type of SQL : MySQL */
|
| 3 |
+
|
| 4 |
+
|
| 5 |
+
CREATE TABLE CLASS (
|
| 6 |
+
CLASS_CODE varchar(5) PRIMARY KEY,
|
| 7 |
+
CRS_CODE varchar(10),
|
| 8 |
+
CLASS_SECTION varchar(2),
|
| 9 |
+
CLASS_TIME varchar(20),
|
| 10 |
+
CLASS_ROOM varchar(8),
|
| 11 |
+
PROF_NUM int,
|
| 12 |
+
FOREIGN KEY (CRS_CODE) REFERENCES COURSE(CRS_CODE)
|
| 13 |
+
FOREIGN KEY (PROF_NUM) REFERENCES EMPLOYEE(EMP_NUM)
|
| 14 |
+
);
|
| 15 |
+
INSERT INTO CLASS VALUES('10012','ACCT-211','1','MWF 8:00-8:50 a.m.','BUS311','105');
|
| 16 |
+
INSERT INTO CLASS VALUES('10013','ACCT-211','2','MWF 9:00-9:50 a.m.','BUS200','105');
|
| 17 |
+
INSERT INTO CLASS VALUES('10014','ACCT-211','3','TTh 2:30-3:45 p.m.','BUS252','342');
|
| 18 |
+
INSERT INTO CLASS VALUES('10015','ACCT-212','1','MWF 10:00-10:50 a.m.','BUS311','301');
|
| 19 |
+
INSERT INTO CLASS VALUES('10016','ACCT-212','2','Th 6:00-8:40 p.m.','BUS252','301');
|
| 20 |
+
INSERT INTO CLASS VALUES('10017','CIS-220','1','MWF 9:00-9:50 a.m.','KLR209','228');
|
| 21 |
+
INSERT INTO CLASS VALUES('10018','CIS-220','2','MWF 9:00-9:50 a.m.','KLR211','114');
|
| 22 |
+
INSERT INTO CLASS VALUES('10019','CIS-220','3','MWF 10:00-10:50 a.m.','KLR209','228');
|
| 23 |
+
INSERT INTO CLASS VALUES('10020','CIS-420','1','W 6:00-8:40 p.m.','KLR209','162');
|
| 24 |
+
INSERT INTO CLASS VALUES('10021','QM-261','1','MWF 8:00-8:50 a.m.','KLR200','114');
|
| 25 |
+
INSERT INTO CLASS VALUES('10022','QM-261','2','TTh 1:00-2:15 p.m.','KLR200','114');
|
| 26 |
+
INSERT INTO CLASS VALUES('10023','QM-362','1','MWF 11:00-11:50 a.m.','KLR200','162');
|
| 27 |
+
INSERT INTO CLASS VALUES('10024','QM-362','2','TTh 2:30-3:45 p.m.','KLR200','162');
|
| 28 |
+
|
| 29 |
+
/* -- */
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
CREATE TABLE COURSE (
|
| 33 |
+
CRS_CODE varchar(10) PRIMARY KEY,
|
| 34 |
+
DEPT_CODE varchar(10),
|
| 35 |
+
CRS_DESCRIPTION varchar(35),
|
| 36 |
+
CRS_CREDIT float(8),
|
| 37 |
+
FOREIGN KEY (DEPT_CODE) REFERENCES DEPARTMENT(DEPT_CODE)
|
| 38 |
+
);
|
| 39 |
+
INSERT INTO COURSE VALUES('ACCT-211','ACCT','Accounting I','3');
|
| 40 |
+
INSERT INTO COURSE VALUES('ACCT-212','ACCT','Accounting II','3');
|
| 41 |
+
INSERT INTO COURSE VALUES('CIS-220','CIS','Intro. to Microcomputing','3');
|
| 42 |
+
INSERT INTO COURSE VALUES('CIS-420','CIS','Database Design and Implementation','4');
|
| 43 |
+
INSERT INTO COURSE VALUES('QM-261','CIS','Intro. to Statistics','3');
|
| 44 |
+
INSERT INTO COURSE VALUES('QM-362','CIS','Statistical Applications','4');
|
| 45 |
+
|
| 46 |
+
/* -- */
|
| 47 |
+
|
| 48 |
+
CREATE TABLE DEPARTMENT (
|
| 49 |
+
DEPT_CODE varchar(10) PRIMARY KEY,
|
| 50 |
+
DEPT_NAME varchar(30),
|
| 51 |
+
SCHOOL_CODE varchar(8),
|
| 52 |
+
EMP_NUM int,
|
| 53 |
+
DEPT_ADDRESS varchar(20),
|
| 54 |
+
DEPT_EXTENSION varchar(4),
|
| 55 |
+
FOREIGN KEY (EMP_NUM) REFERENCES EMPLOYEE(EMP_NUM)
|
| 56 |
+
);
|
| 57 |
+
INSERT INTO DEPARTMENT VALUES('ACCT','Accounting','BUS','114','KLR 211, Box 52','3119');
|
| 58 |
+
INSERT INTO DEPARTMENT VALUES('ART','Fine Arts','A&SCI','435','BBG 185, Box 128','2278');
|
| 59 |
+
INSERT INTO DEPARTMENT VALUES('BIOL','Biology','A&SCI','387','AAK 230, Box 415','4117');
|
| 60 |
+
INSERT INTO DEPARTMENT VALUES('CIS','Computer Info. Systems','BUS','209','KLR 333, Box 56','3245');
|
| 61 |
+
INSERT INTO DEPARTMENT VALUES('ECON/FIN','Economics/Finance','BUS','299','KLR 284, Box 63','3126');
|
| 62 |
+
INSERT INTO DEPARTMENT VALUES('ENG','English','A&SCI','160','DRE 102, Box 223','1004');
|
| 63 |
+
INSERT INTO DEPARTMENT VALUES('HIST','History','A&SCI','103','DRE 156, Box 284','1867');
|
| 64 |
+
INSERT INTO DEPARTMENT VALUES('MATH','Mathematics','A&SCI','297','AAK 194, Box 422','4234');
|
| 65 |
+
INSERT INTO DEPARTMENT VALUES('MKT/MGT','Marketing/Management','BUS','106','KLR 126, Box 55','3342');
|
| 66 |
+
INSERT INTO DEPARTMENT VALUES('PSYCH','Psychology','A&SCI','195','AAK 297, Box 438','4110');
|
| 67 |
+
INSERT INTO DEPARTMENT VALUES('SOC','Sociology','A&SCI','342','BBG 208, Box 132','2008');
|
| 68 |
+
|
| 69 |
+
/* -- */
|
| 70 |
+
|
| 71 |
+
CREATE TABLE EMPLOYEE (
|
| 72 |
+
EMP_NUM int PRIMARY KEY,
|
| 73 |
+
EMP_LNAME varchar(15),
|
| 74 |
+
EMP_FNAME varchar(12),
|
| 75 |
+
EMP_INITIAL varchar(1),
|
| 76 |
+
EMP_JOBCODE varchar(5),
|
| 77 |
+
EMP_HIREDATE datetime,
|
| 78 |
+
EMP_DOB datetime
|
| 79 |
+
);
|
| 80 |
+
INSERT INTO EMPLOYEE VALUES('100','Worley','James','F','CUST','1978-2-23','1950-6-12');
|
| 81 |
+
INSERT INTO EMPLOYEE VALUES('101','Ramso','Henry','B','CUST','1994-11-15','1961-11-2');
|
| 82 |
+
INSERT INTO EMPLOYEE VALUES('102','Edwards','Rosemary','D','TECH','1990-7-23','1953-7-3');
|
| 83 |
+
INSERT INTO EMPLOYEE VALUES('103','Donelly','Ronald','O','PROF','1987-7-1','1952-10-2');
|
| 84 |
+
INSERT INTO EMPLOYEE VALUES('104','Yukon','Preston','D','PROF','1992-5-1','1948-2-23');
|
| 85 |
+
INSERT INTO EMPLOYEE VALUES('105','Heffington','Arnelle','B','PROF','1991-7-1','1950-11-2');
|
| 86 |
+
INSERT INTO EMPLOYEE VALUES('106','Washington','Ross','E','PROF','1976-8-1','1941-3-4');
|
| 87 |
+
INSERT INTO EMPLOYEE VALUES('108','Robertson','Elaine','W','TECH','1983-10-18','1961-6-20');
|
| 88 |
+
INSERT INTO EMPLOYEE VALUES('110','Thieu','Van','S','PROF','1989-8-1','1951-8-12');
|
| 89 |
+
INSERT INTO EMPLOYEE VALUES('114','Graztevski','Gerald','B','PROF','1978-8-1','1939-3-18');
|
| 90 |
+
INSERT INTO EMPLOYEE VALUES('122','Wilson','Todd','H','CUST','1990-11-6','1966-10-19');
|
| 91 |
+
INSERT INTO EMPLOYEE VALUES('123','Jones','Suzanne','B','TECH','1994-1-5','1967-12-30');
|
| 92 |
+
INSERT INTO EMPLOYEE VALUES('124','Smith','Elsa','K','CLRK','1982-12-16','1943-9-13');
|
| 93 |
+
INSERT INTO EMPLOYEE VALUES('126','Ardano','James','G','CLRK','1994-10-1','1970-3-12');
|
| 94 |
+
INSERT INTO EMPLOYEE VALUES('155','Ritula','Annelise','','PROF','1990-8-1','1957-5-24');
|
| 95 |
+
INSERT INTO EMPLOYEE VALUES('160','Smith','Robert','T','PROF','1992-8-1','1955-6-19');
|
| 96 |
+
INSERT INTO EMPLOYEE VALUES('161','Watson','George','F','CUST','1994-11-1','1962-10-2');
|
| 97 |
+
INSERT INTO EMPLOYEE VALUES('162','Rob','Peter','','PROF','1981-8-1','1940-6-20');
|
| 98 |
+
INSERT INTO EMPLOYEE VALUES('165','Williamson','Kathryn','A','CLRK','1992-6-15','1968-11-17');
|
| 99 |
+
INSERT INTO EMPLOYEE VALUES('166','Herndon','Jill','M','TECH','1990-8-18','1965-8-29');
|
| 100 |
+
INSERT INTO EMPLOYEE VALUES('173','Teng','Weston','J','TECH','1980-7-15','1951-11-17');
|
| 101 |
+
INSERT INTO EMPLOYEE VALUES('191','Dexter','Willa','N','PROF','1984-8-1','1953-5-17');
|
| 102 |
+
INSERT INTO EMPLOYEE VALUES('195','Williams','Herman','H','PROF','1988-8-1','1955-11-19');
|
| 103 |
+
INSERT INTO EMPLOYEE VALUES('209','Smith','Melanie','K','PROF','1983-8-1','1946-5-24');
|
| 104 |
+
INSERT INTO EMPLOYEE VALUES('228','Coronel','Carlos','M','PROF','1988-8-1','1949-5-16');
|
| 105 |
+
INSERT INTO EMPLOYEE VALUES('231','Shebert','Rebecca','A','CUST','1994-2-21','1963-2-27');
|
| 106 |
+
INSERT INTO EMPLOYEE VALUES('297','Jones','Hermine','','PROF','1985-1-1','1950-7-4');
|
| 107 |
+
INSERT INTO EMPLOYEE VALUES('299','Stoddard','Doreen','L','PROF','1994-8-1','1960-4-25');
|
| 108 |
+
INSERT INTO EMPLOYEE VALUES('301','Osaki','Ismael','K','PROF','1989-8-1','1952-5-25');
|
| 109 |
+
INSERT INTO EMPLOYEE VALUES('333','Jordan','Julian','H','TECH','1991-4-23','1968-7-16');
|
| 110 |
+
INSERT INTO EMPLOYEE VALUES('335','Okomoto','Ronald','F','PROF','1975-8-1','1944-3-3');
|
| 111 |
+
INSERT INTO EMPLOYEE VALUES('342','Smith','Robert','A','PROF','1978-8-1','1937-12-30');
|
| 112 |
+
INSERT INTO EMPLOYEE VALUES('387','Smithson','George','D','PROF','1982-8-1','1948-10-1');
|
| 113 |
+
INSERT INTO EMPLOYEE VALUES('401','Blalock','James','G','PROF','1981-8-1','1945-3-15');
|
| 114 |
+
INSERT INTO EMPLOYEE VALUES('412','Smith','Robert','E','CUST','1985-6-24','1963-9-25');
|
| 115 |
+
INSERT INTO EMPLOYEE VALUES('425','Matler','Ralph','F','PROF','1995-8-1','1973-12-2');
|
| 116 |
+
INSERT INTO EMPLOYEE VALUES('435','Doornberg','Anne','D','PROF','1992-8-1','1963-10-2');
|
| 117 |
+
|
| 118 |
+
/* -- */
|
| 119 |
+
|
| 120 |
+
|
| 121 |
+
CREATE TABLE ENROLL (
|
| 122 |
+
CLASS_CODE varchar(5),
|
| 123 |
+
STU_NUM int,
|
| 124 |
+
ENROLL_GRADE varchar(50),
|
| 125 |
+
FOREIGN KEY (CLASS_CODE) REFERENCES CLASS(CLASS_CODE)
|
| 126 |
+
FOREIGN KEY (STU_NUM) REFERENCES STUDENT(STU_NUM)
|
| 127 |
+
);
|
| 128 |
+
INSERT INTO ENROLL VALUES('10014','321452','C');
|
| 129 |
+
INSERT INTO ENROLL VALUES('10014','324257','B');
|
| 130 |
+
INSERT INTO ENROLL VALUES('10018','321452','A');
|
| 131 |
+
INSERT INTO ENROLL VALUES('10018','324257','B');
|
| 132 |
+
INSERT INTO ENROLL VALUES('10021','321452','C');
|
| 133 |
+
INSERT INTO ENROLL VALUES('10021','324257','C');
|
| 134 |
+
|
| 135 |
+
/* -- */
|
| 136 |
+
|
| 137 |
+
|
| 138 |
+
CREATE TABLE PROFESSOR (
|
| 139 |
+
EMP_NUM int,
|
| 140 |
+
DEPT_CODE varchar(10),
|
| 141 |
+
PROF_OFFICE varchar(50),
|
| 142 |
+
PROF_EXTENSION varchar(4),
|
| 143 |
+
PROF_HIGH_DEGREE varchar(5),
|
| 144 |
+
FOREIGN KEY (EMP_NUM) REFERENCES EMPLOYEE(EMP_NUM),
|
| 145 |
+
FOREIGN KEY (DEPT_CODE) REFERENCES DEPARTMENT(DEPT_CODE)
|
| 146 |
+
);
|
| 147 |
+
INSERT INTO PROFESSOR VALUES('103','HIST','DRE 156','6783','Ph.D.');
|
| 148 |
+
INSERT INTO PROFESSOR VALUES('104','ENG','DRE 102','5561','MA');
|
| 149 |
+
INSERT INTO PROFESSOR VALUES('105','ACCT','KLR 229D','8665','Ph.D.');
|
| 150 |
+
INSERT INTO PROFESSOR VALUES('106','MKT/MGT','KLR 126','3899','Ph.D.');
|
| 151 |
+
INSERT INTO PROFESSOR VALUES('110','BIOL','AAK 160','3412','Ph.D.');
|
| 152 |
+
INSERT INTO PROFESSOR VALUES('114','ACCT','KLR 211','4436','Ph.D.');
|
| 153 |
+
INSERT INTO PROFESSOR VALUES('155','MATH','AAK 201','4440','Ph.D.');
|
| 154 |
+
INSERT INTO PROFESSOR VALUES('160','ENG','DRE 102','2248','Ph.D.');
|
| 155 |
+
INSERT INTO PROFESSOR VALUES('162','CIS','KLR 203E','2359','Ph.D.');
|
| 156 |
+
INSERT INTO PROFESSOR VALUES('191','MKT/MGT','KLR 409B','4016','DBA');
|
| 157 |
+
INSERT INTO PROFESSOR VALUES('195','PSYCH','AAK 297','3550','Ph.D.');
|
| 158 |
+
INSERT INTO PROFESSOR VALUES('209','CIS','KLR 333','3421','Ph.D.');
|
| 159 |
+
INSERT INTO PROFESSOR VALUES('228','CIS','KLR 300','3000','Ph.D.');
|
| 160 |
+
INSERT INTO PROFESSOR VALUES('297','MATH','AAK 194','1145','Ph.D.');
|
| 161 |
+
INSERT INTO PROFESSOR VALUES('299','ECON/FIN','KLR 284','2851','Ph.D.');
|
| 162 |
+
INSERT INTO PROFESSOR VALUES('301','ACCT','KLR 244','4683','Ph.D.');
|
| 163 |
+
INSERT INTO PROFESSOR VALUES('335','ENG','DRE 208','2000','Ph.D.');
|
| 164 |
+
INSERT INTO PROFESSOR VALUES('342','SOC','BBG 208','5514','Ph.D.');
|
| 165 |
+
INSERT INTO PROFESSOR VALUES('387','BIOL','AAK 230','8665','Ph.D.');
|
| 166 |
+
INSERT INTO PROFESSOR VALUES('401','HIST','DRE 156','6783','MA');
|
| 167 |
+
INSERT INTO PROFESSOR VALUES('425','ECON/FIN','KLR 284','2851','MBA');
|
| 168 |
+
INSERT INTO PROFESSOR VALUES('435','ART','BBG 185','2278','Ph.D.');
|
| 169 |
+
|
| 170 |
+
/* -- */
|
| 171 |
+
|
| 172 |
+
CREATE TABLE STUDENT (
|
| 173 |
+
STU_NUM int PRIMARY KEY,
|
| 174 |
+
STU_LNAME varchar(15),
|
| 175 |
+
STU_FNAME varchar(15),
|
| 176 |
+
STU_INIT varchar(1),
|
| 177 |
+
STU_DOB datetime,
|
| 178 |
+
STU_HRS int,
|
| 179 |
+
STU_CLASS varchar(2),
|
| 180 |
+
STU_GPA float(8),
|
| 181 |
+
STU_TRANSFER numeric,
|
| 182 |
+
DEPT_CODE varchar(18),
|
| 183 |
+
STU_PHONE varchar(4),
|
| 184 |
+
PROF_NUM int,
|
| 185 |
+
FOREIGN KEY (DEPT_CODE) REFERENCES DEPARTMENT(DEPT_CODE)
|
| 186 |
+
);
|
| 187 |
+
INSERT INTO STUDENT VALUES('321452','Bowser','William','C','1975-2-12','42','So','2.84','0','BIOL','2134','205');
|
| 188 |
+
INSERT INTO STUDENT VALUES('324257','Smithson','Anne','K','1981-11-15','81','Jr','3.27','1','CIS','2256','222');
|
| 189 |
+
INSERT INTO STUDENT VALUES('324258','Brewer','Juliette','','1969-8-23','36','So','2.26','1','ACCT','2256','228');
|
| 190 |
+
INSERT INTO STUDENT VALUES('324269','Oblonski','Walter','H','1976-9-16','66','Jr','3.09','0','CIS','2114','222');
|
| 191 |
+
INSERT INTO STUDENT VALUES('324273','Smith','John','D','1958-12-30','102','Sr','2.11','1','ENGL','2231','199');
|
| 192 |
+
INSERT INTO STUDENT VALUES('324274','Katinga','Raphael','P','1979-10-21','114','Sr','3.15','0','ACCT','2267','228');
|
| 193 |
+
INSERT INTO STUDENT VALUES('324291','Robertson','Gerald','T','1973-4-8','120','Sr','3.87','0','EDU','2267','311');
|
| 194 |
+
INSERT INTO STUDENT VALUES('324299','Smith','John','B','1986-11-30','15','Fr','2.92','0','ACCT','2315','230');
|
test_database/college_1/college_1.sqlite
ADDED
|
Binary file (53.2 kB). View file
|
|
|
test_database/college_1/link.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
http://www.cs.dartmouth.edu/~cs61/Examples/
|
test_database/company_office/company_office.sqlite
ADDED
|
Binary file (28.7 kB). View file
|
|
|
test_database/company_office/schema.sql
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PRAGMA foreign_keys = ON;
|
| 2 |
+
|
| 3 |
+
CREATE TABLE "buildings" (
|
| 4 |
+
"id" int,
|
| 5 |
+
"name" text,
|
| 6 |
+
"City" text,
|
| 7 |
+
"Height" int,
|
| 8 |
+
"Stories" int,
|
| 9 |
+
"Status" text,
|
| 10 |
+
PRIMARY KEY("id")
|
| 11 |
+
);
|
| 12 |
+
|
| 13 |
+
INSERT INTO "buildings" VALUES (1, "Torre KOI","Monterrey","220","67","under construction");
|
| 14 |
+
INSERT INTO "buildings" VALUES (2, "Torre Mitikah","Mexico City","210","60","under construction");
|
| 15 |
+
INSERT INTO "buildings" VALUES (3, "Punto Chapultepec","Mexico City","210","59","proposed");
|
| 16 |
+
INSERT INTO "buildings" VALUES (4, "Torre Reforma","Mexico City","330","57","under construction");
|
| 17 |
+
INSERT INTO "buildings" VALUES (5, "Corporativo BBVA Bancomer","Mexico City","220","50","under construction");
|
| 18 |
+
INSERT INTO "buildings" VALUES (6, "Reforma 432","Mexico City","300","100","under construction");
|
| 19 |
+
INSERT INTO "buildings" VALUES (7, "Torre New York Life","Mexico City","50","6","under construction");
|
| 20 |
+
INSERT INTO "buildings" VALUES (8, "LIU East","Monterrey","73","20","under construction");
|
| 21 |
+
INSERT INTO "buildings" VALUES (9, "Residencial Vidalta Torre Altaire 2","Mexico City","150","44","on-hold");
|
| 22 |
+
INSERT INTO "buildings" VALUES (10, "Residencial Vidalta Torre Altaire 3","Mexico City","200","44","on-hold");
|
| 23 |
+
INSERT INTO "buildings" VALUES (11, "Reforma 90","Mexico City","200","42","on-hold");
|
| 24 |
+
INSERT INTO "buildings" VALUES (12, "Ritz-Carlton Mexico City","Mexico City","100","34","on-hold");
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
CREATE TABLE "Companies" (
|
| 28 |
+
"id" int,
|
| 29 |
+
"name" text,
|
| 30 |
+
"Headquarters" text,
|
| 31 |
+
"Industry" text,
|
| 32 |
+
"Sales_billion" real,
|
| 33 |
+
"Profits_billion" real,
|
| 34 |
+
"Assets_billion" real,
|
| 35 |
+
"Market_Value_billion" text,
|
| 36 |
+
PRIMARY KEY ("id")
|
| 37 |
+
);
|
| 38 |
+
|
| 39 |
+
INSERT INTO "Companies" VALUES ("1","JPMorgan Chase","USA","Banking","115.5","17.4","2117.6","182.2");
|
| 40 |
+
INSERT INTO "Companies" VALUES ("2","HSBC","UK","Banking","103.3","13.3","2467.9","186.5");
|
| 41 |
+
INSERT INTO "Companies" VALUES ("3","General Electric","USA","Conglomerate","156.2","11.6","751.2","216.2");
|
| 42 |
+
INSERT INTO "Companies" VALUES ("4","ExxonMobil","USA","Oil and gas","341.6","30.5","302.5","407.2");
|
| 43 |
+
INSERT INTO "Companies" VALUES ("5","Royal Dutch Shell","Netherlands","Oil and gas","369.1","20.1","317.2","212.9");
|
| 44 |
+
INSERT INTO "Companies" VALUES ("6","PetroChina","China","Oil and gas","222.3","21.2","251.3","320.8");
|
| 45 |
+
INSERT INTO "Companies" VALUES ("7","Industrial and Commercial Bank of China","China","Banking","69.2","18.8","1723.5","239.5");
|
| 46 |
+
INSERT INTO "Companies" VALUES ("8","Berkshire Hathaway","USA","Conglomerate","136.2","13","372.2","211");
|
| 47 |
+
INSERT INTO "Companies" VALUES ("9","Petrobras","Brazil","Oil and gas","121.3","21.2","313.2","238.8");
|
| 48 |
+
INSERT INTO "Companies" VALUES ("10","Citigroup","USA","Banking","111.5","10.6","1913.9","132.8");
|
| 49 |
+
INSERT INTO "Companies" VALUES ("11","BNP Paribas","France","Banking","130.4","10.5","2680.7","88");
|
| 50 |
+
INSERT INTO "Companies" VALUES ("12","Wells Fargo","USA","Banking","93.2","12.4","1258.1","170.6");
|
| 51 |
+
INSERT INTO "Companies" VALUES ("13","Santander Group","Spain","Banking","109.7","12.8","1570.6","94.7");
|
| 52 |
+
INSERT INTO "Companies" VALUES ("14","AT&T Inc.","USA","Telecommunications","124.3","19.9","268.5","168.2");
|
| 53 |
+
INSERT INTO "Companies" VALUES ("15","Gazprom","Russia","Oil and gas","98.7","25.7","275.9","172.9");
|
| 54 |
+
INSERT INTO "Companies" VALUES ("16","Chevron","USA","Oil and gas","189.6","19","184.8","200.6");
|
| 55 |
+
INSERT INTO "Companies" VALUES ("17","China Construction Bank","China","Banking","58.2","15.6","1408","224.8");
|
| 56 |
+
INSERT INTO "Companies" VALUES ("18","Walmart","USA","Retailing","421.8","16.4","180.7","187.3");
|
| 57 |
+
INSERT INTO "Companies" VALUES ("19","Total","France","Oil and gas","188.1","14.2","192.8","138");
|
| 58 |
+
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
CREATE TABLE "Office_locations" (
|
| 62 |
+
"building_id" int,
|
| 63 |
+
"company_id" int,
|
| 64 |
+
"move_in_year" int,
|
| 65 |
+
PRIMARY KEY ("building_id", "company_id"),
|
| 66 |
+
FOREIGN KEY ("building_id") REFERENCES "buildings"("id"),
|
| 67 |
+
FOREIGN KEY ("company_id") REFERENCES "Companies"("id")
|
| 68 |
+
);
|
| 69 |
+
|
| 70 |
+
INSERT INTO "Office_locations" VALUES (1,1,2021);
|
| 71 |
+
INSERT INTO "Office_locations" VALUES (2,2,2022);
|
| 72 |
+
INSERT INTO "Office_locations" VALUES (3,4,2023);
|
| 73 |
+
INSERT INTO "Office_locations" VALUES (4,3,2024);
|
| 74 |
+
INSERT INTO "Office_locations" VALUES (5,3,2025);
|
| 75 |
+
INSERT INTO "Office_locations" VALUES (5,7,2026);
|
| 76 |
+
INSERT INTO "Office_locations" VALUES (11,5,2027);
|
| 77 |
+
INSERT INTO "Office_locations" VALUES (7,4,2027);
|
| 78 |
+
INSERT INTO "Office_locations" VALUES (3,2,2028);
|
| 79 |
+
INSERT INTO "Office_locations" VALUES (3,9,2029);
|
| 80 |
+
INSERT INTO "Office_locations" VALUES (10,9,2031);
|
| 81 |
+
INSERT INTO "Office_locations" VALUES (6,9,2022);
|
| 82 |
+
INSERT INTO "Office_locations" VALUES (8,19,2022);
|
| 83 |
+
INSERT INTO "Office_locations" VALUES (9,10,2019);
|
| 84 |
+
INSERT INTO "Office_locations" VALUES (3,11,2020);
|
| 85 |
+
INSERT INTO "Office_locations" VALUES (2,11,2025);
|
| 86 |
+
|
test_database/device/schema.sql
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PRAGMA foreign_keys = ON;
|
| 2 |
+
|
| 3 |
+
CREATE TABLE "device" (
|
| 4 |
+
"Device_ID" int,
|
| 5 |
+
"Device" text,
|
| 6 |
+
"Carrier" text,
|
| 7 |
+
"Package_Version" text,
|
| 8 |
+
"Applications" text,
|
| 9 |
+
"Software_Platform" text,
|
| 10 |
+
PRIMARY KEY ("Device_ID")
|
| 11 |
+
);
|
| 12 |
+
|
| 13 |
+
CREATE TABLE "shop" (
|
| 14 |
+
"Shop_ID" int,
|
| 15 |
+
"Shop_Name" text,
|
| 16 |
+
"Location" text,
|
| 17 |
+
"Open_Date" text,
|
| 18 |
+
"Open_Year" int,
|
| 19 |
+
PRIMARY KEY ("Shop_ID")
|
| 20 |
+
);
|
| 21 |
+
|
| 22 |
+
INSERT INTO "device" VALUES (1,"BlackBerry Storm 9530","MTS Mobility","5.0.0.808","5.0.0.419","Android");
|
| 23 |
+
INSERT INTO "device" VALUES (2,"Apple","Verizon Wireless","5.0.0.328","5.0.0.328","iOS");
|
| 24 |
+
INSERT INTO "device" VALUES (3,"Huawei","Telus Mobility","5.0.0.419","5.0.0.419","Android");
|
| 25 |
+
INSERT INTO "device" VALUES (4,"Xiaomi","Bell Mobility","5.0.0.419","5.0.0.419","Android");
|
| 26 |
+
INSERT INTO "device" VALUES (5,"Samsung","Iusacell","4.7.0.208","4.7.0.151","Android");
|
| 27 |
+
INSERT INTO "device" VALUES (6,"Galaxy","Vodafone AU","5.0.0.742","5.0.0.451","Android");
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
INSERT INTO "shop" VALUES (1,"Dinas Device","Dinas","1 January","2014");
|
| 32 |
+
INSERT INTO "shop" VALUES (2,"Best Buy","Cymmer","15 July","2006");
|
| 33 |
+
INSERT INTO "shop" VALUES (3,"Ferndale","Blaenllechau","8 November","2009");
|
| 34 |
+
INSERT INTO "shop" VALUES (4,"Apple","Blaenllechau","10 June","2009");
|
| 35 |
+
INSERT INTO "shop" VALUES (5,"Pentre store","Pentre","24 February","2011");
|
| 36 |
+
INSERT INTO "shop" VALUES (6,"Tynewydd repair","Porth","11 April","2007");
|
| 37 |
+
INSERT INTO "shop" VALUES (7,"Dinas store","Dinas","13 January","2009");
|
| 38 |
+
INSERT INTO "shop" VALUES (8,"Naval repair","Penygraig","10 December","2010");
|
| 39 |
+
INSERT INTO "shop" VALUES (9,"Gelli repair","Gelli","21 August","2013");
|
| 40 |
+
INSERT INTO "shop" VALUES (10,"Naval's shop","Penygraig","27 January","2014");
|
| 41 |
+
INSERT INTO "shop" VALUES (11,"ATnT","Maerdy","23–24 December","2015");
|
| 42 |
+
INSERT INTO "shop" VALUES (12,"National Cellphone","Wattstown","18 February","2017");
|
| 43 |
+
|
| 44 |
+
CREATE TABLE "stock" (
|
| 45 |
+
"Shop_ID" int,
|
| 46 |
+
"Device_ID" int,
|
| 47 |
+
"Quantity" int,
|
| 48 |
+
PRIMARY KEY ("Shop_ID","Device_ID"),
|
| 49 |
+
FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`),
|
| 50 |
+
FOREIGN KEY (`Device_ID`) REFERENCES `device`(`Device_ID`)
|
| 51 |
+
);
|
| 52 |
+
|
| 53 |
+
INSERT INTO "stock" VALUES (1,6,100);
|
| 54 |
+
INSERT INTO "stock" VALUES (2,6,110);
|
| 55 |
+
INSERT INTO "stock" VALUES (3,6,134);
|
| 56 |
+
INSERT INTO "stock" VALUES (4,6,56);
|
| 57 |
+
INSERT INTO "stock" VALUES (1,4,200);
|
| 58 |
+
INSERT INTO "stock" VALUES (11,6,112);
|
| 59 |
+
INSERT INTO "stock" VALUES (3,4,124);
|
| 60 |
+
INSERT INTO "stock" VALUES (9,4,51);
|
| 61 |
+
|
test_database/dorm_1/schema.sql
ADDED
|
@@ -0,0 +1,172 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
create table Student (
|
| 3 |
+
StuID INTEGER PRIMARY KEY,
|
| 4 |
+
LName VARCHAR(12),
|
| 5 |
+
Fname VARCHAR(12),
|
| 6 |
+
Age INTEGER,
|
| 7 |
+
Sex VARCHAR(1),
|
| 8 |
+
Major INTEGER,
|
| 9 |
+
Advisor INTEGER,
|
| 10 |
+
city_code VARCHAR(3)
|
| 11 |
+
);
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
create table Dorm (
|
| 15 |
+
dormid INTEGER,
|
| 16 |
+
dorm_name VARCHAR(20),
|
| 17 |
+
student_capacity INTEGER,
|
| 18 |
+
gender VARCHAR(1)
|
| 19 |
+
) ;
|
| 20 |
+
|
| 21 |
+
create table Dorm_amenity (
|
| 22 |
+
amenid INTEGER,
|
| 23 |
+
amenity_name VARCHAR(25)
|
| 24 |
+
) ;
|
| 25 |
+
|
| 26 |
+
create table Has_amenity (
|
| 27 |
+
dormid INTEGER,
|
| 28 |
+
amenid INTEGER,
|
| 29 |
+
FOREIGN KEY (dormid) REFERENCES `Dorm`(dormid),
|
| 30 |
+
FOREIGN KEY (amenid) REFERENCES `Dorm_amenity`(amenid)
|
| 31 |
+
);
|
| 32 |
+
|
| 33 |
+
create table Lives_in (
|
| 34 |
+
stuid INTEGER,
|
| 35 |
+
dormid INTEGER,
|
| 36 |
+
room_number INTEGER,
|
| 37 |
+
FOREIGN KEY (stuid) REFERENCES `Student`(StuID),
|
| 38 |
+
FOREIGN KEY (dormid) REFERENCES `Dorm`(dormid)
|
| 39 |
+
);
|
| 40 |
+
|
| 41 |
+
insert into Student values ( 1001, 'Smith', 'Linda', 18, 'F', 600, 1121,'BAL');
|
| 42 |
+
insert into Student values ( 1002, 'Kim', 'Tracy', 19, 'F', 600, 7712,'HKG');
|
| 43 |
+
insert into Student values ( 1003, 'Jones', 'Shiela', 21, 'F', 600, 7792,'WAS');
|
| 44 |
+
insert into Student values ( 1004, 'Kumar', 'Dinesh', 20, 'M', 600, 8423,'CHI');
|
| 45 |
+
insert into Student values ( 1005, 'Gompers', 'Paul', 26, 'M', 600, 1121,'YYZ');
|
| 46 |
+
insert into Student values ( 1006, 'Schultz', 'Andy', 18, 'M', 600, 1148,'BAL');
|
| 47 |
+
insert into Student values ( 1007, 'Apap', 'Lisa', 18, 'F', 600, 8918,'PIT');
|
| 48 |
+
insert into Student values ( 1008, 'Nelson', 'Jandy', 20, 'F', 600, 9172,'BAL');
|
| 49 |
+
insert into Student values ( 1009, 'Tai', 'Eric', 19, 'M', 600, 2192,'YYZ');
|
| 50 |
+
insert into Student values ( 1010, 'Lee', 'Derek', 17, 'M', 600, 2192,'HOU');
|
| 51 |
+
insert into Student values ( 1011, 'Adams', 'David', 22, 'M', 600, 1148,'PHL');
|
| 52 |
+
insert into Student values ( 1012, 'Davis', 'Steven', 20, 'M', 600, 7723,'PIT');
|
| 53 |
+
insert into Student values ( 1014, 'Norris', 'Charles', 18, 'M', 600, 8741, 'DAL');
|
| 54 |
+
insert into Student values ( 1015, 'Lee', 'Susan', 16, 'F', 600, 8721,'HKG');
|
| 55 |
+
insert into Student values ( 1016, 'Schwartz', 'Mark', 17, 'M', 600, 2192,'DET');
|
| 56 |
+
insert into Student values ( 1017, 'Wilson', 'Bruce', 27, 'M', 600, 1148,'LON');
|
| 57 |
+
insert into Student values ( 1018, 'Leighton', 'Michael', 20, 'M', 600, 1121, 'PIT');
|
| 58 |
+
insert into Student values ( 1019, 'Pang', 'Arthur', 18, 'M', 600, 2192,'WAS');
|
| 59 |
+
insert into Student values ( 1020, 'Thornton', 'Ian', 22, 'M', 520, 7271,'NYC');
|
| 60 |
+
insert into Student values ( 1021, 'Andreou', 'George', 19, 'M', 520, 8722, 'NYC');
|
| 61 |
+
insert into Student values ( 1022, 'Woods', 'Michael', 17, 'M', 540, 8722,'PHL');
|
| 62 |
+
insert into Student values ( 1023, 'Shieber', 'David', 20, 'M', 520, 8722,'NYC');
|
| 63 |
+
insert into Student values ( 1024, 'Prater', 'Stacy', 18, 'F', 540, 7271,'BAL');
|
| 64 |
+
insert into Student values ( 1025, 'Goldman', 'Mark', 18, 'M', 520, 7134,'PIT');
|
| 65 |
+
insert into Student values ( 1026, 'Pang', 'Eric', 19, 'M', 520, 7134,'HKG');
|
| 66 |
+
insert into Student values ( 1027, 'Brody', 'Paul', 18, 'M', 520, 8723,'LOS');
|
| 67 |
+
insert into Student values ( 1028, 'Rugh', 'Eric', 20, 'M', 550, 2311,'ROC');
|
| 68 |
+
insert into Student values ( 1029, 'Han', 'Jun', 17, 'M', 100, 2311,'PEK');
|
| 69 |
+
insert into Student values ( 1030, 'Cheng', 'Lisa', 21, 'F', 550, 2311,'SFO');
|
| 70 |
+
insert into Student values ( 1031, 'Smith', 'Sarah', 20, 'F', 550, 8772,'PHL');
|
| 71 |
+
insert into Student values ( 1032, 'Brown', 'Eric', 20, 'M', 550, 8772,'ATL');
|
| 72 |
+
insert into Student values ( 1033, 'Simms', 'William', 18, 'M', 550, 8772,'NAR');
|
| 73 |
+
insert into Student values ( 1034, 'Epp', 'Eric', 18, 'M', 050, 5718,'BOS');
|
| 74 |
+
insert into Student values ( 1035, 'Schmidt', 'Sarah', 26, 'F', 050, 5718,'WAS');
|
| 75 |
+
|
| 76 |
+
insert into Dorm values (100,'Smith Hall',85,'X');
|
| 77 |
+
insert into Dorm values (110,'Bud Jones Hall',116,'M');
|
| 78 |
+
insert into Dorm values (140,'Fawlty Towers',355,'X');
|
| 79 |
+
insert into Dorm values (160,'Dorm-plex 2000',400,'X');
|
| 80 |
+
insert into Dorm values (109,'Anonymous Donor Hall',128,'F');
|
| 81 |
+
insert into Dorm values (117,'University Hovels',40,'X');
|
| 82 |
+
insert into Dorm values (104,'Grad Student Asylum',256,'X');
|
| 83 |
+
|
| 84 |
+
|
| 85 |
+
insert into Dorm_amenity values ( 900 , 'TV Lounge' ) ;
|
| 86 |
+
insert into Dorm_amenity values ( 901 , 'Study Room' ) ;
|
| 87 |
+
insert into Dorm_amenity values ( 902 , 'Pub in Basement' ) ;
|
| 88 |
+
insert into Dorm_amenity values ( 903 , 'Carpeted Rooms' ) ;
|
| 89 |
+
insert into Dorm_amenity values ( 904 , '4 Walls' ) ;
|
| 90 |
+
insert into Dorm_amenity values ( 930 , 'Roof' ) ;
|
| 91 |
+
insert into Dorm_amenity values ( 931 , 'Ethernet Ports' ) ;
|
| 92 |
+
insert into Dorm_amenity values ( 932 , 'Air Conditioning' ) ;
|
| 93 |
+
insert into Dorm_amenity values ( 922 , 'Heat' ) ;
|
| 94 |
+
insert into Dorm_amenity values ( 950 , 'Working Fireplaces' ) ;
|
| 95 |
+
insert into Dorm_amenity values ( 955 , 'Kitchen in Every Room' ) ;
|
| 96 |
+
insert into Dorm_amenity values ( 909 , 'Allows Pets' ) ;
|
| 97 |
+
|
| 98 |
+
|
| 99 |
+
insert into Has_amenity values ( 109 , 900) ;
|
| 100 |
+
insert into Has_amenity values ( 109 , 901) ;
|
| 101 |
+
insert into Has_amenity values ( 109 , 903) ;
|
| 102 |
+
insert into Has_amenity values ( 109 , 904 ) ;
|
| 103 |
+
insert into Has_amenity values ( 109 , 930 ) ;
|
| 104 |
+
insert into Has_amenity values ( 109 , 931) ;
|
| 105 |
+
insert into Has_amenity values ( 109 , 932) ;
|
| 106 |
+
insert into Has_amenity values ( 109 , 922) ;
|
| 107 |
+
insert into Has_amenity values ( 104 , 901) ;
|
| 108 |
+
insert into Has_amenity values ( 104 , 904) ;
|
| 109 |
+
insert into Has_amenity values ( 104 , 930 ) ;
|
| 110 |
+
insert into Has_amenity values ( 160 , 900 ) ;
|
| 111 |
+
insert into Has_amenity values ( 160 , 901 ) ;
|
| 112 |
+
insert into Has_amenity values ( 160 , 902 ) ;
|
| 113 |
+
insert into Has_amenity values ( 160 , 903 ) ;
|
| 114 |
+
insert into Has_amenity values ( 160 , 931 ) ;
|
| 115 |
+
insert into Has_amenity values ( 160 , 904) ;
|
| 116 |
+
insert into Has_amenity values ( 160 , 930 ) ;
|
| 117 |
+
insert into Has_amenity values ( 160 , 922 ) ;
|
| 118 |
+
insert into Has_amenity values ( 160 , 932 ) ;
|
| 119 |
+
insert into Has_amenity values ( 160 , 950 ) ;
|
| 120 |
+
insert into Has_amenity values ( 160 , 955 ) ;
|
| 121 |
+
insert into Has_amenity values ( 160 , 909 ) ;
|
| 122 |
+
insert into Has_amenity values ( 100 , 901) ;
|
| 123 |
+
insert into Has_amenity values ( 100 , 903) ;
|
| 124 |
+
insert into Has_amenity values ( 100 , 904) ;
|
| 125 |
+
insert into Has_amenity values ( 100 , 930 ) ;
|
| 126 |
+
insert into Has_amenity values ( 100 , 922 ) ;
|
| 127 |
+
insert into Has_amenity values ( 117 , 930 ) ;
|
| 128 |
+
insert into Has_amenity values ( 110 , 901) ;
|
| 129 |
+
insert into Has_amenity values ( 110 , 903) ;
|
| 130 |
+
insert into Has_amenity values ( 110 , 904) ;
|
| 131 |
+
insert into Has_amenity values ( 110 , 930 ) ;
|
| 132 |
+
insert into Has_amenity values ( 110 , 922 ) ;
|
| 133 |
+
insert into Has_amenity values ( 140 , 909 ) ;
|
| 134 |
+
insert into Has_amenity values ( 140 , 900) ;
|
| 135 |
+
insert into Has_amenity values ( 140 , 902) ;
|
| 136 |
+
insert into Has_amenity values ( 140 , 904) ;
|
| 137 |
+
insert into Has_amenity values ( 140 , 930 ) ;
|
| 138 |
+
insert into Has_amenity values ( 140 , 932 ) ;
|
| 139 |
+
|
| 140 |
+
|
| 141 |
+
insert into Lives_in values ( 1001 , 109 , 105 ) ;
|
| 142 |
+
insert into Lives_in values ( 1002 , 100 , 112 ) ;
|
| 143 |
+
insert into Lives_in values ( 1003 , 100 , 124 ) ;
|
| 144 |
+
insert into Lives_in values ( 1004 , 140 , 215 ) ;
|
| 145 |
+
insert into Lives_in values ( 1005 , 160 , 333 ) ;
|
| 146 |
+
insert into Lives_in values ( 1007 , 140 , 113 ) ;
|
| 147 |
+
insert into Lives_in values ( 1008 , 160 , 334 ) ;
|
| 148 |
+
insert into Lives_in values ( 1009 , 140 , 332 ) ;
|
| 149 |
+
insert into Lives_in values ( 1010 , 160 , 443 ) ;
|
| 150 |
+
insert into Lives_in values ( 1011 , 140 , 102 ) ;
|
| 151 |
+
insert into Lives_in values ( 1012 , 160 , 333 ) ;
|
| 152 |
+
insert into Lives_in values ( 1014 , 104 , 211 ) ;
|
| 153 |
+
insert into Lives_in values ( 1015 , 160 , 443 ) ;
|
| 154 |
+
insert into Lives_in values ( 1016 , 140 , 301 ) ;
|
| 155 |
+
insert into Lives_in values ( 1017 , 140 , 319 ) ;
|
| 156 |
+
insert into Lives_in values ( 1018 , 140 , 225 ) ;
|
| 157 |
+
insert into Lives_in values ( 1020 , 160 , 405 ) ;
|
| 158 |
+
insert into Lives_in values ( 1021 , 160 , 405 ) ;
|
| 159 |
+
insert into Lives_in values ( 1022 , 100 , 153 ) ;
|
| 160 |
+
insert into Lives_in values ( 1023 , 160 , 317 ) ;
|
| 161 |
+
insert into Lives_in values ( 1024 , 100 , 151 ) ;
|
| 162 |
+
insert into Lives_in values ( 1025 , 160 , 317 ) ;
|
| 163 |
+
insert into Lives_in values ( 1027 , 140 , 208 ) ;
|
| 164 |
+
insert into Lives_in values ( 1028 , 110 , 48 ) ;
|
| 165 |
+
insert into Lives_in values ( 1029 , 140 , 418 ) ;
|
| 166 |
+
insert into Lives_in values ( 1030 , 109 , 211 ) ;
|
| 167 |
+
insert into Lives_in values ( 1031 , 100 , 112 ) ;
|
| 168 |
+
insert into Lives_in values ( 1032 , 109 , 105 ) ;
|
| 169 |
+
insert into Lives_in values ( 1033 , 117 , 3 ) ;
|
| 170 |
+
insert into Lives_in values ( 1034 , 160 , 105 ) ;
|
| 171 |
+
insert into Lives_in values ( 1035 , 100 , 124 ) ;
|
| 172 |
+
|
test_database/driving_school/schema.sql
ADDED
|
@@ -0,0 +1,148 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PRAGMA foreign_keys = ON;
|
| 2 |
+
|
| 3 |
+
CREATE TABLE `Addresses` (
|
| 4 |
+
`address_id` INTEGER PRIMARY KEY,
|
| 5 |
+
`line_1_number_building` VARCHAR(80),
|
| 6 |
+
`city` VARCHAR(50),
|
| 7 |
+
`zip_postcode` VARCHAR(20),
|
| 8 |
+
`state_province_county` VARCHAR(50),
|
| 9 |
+
`country` VARCHAR(50)
|
| 10 |
+
);
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
INSERT INTO Addresses (`address_id`, `line_1_number_building`, `city`, `zip_postcode`, `state_province_county`, `country`) VALUES (1, '3904 Stroman Passage', 'Port Melyssa', '14445', 'Georgia', 'USA');
|
| 14 |
+
INSERT INTO Addresses (`address_id`, `line_1_number_building`, `city`, `zip_postcode`, `state_province_county`, `country`) VALUES (2, '053 Quigley Island', 'Hagenesfurt', '22194', 'Kentucky', 'USA');
|
| 15 |
+
INSERT INTO Addresses (`address_id`, `line_1_number_building`, `city`, `zip_postcode`, `state_province_county`, `country`) VALUES (3, '00704 Zoe Alley', 'Lake Elaina', '08938', 'Georgia', 'USA');
|
| 16 |
+
INSERT INTO Addresses (`address_id`, `line_1_number_building`, `city`, `zip_postcode`, `state_province_county`, `country`) VALUES (4, '484 O''Hara Drive', 'Buckridgehaven', '00005', 'Oregon', 'USA');
|
| 17 |
+
INSERT INTO Addresses (`address_id`, `line_1_number_building`, `city`, `zip_postcode`, `state_province_county`, `country`) VALUES (5, '354 Frederik Ridge', 'Powlowskichester', '27559', 'Ohio', 'USA');
|
| 18 |
+
INSERT INTO Addresses (`address_id`, `line_1_number_building`, `city`, `zip_postcode`, `state_province_county`, `country`) VALUES (6, '376 Kallie Tunnel Apt. 784', 'Elviebury', '63768', 'Connecticut', 'USA');
|
| 19 |
+
INSERT INTO Addresses (`address_id`, `line_1_number_building`, `city`, `zip_postcode`, `state_province_county`, `country`) VALUES (7, '56461 Baumbach Well Suite 634', 'Lockmanfurt', '34975', 'Washington', 'USA');
|
| 20 |
+
INSERT INTO Addresses (`address_id`, `line_1_number_building`, `city`, `zip_postcode`, `state_province_county`, `country`) VALUES (8, '29085 Dejah Pine Suite 059', 'Lake Rafaela', '80376', 'WestVirginia', 'USA');
|
| 21 |
+
INSERT INTO Addresses (`address_id`, `line_1_number_building`, `city`, `zip_postcode`, `state_province_county`, `country`) VALUES (9, '535 Ariel Brook', 'Port Jackelinemouth', '85954', 'Maine', 'USA');
|
| 22 |
+
INSERT INTO Addresses (`address_id`, `line_1_number_building`, `city`, `zip_postcode`, `state_province_county`, `country`) VALUES (10, '2291 Larkin Ports', 'South Richieport', '95098', 'Idaho', 'USA');
|
| 23 |
+
INSERT INTO Addresses (`address_id`, `line_1_number_building`, `city`, `zip_postcode`, `state_province_county`, `country`) VALUES (11, '37698 Hahn Curve Apt. 572', 'South Eugene', '99903', 'Alabama', 'USA');
|
| 24 |
+
INSERT INTO Addresses (`address_id`, `line_1_number_building`, `city`, `zip_postcode`, `state_province_county`, `country`) VALUES (12, '7089 Mueller Forks', 'New Bernieceburgh', '38197', 'Louisiana', 'USA');
|
| 25 |
+
INSERT INTO Addresses (`address_id`, `line_1_number_building`, `city`, `zip_postcode`, `state_province_county`, `country`) VALUES (13, '43235 Jazmin Mountain Suite 251', 'Ericamouth', '75074', 'Louisiana', 'USA');
|
| 26 |
+
INSERT INTO Addresses (`address_id`, `line_1_number_building`, `city`, `zip_postcode`, `state_province_county`, `country`) VALUES (14, '4834 Schaefer Light Suite 947', 'Damianfort', '61121', 'Connecticut', 'USA');
|
| 27 |
+
INSERT INTO Addresses (`address_id`, `line_1_number_building`, `city`, `zip_postcode`, `state_province_county`, `country`) VALUES (15, '9260 Streich Mountain', 'West Edmondview', '43988', 'Kentucky', 'USA');
|
| 28 |
+
|
| 29 |
+
CREATE TABLE `Staff` (
|
| 30 |
+
`staff_id` INTEGER PRIMARY KEY,
|
| 31 |
+
`staff_address_id` INTEGER NOT NULL,
|
| 32 |
+
`nickname` VARCHAR(80),
|
| 33 |
+
`first_name` VARCHAR(80),
|
| 34 |
+
`middle_name` VARCHAR(80),
|
| 35 |
+
`last_name` VARCHAR(80),
|
| 36 |
+
`date_of_birth` DATETIME,
|
| 37 |
+
`date_joined_staff` DATETIME,
|
| 38 |
+
`date_left_staff` DATETIME,
|
| 39 |
+
FOREIGN KEY (`staff_address_id` ) REFERENCES `Addresses`(`address_id` )
|
| 40 |
+
);
|
| 41 |
+
|
| 42 |
+
INSERT INTO Staff (`staff_id`, `staff_address_id`, `nickname`, `first_name`, `middle_name`, `last_name`, `date_of_birth`, `date_joined_staff`, `date_left_staff`) VALUES (1, 14, 'thompson.constantin', 'Janessa', 'Amara', 'Sawayn', '2010-12-08 16:55:14', '2017-04-27 03:21:26', '2018-03-23 22:53:12');
|
| 43 |
+
INSERT INTO Staff (`staff_id`, `staff_address_id`, `nickname`, `first_name`, `middle_name`, `last_name`, `date_of_birth`, `date_joined_staff`, `date_left_staff`) VALUES (2, 3, 'santos45', 'Camylle', 'Icie', 'Weissnat', '2015-08-01 13:22:43', '2016-06-06 08:54:28', '2018-03-10 15:25:00');
|
| 44 |
+
INSERT INTO Staff (`staff_id`, `staff_address_id`, `nickname`, `first_name`, `middle_name`, `last_name`, `date_of_birth`, `date_joined_staff`, `date_left_staff`) VALUES (3, 5, 'ynader', 'Kaitlin', 'Stephania', 'Mertz', '1994-05-17 05:32:11', '2018-01-02 12:24:24', '2018-03-24 10:11:08');
|
| 45 |
+
INSERT INTO Staff (`staff_id`, `staff_address_id`, `nickname`, `first_name`, `middle_name`, `last_name`, `date_of_birth`, `date_joined_staff`, `date_left_staff`) VALUES (4, 1, 'lsenger', 'Rebekah', 'Sherwood', 'Hermann', '2003-01-16 06:29:11', '2017-10-21 17:20:57', '2018-03-04 17:13:53');
|
| 46 |
+
INSERT INTO Staff (`staff_id`, `staff_address_id`, `nickname`, `first_name`, `middle_name`, `last_name`, `date_of_birth`, `date_joined_staff`, `date_left_staff`) VALUES (5, 14, 'ledner.jamie', 'Jedidiah', 'Dejon', 'Herzog', '2015-08-10 11:37:39', '2016-05-16 20:56:53', '2018-03-08 04:23:14');
|
| 47 |
+
INSERT INTO Staff (`staff_id`, `staff_address_id`, `nickname`, `first_name`, `middle_name`, `last_name`, `date_of_birth`, `date_joined_staff`, `date_left_staff`) VALUES (6, 12, 'bogisich.geovany', 'Eulalia', 'Tre', 'Maggio', '1998-04-27 12:55:05', '2017-08-27 19:19:44', '2018-02-28 08:26:10');
|
| 48 |
+
INSERT INTO Staff (`staff_id`, `staff_address_id`, `nickname`, `first_name`, `middle_name`, `last_name`, `date_of_birth`, `date_joined_staff`, `date_left_staff`) VALUES (7, 13, 'weldon.kling', 'Queenie', 'Madelyn', 'Macejkovic', '2007-06-11 20:03:28', '2017-06-04 14:30:41', '2018-03-08 05:16:29');
|
| 49 |
+
INSERT INTO Staff (`staff_id`, `staff_address_id`, `nickname`, `first_name`, `middle_name`, `last_name`, `date_of_birth`, `date_joined_staff`, `date_left_staff`) VALUES (8, 1, 'gabe21', 'Titus', 'Duane', 'Durgan', '2005-05-02 06:23:36', '2016-05-26 00:55:07', '2018-03-05 18:30:12');
|
| 50 |
+
INSERT INTO Staff (`staff_id`, `staff_address_id`, `nickname`, `first_name`, `middle_name`, `last_name`, `date_of_birth`, `date_joined_staff`, `date_left_staff`) VALUES (9, 4, 'ymiller', 'Margie', 'Caesar', 'Doyle', '1995-06-03 08:09:17', '2017-12-22 03:06:32', '2018-03-08 12:31:16');
|
| 51 |
+
INSERT INTO Staff (`staff_id`, `staff_address_id`, `nickname`, `first_name`, `middle_name`, `last_name`, `date_of_birth`, `date_joined_staff`, `date_left_staff`) VALUES (10, 2, 'sbrown', 'Jaleel', 'Maiya', 'Rogahn', '1996-09-24 09:51:42', '2016-06-05 22:22:23', '2018-03-14 07:14:37');
|
| 52 |
+
INSERT INTO Staff (`staff_id`, `staff_address_id`, `nickname`, `first_name`, `middle_name`, `last_name`, `date_of_birth`, `date_joined_staff`, `date_left_staff`) VALUES (11, 1, 'nicholaus92', 'Winnifred', 'Liam', 'Jast', '2000-06-13 18:09:11', '2016-05-01 02:22:45', '2018-03-09 05:08:35');
|
| 53 |
+
INSERT INTO Staff (`staff_id`, `staff_address_id`, `nickname`, `first_name`, `middle_name`, `last_name`, `date_of_birth`, `date_joined_staff`, `date_left_staff`) VALUES (12, 7, 'edwin.hudson', 'Lincoln', 'Benny', 'Carroll', '1996-03-09 08:19:49', '2016-11-05 01:43:52', '2018-03-06 23:17:41');
|
| 54 |
+
INSERT INTO Staff (`staff_id`, `staff_address_id`, `nickname`, `first_name`, `middle_name`, `last_name`, `date_of_birth`, `date_joined_staff`, `date_left_staff`) VALUES (13, 1, 'norma73', 'Ernestina', 'Clarabelle', 'Mraz', '2004-05-19 14:11:13', '2016-11-13 20:44:23', '2018-02-26 17:56:31');
|
| 55 |
+
INSERT INTO Staff (`staff_id`, `staff_address_id`, `nickname`, `first_name`, `middle_name`, `last_name`, `date_of_birth`, `date_joined_staff`, `date_left_staff`) VALUES (14, 6, 'bkunze', 'Ludie', 'Ulices', 'Kuphal', '2000-11-16 06:55:12', '2017-08-30 15:08:37', '2018-03-02 01:48:15');
|
| 56 |
+
INSERT INTO Staff (`staff_id`, `staff_address_id`, `nickname`, `first_name`, `middle_name`, `last_name`, `date_of_birth`, `date_joined_staff`, `date_left_staff`) VALUES (15, 3, 'weissnat.vincenzo', 'Simeon', 'Mayra', 'Turner', '1997-03-29 10:55:45', '2017-02-20 18:45:20', '2018-03-01 17:10:03');
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
CREATE TABLE `Vehicles` (
|
| 60 |
+
`vehicle_id` INTEGER PRIMARY KEY,
|
| 61 |
+
`vehicle_details` VARCHAR(255)
|
| 62 |
+
);
|
| 63 |
+
INSERT INTO Vehicles (`vehicle_id`, `vehicle_details`) VALUES (1, 'Van');
|
| 64 |
+
INSERT INTO Vehicles (`vehicle_id`, `vehicle_details`) VALUES (2, 'Truck');
|
| 65 |
+
INSERT INTO Vehicles (`vehicle_id`, `vehicle_details`) VALUES (3, 'Car');
|
| 66 |
+
|
| 67 |
+
CREATE TABLE `Customers` (
|
| 68 |
+
`customer_id` INTEGER PRIMARY KEY,
|
| 69 |
+
`customer_address_id` INTEGER NOT NULL,
|
| 70 |
+
`customer_status_code` VARCHAR(15) NOT NULL,
|
| 71 |
+
`date_became_customer` DATETIME,
|
| 72 |
+
`date_of_birth` DATETIME,
|
| 73 |
+
`first_name` VARCHAR(80),
|
| 74 |
+
`last_name` VARCHAR(80),
|
| 75 |
+
`amount_outstanding` DOUBLE NULL,
|
| 76 |
+
`email_address` VARCHAR(250),
|
| 77 |
+
`phone_number` VARCHAR(255),
|
| 78 |
+
`cell_mobile_phone_number` VARCHAR(255),
|
| 79 |
+
FOREIGN KEY (`customer_address_id` ) REFERENCES `Addresses`(`address_id` )
|
| 80 |
+
);
|
| 81 |
+
INSERT INTO Customers (`customer_id`, `customer_address_id`, `customer_status_code`, `date_became_customer`, `date_of_birth`, `first_name`, `last_name`, `amount_outstanding`, `email_address`, `phone_number`, `cell_mobile_phone_number`) VALUES (1, 13, 'Bad Customer', '2016-05-11 17:03:48', '1998-12-15 13:24:40', 'Carole', 'Bernhard', '255', 'everette.goyette@example.org', '07278206718', '861-638-9797');
|
| 82 |
+
INSERT INTO Customers (`customer_id`, `customer_address_id`, `customer_status_code`, `date_became_customer`, `date_of_birth`, `first_name`, `last_name`, `amount_outstanding`, `email_address`, `phone_number`, `cell_mobile_phone_number`) VALUES (2, 10, 'Bad Customer', '2015-11-16 22:52:14', '1995-07-17 12:13:16', 'Genevieve', 'Terry', '7256', 'huel.jana@example.org', '+14(5)2351480248', '578-518-4785x612');
|
| 83 |
+
INSERT INTO Customers (`customer_id`, `customer_address_id`, `customer_status_code`, `date_became_customer`, `date_of_birth`, `first_name`, `last_name`, `amount_outstanding`, `email_address`, `phone_number`, `cell_mobile_phone_number`) VALUES (3, 10, 'Good Customer', '2016-04-08 00:28:15', '1994-06-21 01:34:56', 'Clara', 'Ortiz', '9443', 'hilario.sporer@example.org', '374-483-2758x85087', '1-197-686-2849x8761');
|
| 84 |
+
INSERT INTO Customers (`customer_id`, `customer_address_id`, `customer_status_code`, `date_became_customer`, `date_of_birth`, `first_name`, `last_name`, `amount_outstanding`, `email_address`, `phone_number`, `cell_mobile_phone_number`) VALUES (4, 8, 'Good Customer', '2016-07-22 15:53:44', '1993-02-07 05:40:26', 'Jordy', 'Tromp', '3751', 'afranecki@example.com', '218.550.1362', '081-097-3684');
|
| 85 |
+
INSERT INTO Customers (`customer_id`, `customer_address_id`, `customer_status_code`, `date_became_customer`, `date_of_birth`, `first_name`, `last_name`, `amount_outstanding`, `email_address`, `phone_number`, `cell_mobile_phone_number`) VALUES (5, 2, 'Bad Customer', '2017-11-12 04:34:44', '1991-02-10 00:42:17', 'Millie', 'Bruen', '5687', 'asha.kilback@example.org', '1-618-535-9750', '00659133944');
|
| 86 |
+
INSERT INTO Customers (`customer_id`, `customer_address_id`, `customer_status_code`, `date_became_customer`, `date_of_birth`, `first_name`, `last_name`, `amount_outstanding`, `email_address`, `phone_number`, `cell_mobile_phone_number`) VALUES (6, 9, 'Good Customer', '2017-04-16 05:12:21', '1993-03-08 08:48:42', 'Amya', 'Spinka', '3900', 'kozey.citlalli@example.org', '1-673-962-8158x7646', '(780)719-4206x033');
|
| 87 |
+
INSERT INTO Customers (`customer_id`, `customer_address_id`, `customer_status_code`, `date_became_customer`, `date_of_birth`, `first_name`, `last_name`, `amount_outstanding`, `email_address`, `phone_number`, `cell_mobile_phone_number`) VALUES (7, 1, 'Bad Customer', '2015-06-24 03:50:04', '1996-11-07 05:30:55', 'Marina', 'Koelpin', '8144', 'mayert.judy@example.com', '(662)490-3108', '848-099-2095x785');
|
| 88 |
+
INSERT INTO Customers (`customer_id`, `customer_address_id`, `customer_status_code`, `date_became_customer`, `date_of_birth`, `first_name`, `last_name`, `amount_outstanding`, `email_address`, `phone_number`, `cell_mobile_phone_number`) VALUES (8, 10, 'Bad Customer', '2017-10-05 14:15:46', '1998-09-18 04:45:01', 'Dianna', 'Trantow', '9500', 'kroberts@example.org', '206-054-0689x05861', '739-333-6966x187');
|
| 89 |
+
INSERT INTO Customers (`customer_id`, `customer_address_id`, `customer_status_code`, `date_became_customer`, `date_of_birth`, `first_name`, `last_name`, `amount_outstanding`, `email_address`, `phone_number`, `cell_mobile_phone_number`) VALUES (9, 12, 'Bad Customer', '2016-02-17 08:26:23', '1991-12-05 02:50:15', 'Leif', 'Mertz', '7093', 'mariela28@example.org', '753.921.0871', '1-387-258-1016x96963');
|
| 90 |
+
INSERT INTO Customers (`customer_id`, `customer_address_id`, `customer_status_code`, `date_became_customer`, `date_of_birth`, `first_name`, `last_name`, `amount_outstanding`, `email_address`, `phone_number`, `cell_mobile_phone_number`) VALUES (10, 1, 'Bad Customer', '2017-11-25 01:42:26', '1996-08-29 00:03:08', 'Rylan', 'Goodwin', '1000', 'nichole59@example.com', '1-387-884-0656', '+45(6)4872981083');
|
| 91 |
+
INSERT INTO Customers (`customer_id`, `customer_address_id`, `customer_status_code`, `date_became_customer`, `date_of_birth`, `first_name`, `last_name`, `amount_outstanding`, `email_address`, `phone_number`, `cell_mobile_phone_number`) VALUES (11, 13, 'Good Customer', '2016-11-30 10:37:41', '1994-05-07 01:32:16', 'Ray', 'Kohler', '9447', 'karina.carroll@example.net', '(297)122-0086', '577-584-4864');
|
| 92 |
+
INSERT INTO Customers (`customer_id`, `customer_address_id`, `customer_status_code`, `date_became_customer`, `date_of_birth`, `first_name`, `last_name`, `amount_outstanding`, `email_address`, `phone_number`, `cell_mobile_phone_number`) VALUES (12, 9, 'Bad Customer', '2016-05-13 07:38:23', '1993-07-09 11:11:36', 'Omer', 'Leuschke', '2099', 'myrl.lind@example.net', '417.136.2900x672', '200.830.8723');
|
| 93 |
+
INSERT INTO Customers (`customer_id`, `customer_address_id`, `customer_status_code`, `date_became_customer`, `date_of_birth`, `first_name`, `last_name`, `amount_outstanding`, `email_address`, `phone_number`, `cell_mobile_phone_number`) VALUES (13, 7, 'Good Customer', '2016-09-04 23:08:20', '1988-09-19 14:45:56', 'Sigrid', 'Schmeler', '2255', 'wehner.harold@example.com', '192-395-2411', '+57(9)4602098297');
|
| 94 |
+
INSERT INTO Customers (`customer_id`, `customer_address_id`, `customer_status_code`, `date_became_customer`, `date_of_birth`, `first_name`, `last_name`, `amount_outstanding`, `email_address`, `phone_number`, `cell_mobile_phone_number`) VALUES (14, 10, 'Good Customer', '2016-03-18 06:14:18', '1996-05-23 01:21:54', 'Estelle', 'Grant', '5494', 'ehowell@example.com', '1-875-045-0806', '1-401-108-8016x078');
|
| 95 |
+
INSERT INTO Customers (`customer_id`, `customer_address_id`, `customer_status_code`, `date_became_customer`, `date_of_birth`, `first_name`, `last_name`, `amount_outstanding`, `email_address`, `phone_number`, `cell_mobile_phone_number`) VALUES (15, 1, 'Bad Customer', '2015-09-25 13:59:21', '1996-08-30 06:17:50', 'Dameon', 'Sanford', '9332', 'kitty.hand@example.net', '(729)396-4354x3576', '(630)964-2426');
|
| 96 |
+
|
| 97 |
+
|
| 98 |
+
CREATE TABLE `Customer_Payments` (
|
| 99 |
+
`customer_id` INTEGER NOT NULL,
|
| 100 |
+
`datetime_payment` DATETIME NOT NULL,
|
| 101 |
+
`payment_method_code` VARCHAR(10) NOT NULL,
|
| 102 |
+
`amount_payment` DOUBLE NULL,
|
| 103 |
+
PRIMARY KEY (`customer_id`,`datetime_payment`),
|
| 104 |
+
FOREIGN KEY (`customer_id` ) REFERENCES `Customers`(`customer_id` )
|
| 105 |
+
);
|
| 106 |
+
CREATE TABLE `Lessons` (
|
| 107 |
+
`lesson_id` INTEGER PRIMARY KEY,
|
| 108 |
+
`customer_id` INTEGER NOT NULL,
|
| 109 |
+
`lesson_status_code` VARCHAR(15) NOT NULL,
|
| 110 |
+
`staff_id` INTEGER,
|
| 111 |
+
`vehicle_id` INTEGER NOT NULL,
|
| 112 |
+
`lesson_date` DATETIME,
|
| 113 |
+
`lesson_time` VARCHAR(10),
|
| 114 |
+
`price` DOUBLE NULL,
|
| 115 |
+
FOREIGN KEY (`vehicle_id` ) REFERENCES `Vehicles`(`vehicle_id` ),
|
| 116 |
+
FOREIGN KEY (`staff_id` ) REFERENCES `Staff`(`staff_id` ),
|
| 117 |
+
FOREIGN KEY (`customer_id` ) REFERENCES `Customers`(`customer_id` )
|
| 118 |
+
);
|
| 119 |
+
INSERT INTO Customer_Payments (`customer_id`, `datetime_payment`, `payment_method_code`, `amount_payment`) VALUES (11, '2018-02-05 18:44:46', 'Direct Debit', '9570.93');
|
| 120 |
+
INSERT INTO Customer_Payments (`customer_id`, `datetime_payment`, `payment_method_code`, `amount_payment`) VALUES (2, '2018-02-24 10:07:05', 'Direct Debit', '8180.26');
|
| 121 |
+
INSERT INTO Customer_Payments (`customer_id`, `datetime_payment`, `payment_method_code`, `amount_payment`) VALUES (14, '2018-02-27 20:08:53', 'Direct Debit', '4610.26');
|
| 122 |
+
INSERT INTO Customer_Payments (`customer_id`, `datetime_payment`, `payment_method_code`, `amount_payment`) VALUES (6, '2018-03-12 08:41:47', 'Direct Debit', '4032.33');
|
| 123 |
+
INSERT INTO Customer_Payments (`customer_id`, `datetime_payment`, `payment_method_code`, `amount_payment`) VALUES (3, '2018-02-06 13:35:58', 'Credit Card', '787.12');
|
| 124 |
+
INSERT INTO Customer_Payments (`customer_id`, `datetime_payment`, `payment_method_code`, `amount_payment`) VALUES (14, '2018-03-12 13:31:36', 'Credit Card', '6970.98');
|
| 125 |
+
INSERT INTO Customer_Payments (`customer_id`, `datetime_payment`, `payment_method_code`, `amount_payment`) VALUES (4, '2018-02-03 15:04:36', 'Direct Debit', '6311.37');
|
| 126 |
+
INSERT INTO Customer_Payments (`customer_id`, `datetime_payment`, `payment_method_code`, `amount_payment`) VALUES (7, '2018-02-15 16:38:49', 'Direct Debit', '4773.16');
|
| 127 |
+
INSERT INTO Customer_Payments (`customer_id`, `datetime_payment`, `payment_method_code`, `amount_payment`) VALUES (13, '2018-02-21 05:28:49', 'Credit Card', '7440.34');
|
| 128 |
+
INSERT INTO Customer_Payments (`customer_id`, `datetime_payment`, `payment_method_code`, `amount_payment`) VALUES (6, '2018-02-19 09:06:29', 'Direct Debit', '5475.26');
|
| 129 |
+
INSERT INTO Customer_Payments (`customer_id`, `datetime_payment`, `payment_method_code`, `amount_payment`) VALUES (2, '2018-03-20 21:38:41', 'Direct Debit', '1708.18');
|
| 130 |
+
INSERT INTO Customer_Payments (`customer_id`, `datetime_payment`, `payment_method_code`, `amount_payment`) VALUES (10, '2018-02-01 06:15:31', 'Direct Debit', '6782.84');
|
| 131 |
+
INSERT INTO Customer_Payments (`customer_id`, `datetime_payment`, `payment_method_code`, `amount_payment`) VALUES (1, '2018-03-18 13:48:13', 'Direct Debit', '9886.62');
|
| 132 |
+
INSERT INTO Customer_Payments (`customer_id`, `datetime_payment`, `payment_method_code`, `amount_payment`) VALUES (14, '2018-02-19 01:49:59', 'Credit Card', '3073.98');
|
| 133 |
+
INSERT INTO Customer_Payments (`customer_id`, `datetime_payment`, `payment_method_code`, `amount_payment`) VALUES (12, '2018-03-06 21:36:41', 'Credit Card', '9414.74');
|
| 134 |
+
INSERT INTO Lessons (`lesson_id`, `customer_id`, `lesson_status_code`, `staff_id`, `vehicle_id`, `lesson_date`, `lesson_time`, `price`) VALUES (1, 6, 'Cancelled', 8, 3, '2018-02-28 10:55:36', '5', '199');
|
| 135 |
+
INSERT INTO Lessons (`lesson_id`, `customer_id`, `lesson_status_code`, `staff_id`, `vehicle_id`, `lesson_date`, `lesson_time`, `price`) VALUES (2, 8, 'Cancelled', 14, 3, '2018-03-07 16:12:36', '6', '167');
|
| 136 |
+
INSERT INTO Lessons (`lesson_id`, `customer_id`, `lesson_status_code`, `staff_id`, `vehicle_id`, `lesson_date`, `lesson_time`, `price`) VALUES (3, 6, 'Cancelled', 11, 2, '2018-03-03 15:10:16', '3', '352');
|
| 137 |
+
INSERT INTO Lessons (`lesson_id`, `customer_id`, `lesson_status_code`, `staff_id`, `vehicle_id`, `lesson_date`, `lesson_time`, `price`) VALUES (4, 8, 'Completed', 1, 2, '2018-03-17 19:02:07', '9', '306');
|
| 138 |
+
INSERT INTO Lessons (`lesson_id`, `customer_id`, `lesson_status_code`, `staff_id`, `vehicle_id`, `lesson_date`, `lesson_time`, `price`) VALUES (5, 10, 'Completed', 3, 2, '2018-03-12 00:41:59', '9', '295');
|
| 139 |
+
INSERT INTO Lessons (`lesson_id`, `customer_id`, `lesson_status_code`, `staff_id`, `vehicle_id`, `lesson_date`, `lesson_time`, `price`) VALUES (6, 5, 'Completed', 4, 2, '2018-03-07 22:03:49', '6', '492');
|
| 140 |
+
INSERT INTO Lessons (`lesson_id`, `customer_id`, `lesson_status_code`, `staff_id`, `vehicle_id`, `lesson_date`, `lesson_time`, `price`) VALUES (7, 9, 'Cancelled', 11, 1, '2018-03-08 16:05:05', '9', '231');
|
| 141 |
+
INSERT INTO Lessons (`lesson_id`, `customer_id`, `lesson_status_code`, `staff_id`, `vehicle_id`, `lesson_date`, `lesson_time`, `price`) VALUES (8, 3, 'Completed', 8, 2, '2018-03-21 06:48:45', '2', '277');
|
| 142 |
+
INSERT INTO Lessons (`lesson_id`, `customer_id`, `lesson_status_code`, `staff_id`, `vehicle_id`, `lesson_date`, `lesson_time`, `price`) VALUES (9, 2, 'Completed', 4, 2, '2018-03-05 20:05:33', '9', '456');
|
| 143 |
+
INSERT INTO Lessons (`lesson_id`, `customer_id`, `lesson_status_code`, `staff_id`, `vehicle_id`, `lesson_date`, `lesson_time`, `price`) VALUES (10, 2, 'Cancelled', 5, 2, '2018-02-26 02:36:35', '4', '495');
|
| 144 |
+
INSERT INTO Lessons (`lesson_id`, `customer_id`, `lesson_status_code`, `staff_id`, `vehicle_id`, `lesson_date`, `lesson_time`, `price`) VALUES (11, 10, 'Cancelled', 15, 1, '2018-03-04 06:55:46', '2', '223');
|
| 145 |
+
INSERT INTO Lessons (`lesson_id`, `customer_id`, `lesson_status_code`, `staff_id`, `vehicle_id`, `lesson_date`, `lesson_time`, `price`) VALUES (12, 11, 'Cancelled', 12, 2, '2018-03-16 07:08:52', '2', '184');
|
| 146 |
+
INSERT INTO Lessons (`lesson_id`, `customer_id`, `lesson_status_code`, `staff_id`, `vehicle_id`, `lesson_date`, `lesson_time`, `price`) VALUES (13, 13, 'Completed', 12, 1, '2018-03-05 18:05:31', '5', '446');
|
| 147 |
+
INSERT INTO Lessons (`lesson_id`, `customer_id`, `lesson_status_code`, `staff_id`, `vehicle_id`, `lesson_date`, `lesson_time`, `price`) VALUES (14, 11, 'Cancelled', 11, 1, '2018-03-07 11:53:32', '5', '483');
|
| 148 |
+
INSERT INTO Lessons (`lesson_id`, `customer_id`, `lesson_status_code`, `staff_id`, `vehicle_id`, `lesson_date`, `lesson_time`, `price`) VALUES (15, 3, 'Cancelled', 8, 1, '2018-03-06 21:48:51', '9', '340');
|
test_database/e_government/e_government.sqlite
ADDED
|
Binary file (57.3 kB). View file
|
|
|
test_database/e_government/schema.sql
ADDED
|
@@ -0,0 +1,231 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PRAGMA foreign_keys = ON;
|
| 2 |
+
CREATE TABLE `Addresses` (
|
| 3 |
+
`address_id` INTEGER PRIMARY KEY,
|
| 4 |
+
`line_1_number_building` VARCHAR(80),
|
| 5 |
+
`town_city` VARCHAR(50),
|
| 6 |
+
`zip_postcode` VARCHAR(20),
|
| 7 |
+
`state_province_county` VARCHAR(50),
|
| 8 |
+
`country` VARCHAR(50)
|
| 9 |
+
);
|
| 10 |
+
INSERT INTO Addresses (`address_id`, `line_1_number_building`, `town_city`, `zip_postcode`, `state_province_county`, `country`) VALUES (1, '25518 Ortiz Centers', 'West Stacy', '193', 'NorthCarolina', 'USA');
|
| 11 |
+
INSERT INTO Addresses (`address_id`, `line_1_number_building`, `town_city`, `zip_postcode`, `state_province_county`, `country`) VALUES (2, '033 Stracke Parkways', 'Lake Meaghan', '227', 'Colorado', 'USA');
|
| 12 |
+
INSERT INTO Addresses (`address_id`, `line_1_number_building`, `town_city`, `zip_postcode`, `state_province_county`, `country`) VALUES (3, '269 Flatley Port Suite 062', 'Breanneberg', '527', 'NewHampshire', 'USA');
|
| 13 |
+
INSERT INTO Addresses (`address_id`, `line_1_number_building`, `town_city`, `zip_postcode`, `state_province_county`, `country`) VALUES (4, '90928 Garret Mall', 'New Gabe', '993', 'Missouri', 'USA');
|
| 14 |
+
INSERT INTO Addresses (`address_id`, `line_1_number_building`, `town_city`, `zip_postcode`, `state_province_county`, `country`) VALUES (5, '0399 Colby Extensions', 'Carrollland', '250', 'Kentucky', 'USA');
|
| 15 |
+
INSERT INTO Addresses (`address_id`, `line_1_number_building`, `town_city`, `zip_postcode`, `state_province_county`, `country`) VALUES (6, '538 Schaefer Highway Apt. 472', 'East Lamonttown', '202', 'Louisiana', 'USA');
|
| 16 |
+
INSERT INTO Addresses (`address_id`, `line_1_number_building`, `town_city`, `zip_postcode`, `state_province_county`, `country`) VALUES (7, '34580 Mireille Crescent Suite 776', 'Cletusbury', '215', 'Georgia', 'USA');
|
| 17 |
+
INSERT INTO Addresses (`address_id`, `line_1_number_building`, `town_city`, `zip_postcode`, `state_province_county`, `country`) VALUES (8, '6862 Kaitlyn Knolls Suite 309', 'New Katlyn', '021', 'Pennsylvania', 'USA');
|
| 18 |
+
INSERT INTO Addresses (`address_id`, `line_1_number_building`, `town_city`, `zip_postcode`, `state_province_county`, `country`) VALUES (9, '90236 Kunze Pass', 'Dangelohaven', '259', 'Louisiana', 'USA');
|
| 19 |
+
INSERT INTO Addresses (`address_id`, `line_1_number_building`, `town_city`, `zip_postcode`, `state_province_county`, `country`) VALUES (10, '51124 Marquardt Forks', 'Robertsberg', '023', 'NewYork', 'USA');
|
| 20 |
+
INSERT INTO Addresses (`address_id`, `line_1_number_building`, `town_city`, `zip_postcode`, `state_province_county`, `country`) VALUES (11, '3986 Bergstrom Stravenue', 'Lake Taryn', '332', 'Michigan', 'USA');
|
| 21 |
+
INSERT INTO Addresses (`address_id`, `line_1_number_building`, `town_city`, `zip_postcode`, `state_province_county`, `country`) VALUES (12, '43686 Kihn Corner', 'Feilmouth', '460', 'Vermont', 'USA');
|
| 22 |
+
INSERT INTO Addresses (`address_id`, `line_1_number_building`, `town_city`, `zip_postcode`, `state_province_county`, `country`) VALUES (13, '29446 Hauck Ridge', 'Lake Gertrudeton', '603', 'Montana', 'USA');
|
| 23 |
+
INSERT INTO Addresses (`address_id`, `line_1_number_building`, `town_city`, `zip_postcode`, `state_province_county`, `country`) VALUES (14, '326 Emile Turnpike Suite 964', 'East Clair', '515', 'Georgia', 'USA');
|
| 24 |
+
INSERT INTO Addresses (`address_id`, `line_1_number_building`, `town_city`, `zip_postcode`, `state_province_county`, `country`) VALUES (15, '266 Feeney Falls', 'West Brandynland', '320', 'Arkansas', 'USA');
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
CREATE TABLE `Services` (
|
| 28 |
+
`service_id` INTEGER PRIMARY KEY,
|
| 29 |
+
`service_type_code` VARCHAR(15) NOT NULL,
|
| 30 |
+
`service_name` VARCHAR(80),
|
| 31 |
+
`service_descriptio` VARCHAR(255)
|
| 32 |
+
);
|
| 33 |
+
INSERT INTO Services (`service_id`, `service_type_code`, `service_name`, `service_descriptio`) VALUES (1, 'Education', 'Education', 'Education');
|
| 34 |
+
INSERT INTO Services (`service_id`, `service_type_code`, `service_name`, `service_descriptio`) VALUES (2, 'Welfare', 'Health', 'Welfare');
|
| 35 |
+
INSERT INTO Services (`service_id`, `service_type_code`, `service_name`, `service_descriptio`) VALUES (3, 'Education', 'Education', 'Health');
|
| 36 |
+
INSERT INTO Services (`service_id`, `service_type_code`, `service_name`, `service_descriptio`) VALUES (4, 'Welfare', 'Education', 'Education');
|
| 37 |
+
INSERT INTO Services (`service_id`, `service_type_code`, `service_name`, `service_descriptio`) VALUES (5, 'Education', 'Education', 'Health');
|
| 38 |
+
INSERT INTO Services (`service_id`, `service_type_code`, `service_name`, `service_descriptio`) VALUES (6, 'Welfare', 'Welfare', 'Health');
|
| 39 |
+
INSERT INTO Services (`service_id`, `service_type_code`, `service_name`, `service_descriptio`) VALUES (7, 'Welfare', 'Welfare', 'Welfare');
|
| 40 |
+
INSERT INTO Services (`service_id`, `service_type_code`, `service_name`, `service_descriptio`) VALUES (8, 'Education', 'Education', 'Welfare');
|
| 41 |
+
INSERT INTO Services (`service_id`, `service_type_code`, `service_name`, `service_descriptio`) VALUES (9, 'Education', 'Health', 'Education');
|
| 42 |
+
INSERT INTO Services (`service_id`, `service_type_code`, `service_name`, `service_descriptio`) VALUES (10, 'Education', 'Health', 'Welfare');
|
| 43 |
+
INSERT INTO Services (`service_id`, `service_type_code`, `service_name`, `service_descriptio`) VALUES (11, 'Welfare', 'Education', 'Health');
|
| 44 |
+
INSERT INTO Services (`service_id`, `service_type_code`, `service_name`, `service_descriptio`) VALUES (12, 'Education', 'Education', 'Health');
|
| 45 |
+
INSERT INTO Services (`service_id`, `service_type_code`, `service_name`, `service_descriptio`) VALUES (13, 'Health', 'Welfare', 'Education');
|
| 46 |
+
INSERT INTO Services (`service_id`, `service_type_code`, `service_name`, `service_descriptio`) VALUES (14, 'Education', 'Education', 'Health');
|
| 47 |
+
INSERT INTO Services (`service_id`, `service_type_code`, `service_name`, `service_descriptio`) VALUES (15, 'Welfare', 'Health', 'Education');
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
CREATE TABLE `Forms` (
|
| 51 |
+
`form_id` INTEGER PRIMARY KEY,
|
| 52 |
+
`form_type_code` VARCHAR(15) NOT NULL,
|
| 53 |
+
`service_id` INTEGER,
|
| 54 |
+
`form_number` VARCHAR(50),
|
| 55 |
+
`form_name` VARCHAR(80),
|
| 56 |
+
`form_description` VARCHAR(255),
|
| 57 |
+
FOREIGN KEY (`service_id` ) REFERENCES `Services`(`service_id` )
|
| 58 |
+
);
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
INSERT INTO Forms (`form_id`, `form_type_code`, `service_id`, `form_number`, `form_name`, `form_description`) VALUES (1, 'Basic', 13, '8069', 'SSN Application', 'Form for SSN Application');
|
| 62 |
+
INSERT INTO Forms (`form_id`, `form_type_code`, `service_id`, `form_number`, `form_name`, `form_description`) VALUES (2, 'Complex', 9, '2675', 'Marriage Certificate', 'Marriage Certificate');
|
| 63 |
+
INSERT INTO Forms (`form_id`, `form_type_code`, `service_id`, `form_number`, `form_name`, `form_description`) VALUES (3, 'Complex', 2, '9837', 'Divorce Certificate', 'Divorce Certificate');
|
| 64 |
+
INSERT INTO Forms (`form_id`, `form_type_code`, `service_id`, `form_number`, `form_name`, `form_description`) VALUES (4, 'Complex', 14, '9173', 'Moving Form', 'Form for moving house');
|
| 65 |
+
INSERT INTO Forms (`form_id`, `form_type_code`, `service_id`, `form_number`, `form_name`, `form_description`) VALUES (5, 'Basic', 3, '6673', 'Account Application', 'Form for Account Application');
|
| 66 |
+
INSERT INTO Forms (`form_id`, `form_type_code`, `service_id`, `form_number`, `form_name`, `form_description`) VALUES (6, 'Complex', 7, '9130', 'Property Change', 'Form for Property Change');
|
| 67 |
+
|
| 68 |
+
|
| 69 |
+
CREATE TABLE `Individuals` (
|
| 70 |
+
`individual_id` INTEGER PRIMARY KEY,
|
| 71 |
+
`individual_first_name` VARCHAR(80),
|
| 72 |
+
`individual_middle_name` VARCHAR(80),
|
| 73 |
+
`inidividual_phone` VARCHAR(80),
|
| 74 |
+
`individual_email` VARCHAR(80),
|
| 75 |
+
`individual_address` VARCHAR(255),
|
| 76 |
+
`individual_last_name` VARCHAR(80)
|
| 77 |
+
);
|
| 78 |
+
INSERT INTO Individuals (`individual_id`, `individual_first_name`, `individual_middle_name`, `inidividual_phone`, `individual_email`, `individual_address`, `individual_last_name`) VALUES (1, 'Oscar', 'Hosea', '1-925-696-5232', 'amie.okuneva@example.org', '6956 Lia Plaza', 'Maggio');
|
| 79 |
+
INSERT INTO Individuals (`individual_id`, `individual_first_name`, `individual_middle_name`, `inidividual_phone`, `individual_email`, `individual_address`, `individual_last_name`) VALUES (2, 'Geovanny', 'Antonia', '075.012.6775x409', 'jamey.effertz@example.net', '69578 Baylee Prairie', 'Kerluke');
|
| 80 |
+
INSERT INTO Individuals (`individual_id`, `individual_first_name`, `individual_middle_name`, `inidividual_phone`, `individual_email`, `individual_address`, `individual_last_name`) VALUES (3, 'Casper', 'Mitchell', '1-818-062-2837', 'brandon.hermiston@example.com', '4555 Hane Orchard', 'Kutch');
|
| 81 |
+
INSERT INTO Individuals (`individual_id`, `individual_first_name`, `individual_middle_name`, `inidividual_phone`, `individual_email`, `individual_address`, `individual_last_name`) VALUES (4, 'Guy', 'Erick', '1-014-109-1968x40778', 'reinger.leola@example.net', '919 Cummerata Burgs Apt. 063', 'Wunsch');
|
| 82 |
+
INSERT INTO Individuals (`individual_id`, `individual_first_name`, `individual_middle_name`, `inidividual_phone`, `individual_email`, `individual_address`, `individual_last_name`) VALUES (5, 'Matteo', 'Rene', '634.660.8469', 'strosin.conor@example.org', '13223 Torphy Point', 'Schuster');
|
| 83 |
+
INSERT INTO Individuals (`individual_id`, `individual_first_name`, `individual_middle_name`, `inidividual_phone`, `individual_email`, `individual_address`, `individual_last_name`) VALUES (6, 'Nella', 'Tommie', '892.154.8492', 'austyn.effertz@example.org', '640 Johns Branch', 'Kertzmann');
|
| 84 |
+
INSERT INTO Individuals (`individual_id`, `individual_first_name`, `individual_middle_name`, `inidividual_phone`, `individual_email`, `individual_address`, `individual_last_name`) VALUES (7, 'Jeffery', 'Alberto', '317.382.4425x7924', 'august78@example.net', '384 Carter Flat Suite 896', 'Jacobs');
|
| 85 |
+
INSERT INTO Individuals (`individual_id`, `individual_first_name`, `individual_middle_name`, `inidividual_phone`, `individual_email`, `individual_address`, `individual_last_name`) VALUES (8, 'Shany', 'Colleen', '(030)939-8437x6141', 'mbahringer@example.com', '407 Sofia Knoll Suite 591', 'D''Amore');
|
| 86 |
+
INSERT INTO Individuals (`individual_id`, `individual_first_name`, `individual_middle_name`, `inidividual_phone`, `individual_email`, `individual_address`, `individual_last_name`) VALUES (9, 'Allene', 'Erwin', '1-797-739-0925', 'autumn.fisher@example.net', '3889 Theodore Radial Suite 795', 'Rutherford');
|
| 87 |
+
INSERT INTO Individuals (`individual_id`, `individual_first_name`, `individual_middle_name`, `inidividual_phone`, `individual_email`, `individual_address`, `individual_last_name`) VALUES (10, 'Lafayette', 'Raoul', '396.348.9925x9122', 'hickle.ewell@example.com', '3203 Hermann Port Apt. 429', 'Rau');
|
| 88 |
+
INSERT INTO Individuals (`individual_id`, `individual_first_name`, `individual_middle_name`, `inidividual_phone`, `individual_email`, `individual_address`, `individual_last_name`) VALUES (11, 'Daniella', 'Jamel', '(121)788-2928', 'ericka97@example.net', '4643 Ismael Pines Apt. 899', 'Rogahn');
|
| 89 |
+
INSERT INTO Individuals (`individual_id`, `individual_first_name`, `individual_middle_name`, `inidividual_phone`, `individual_email`, `individual_address`, `individual_last_name`) VALUES (12, 'Daron', 'Howard', '+94(0)3793557310', 'allison.lemke@example.org', '104 Bernier Loop', 'Hand');
|
| 90 |
+
INSERT INTO Individuals (`individual_id`, `individual_first_name`, `individual_middle_name`, `inidividual_phone`, `individual_email`, `individual_address`, `individual_last_name`) VALUES (13, 'Ressie', 'Alysson', '1-727-057-0382x999', 'delpha81@example.com', '5114 Jakubowski Port Apt. 758', 'Bradtke');
|
| 91 |
+
INSERT INTO Individuals (`individual_id`, `individual_first_name`, `individual_middle_name`, `inidividual_phone`, `individual_email`, `individual_address`, `individual_last_name`) VALUES (14, 'Katarina', 'Lacey', '(348)944-9700', 'zlehner@example.net', '16688 Powlowski Views Apt. 341', 'Dooley');
|
| 92 |
+
INSERT INTO Individuals (`individual_id`, `individual_first_name`, `individual_middle_name`, `inidividual_phone`, `individual_email`, `individual_address`, `individual_last_name`) VALUES (15, 'Jaylen', 'Jewell', '(468)679-4017', 'shanahan.julien@example.net', '06409 Beatty Glen Suite 000', 'O''Conner');
|
| 93 |
+
|
| 94 |
+
|
| 95 |
+
CREATE TABLE `Organizations` (
|
| 96 |
+
`organization_id` INTEGER PRIMARY KEY,
|
| 97 |
+
`date_formed` DATETIME,
|
| 98 |
+
`organization_name` VARCHAR(255),
|
| 99 |
+
`uk_vat_number` VARCHAR(20)
|
| 100 |
+
);
|
| 101 |
+
INSERT INTO Organizations (`organization_id`, `date_formed`, `organization_name`, `uk_vat_number`) VALUES (1, '2016-08-24 23:52:48', 'Labour Party', '2157');
|
| 102 |
+
INSERT INTO Organizations (`organization_id`, `date_formed`, `organization_name`, `uk_vat_number`) VALUES (2, '2016-10-01 12:42:01', 'Plaid Cymru', '7459');
|
| 103 |
+
INSERT INTO Organizations (`organization_id`, `date_formed`, `organization_name`, `uk_vat_number`) VALUES (3, '2016-10-09 07:22:53', 'Conservative', '1211');
|
| 104 |
+
INSERT INTO Organizations (`organization_id`, `date_formed`, `organization_name`, `uk_vat_number`) VALUES (4, '2017-04-06 23:59:16', 'Liberal Democrats', '7237');
|
| 105 |
+
INSERT INTO Organizations (`organization_id`, `date_formed`, `organization_name`, `uk_vat_number`) VALUES (5, '2016-07-28 01:45:10', 'Green Party', '4271');
|
| 106 |
+
|
| 107 |
+
|
| 108 |
+
CREATE TABLE `Parties` (
|
| 109 |
+
`party_id` INTEGER PRIMARY KEY,
|
| 110 |
+
`payment_method_code` VARCHAR(15) NOT NULL,
|
| 111 |
+
`party_phone` VARCHAR(80),
|
| 112 |
+
`party_email` VARCHAR(80)
|
| 113 |
+
);
|
| 114 |
+
INSERT INTO Parties (`party_id`, `payment_method_code`, `party_phone`, `party_email`) VALUES (1, 'Cheque', '05374656172', 'enrico09@example.com');
|
| 115 |
+
INSERT INTO Parties (`party_id`, `payment_method_code`, `party_phone`, `party_email`) VALUES (2, 'Credit Card', '1-525-947-7867x51521', 'brakus.aliya@example.com');
|
| 116 |
+
INSERT INTO Parties (`party_id`, `payment_method_code`, `party_phone`, `party_email`) VALUES (3, 'Cheque', '1-606-232-3728x3568', 'frida57@example.org');
|
| 117 |
+
INSERT INTO Parties (`party_id`, `payment_method_code`, `party_phone`, `party_email`) VALUES (4, 'Cash', '019-302-5166', 'wuckert.misty@example.com');
|
| 118 |
+
INSERT INTO Parties (`party_id`, `payment_method_code`, `party_phone`, `party_email`) VALUES (5, 'Cheque', '529-074-5348', 'alanna.boehm@example.net');
|
| 119 |
+
INSERT INTO Parties (`party_id`, `payment_method_code`, `party_phone`, `party_email`) VALUES (6, 'Credit Card', '1-950-874-1693x65923', 'daniel.charity@example.net');
|
| 120 |
+
INSERT INTO Parties (`party_id`, `payment_method_code`, `party_phone`, `party_email`) VALUES (7, 'Direct Debit', '112-477-4433x137', 'lucinda83@example.org');
|
| 121 |
+
INSERT INTO Parties (`party_id`, `payment_method_code`, `party_phone`, `party_email`) VALUES (8, 'Cash', '(919)169-1514x55820', 'erick.mills@example.com');
|
| 122 |
+
INSERT INTO Parties (`party_id`, `payment_method_code`, `party_phone`, `party_email`) VALUES (9, 'Cash', '04177934231', 'evie97@example.org');
|
| 123 |
+
INSERT INTO Parties (`party_id`, `payment_method_code`, `party_phone`, `party_email`) VALUES (10, 'Credit Card', '(211)528-0733x8063', 'hilll.elyssa@example.net');
|
| 124 |
+
INSERT INTO Parties (`party_id`, `payment_method_code`, `party_phone`, `party_email`) VALUES (11, 'Credit Card', '1-985-957-5462', 'jamir.hyatt@example.net');
|
| 125 |
+
INSERT INTO Parties (`party_id`, `payment_method_code`, `party_phone`, `party_email`) VALUES (12, 'Cheque', '1-386-339-9244', 'eden67@example.net');
|
| 126 |
+
INSERT INTO Parties (`party_id`, `payment_method_code`, `party_phone`, `party_email`) VALUES (13, 'Direct Debit', '186-726-9855', 'ora.hyatt@example.net');
|
| 127 |
+
INSERT INTO Parties (`party_id`, `payment_method_code`, `party_phone`, `party_email`) VALUES (14, 'Cash', '971-607-7001x08626', 'rhauck@example.org');
|
| 128 |
+
INSERT INTO Parties (`party_id`, `payment_method_code`, `party_phone`, `party_email`) VALUES (15, 'Cash', '231.232.0099', 'noe.ziemann@example.org');
|
| 129 |
+
|
| 130 |
+
|
| 131 |
+
CREATE TABLE `Organization_Contact_Individuals` (
|
| 132 |
+
`individual_id` INTEGER NOT NULL,
|
| 133 |
+
`organization_id` INTEGER NOT NULL,
|
| 134 |
+
`date_contact_from` DATETIME NOT NULL,
|
| 135 |
+
`date_contact_to` DATETIME,
|
| 136 |
+
PRIMARY KEY (`individual_id`,`organization_id` ),
|
| 137 |
+
FOREIGN KEY (`organization_id` ) REFERENCES `Organizations`(`organization_id` ),
|
| 138 |
+
FOREIGN KEY (`individual_id` ) REFERENCES `Individuals`(`individual_id` )
|
| 139 |
+
);
|
| 140 |
+
INSERT INTO Organization_Contact_Individuals (`individual_id`, `organization_id`, `date_contact_from`, `date_contact_to`) VALUES (13, 1, '2016-08-16 22:09:11', '2018-03-25 10:27:18');
|
| 141 |
+
INSERT INTO Organization_Contact_Individuals (`individual_id`, `organization_id`, `date_contact_from`, `date_contact_to`) VALUES (11, 1, '2017-03-02 00:00:16', '2018-03-06 05:39:43');
|
| 142 |
+
INSERT INTO Organization_Contact_Individuals (`individual_id`, `organization_id`, `date_contact_from`, `date_contact_to`) VALUES (10, 3, '2016-08-23 03:24:24', '2018-03-12 07:55:28');
|
| 143 |
+
INSERT INTO Organization_Contact_Individuals (`individual_id`, `organization_id`, `date_contact_from`, `date_contact_to`) VALUES (10, 4, '2017-08-08 12:05:25', '2018-03-04 09:30:20');
|
| 144 |
+
INSERT INTO Organization_Contact_Individuals (`individual_id`, `organization_id`, `date_contact_from`, `date_contact_to`) VALUES (13, 3, '2016-04-21 03:55:35', '2018-03-06 21:22:49');
|
| 145 |
+
INSERT INTO Organization_Contact_Individuals (`individual_id`, `organization_id`, `date_contact_from`, `date_contact_to`) VALUES (5, 4, '2016-08-27 16:55:59', '2018-03-18 05:47:36');
|
| 146 |
+
INSERT INTO Organization_Contact_Individuals (`individual_id`, `organization_id`, `date_contact_from`, `date_contact_to`) VALUES (9, 1, '2017-01-06 09:38:54', '2018-02-27 09:20:42');
|
| 147 |
+
INSERT INTO Organization_Contact_Individuals (`individual_id`, `organization_id`, `date_contact_from`, `date_contact_to`) VALUES (11, 5, '2017-09-14 08:24:22', '2018-03-24 16:54:36');
|
| 148 |
+
INSERT INTO Organization_Contact_Individuals (`individual_id`, `organization_id`, `date_contact_from`, `date_contact_to`) VALUES (13, 2, '2016-09-16 13:53:24', '2018-03-18 16:33:16');
|
| 149 |
+
INSERT INTO Organization_Contact_Individuals (`individual_id`, `organization_id`, `date_contact_from`, `date_contact_to`) VALUES (6, 3, '2017-05-24 11:38:02', '2018-03-24 03:43:00');
|
| 150 |
+
INSERT INTO Organization_Contact_Individuals (`individual_id`, `organization_id`, `date_contact_from`, `date_contact_to`) VALUES (6, 5, '2016-05-15 13:16:35', '2018-03-05 19:29:24');
|
| 151 |
+
INSERT INTO Organization_Contact_Individuals (`individual_id`, `organization_id`, `date_contact_from`, `date_contact_to`) VALUES (7, 2, '2016-11-24 03:57:30', '2018-03-07 16:40:29');
|
| 152 |
+
INSERT INTO Organization_Contact_Individuals (`individual_id`, `organization_id`, `date_contact_from`, `date_contact_to`) VALUES (14, 5, '2017-02-19 08:51:41', '2018-03-23 22:06:48');
|
| 153 |
+
INSERT INTO Organization_Contact_Individuals (`individual_id`, `organization_id`, `date_contact_from`, `date_contact_to`) VALUES (9, 2, '2016-04-30 14:39:31', '2018-03-20 00:33:08');
|
| 154 |
+
INSERT INTO Organization_Contact_Individuals (`individual_id`, `organization_id`, `date_contact_from`, `date_contact_to`) VALUES (8, 3, '2016-07-26 09:08:15', '2018-03-02 03:50:51');
|
| 155 |
+
|
| 156 |
+
|
| 157 |
+
|
| 158 |
+
CREATE TABLE `Party_Addresses` (
|
| 159 |
+
`party_id` INTEGER NOT NULL,
|
| 160 |
+
`address_id` INTEGER NOT NULL,
|
| 161 |
+
`date_address_from` DATETIME NOT NULL,
|
| 162 |
+
`address_type_code` VARCHAR(15) NOT NULL,
|
| 163 |
+
`date_address_to` DATETIME,
|
| 164 |
+
PRIMARY KEY (`party_id`, `address_id`),
|
| 165 |
+
FOREIGN KEY (`address_id` ) REFERENCES `Addresses`(`address_id` ),
|
| 166 |
+
FOREIGN KEY (`party_id` ) REFERENCES `Parties`(`party_id` )
|
| 167 |
+
);
|
| 168 |
+
INSERT INTO Party_Addresses (`party_id`, `address_id`, `date_address_from`, `address_type_code`, `date_address_to`) VALUES (10, 8, '2016-04-08 22:40:02', 'Residence', '2018-02-28 23:14:41');
|
| 169 |
+
INSERT INTO Party_Addresses (`party_id`, `address_id`, `date_address_from`, `address_type_code`, `date_address_to`) VALUES (15, 5, '2016-05-20 23:22:06', 'Billing', '2018-01-29 16:48:01');
|
| 170 |
+
INSERT INTO Party_Addresses (`party_id`, `address_id`, `date_address_from`, `address_type_code`, `date_address_to`) VALUES (4, 4, '2016-05-14 15:13:30', 'Delivery', '2018-02-25 19:39:16');
|
| 171 |
+
INSERT INTO Party_Addresses (`party_id`, `address_id`, `date_address_from`, `address_type_code`, `date_address_to`) VALUES (4, 10, '2017-02-21 12:12:50', 'Residence', '2018-03-11 12:12:52');
|
| 172 |
+
INSERT INTO Party_Addresses (`party_id`, `address_id`, `date_address_from`, `address_type_code`, `date_address_to`) VALUES (5, 10, '2016-04-04 03:57:02', 'Billing', '2018-02-11 06:11:11');
|
| 173 |
+
INSERT INTO Party_Addresses (`party_id`, `address_id`, `date_address_from`, `address_type_code`, `date_address_to`) VALUES (11, 2, '2016-07-21 08:39:50', 'Billing', '2018-03-03 22:17:09');
|
| 174 |
+
INSERT INTO Party_Addresses (`party_id`, `address_id`, `date_address_from`, `address_type_code`, `date_address_to`) VALUES (3, 2, '2016-06-09 00:48:07', 'Billing', '2018-03-11 00:08:16');
|
| 175 |
+
INSERT INTO Party_Addresses (`party_id`, `address_id`, `date_address_from`, `address_type_code`, `date_address_to`) VALUES (5, 7, '2016-09-05 11:53:36', 'Billing', '2018-03-07 13:28:44');
|
| 176 |
+
INSERT INTO Party_Addresses (`party_id`, `address_id`, `date_address_from`, `address_type_code`, `date_address_to`) VALUES (5, 4, '2016-05-24 08:11:04', 'Residence', '2018-03-04 08:34:45');
|
| 177 |
+
INSERT INTO Party_Addresses (`party_id`, `address_id`, `date_address_from`, `address_type_code`, `date_address_to`) VALUES (8, 7, '2017-02-07 02:51:33', 'Residence', '2018-02-27 09:21:41');
|
| 178 |
+
INSERT INTO Party_Addresses (`party_id`, `address_id`, `date_address_from`, `address_type_code`, `date_address_to`) VALUES (15, 2, '2016-09-23 19:59:54', 'Billing', '2018-03-01 13:51:27');
|
| 179 |
+
INSERT INTO Party_Addresses (`party_id`, `address_id`, `date_address_from`, `address_type_code`, `date_address_to`) VALUES (10, 1, '2016-11-02 02:06:07', 'Delivery', '2018-02-02 00:37:45');
|
| 180 |
+
INSERT INTO Party_Addresses (`party_id`, `address_id`, `date_address_from`, `address_type_code`, `date_address_to`) VALUES (11, 5, '2017-01-07 12:02:39', 'Residence', '2018-02-09 08:47:26');
|
| 181 |
+
INSERT INTO Party_Addresses (`party_id`, `address_id`, `date_address_from`, `address_type_code`, `date_address_to`) VALUES (6, 9, '2016-12-21 03:54:15', 'Delivery', '2018-02-25 07:34:22');
|
| 182 |
+
INSERT INTO Party_Addresses (`party_id`, `address_id`, `date_address_from`, `address_type_code`, `date_address_to`) VALUES (5, 13, '2016-04-15 03:54:06', 'Billing', '2018-03-23 17:52:47');
|
| 183 |
+
|
| 184 |
+
|
| 185 |
+
CREATE TABLE `Party_Forms` (
|
| 186 |
+
`party_id` INTEGER NOT NULL,
|
| 187 |
+
`form_id` INTEGER NOT NULL,
|
| 188 |
+
`date_completion_started` DATETIME NOT NULL,
|
| 189 |
+
`form_status_code` VARCHAR(15) NOT NULL,
|
| 190 |
+
`date_fully_completed` DATETIME,
|
| 191 |
+
PRIMARY KEY (`party_id`, `form_id`),
|
| 192 |
+
FOREIGN KEY (`party_id` ) REFERENCES `Parties`(`party_id` ),
|
| 193 |
+
FOREIGN KEY (`form_id` ) REFERENCES `Forms`(`form_id` )
|
| 194 |
+
);
|
| 195 |
+
CREATE TABLE `Party_Services` (
|
| 196 |
+
`booking_id` INTEGER NOT NULL ,
|
| 197 |
+
`customer_id` INTEGER NOT NULL,
|
| 198 |
+
`service_id` INTEGER NOT NULL,
|
| 199 |
+
`service_datetime` DATETIME NOT NULL,
|
| 200 |
+
`booking_made_date` DATETIME,
|
| 201 |
+
FOREIGN KEY (`service_id` ) REFERENCES `Services`(`service_id` ),
|
| 202 |
+
FOREIGN KEY (`customer_id` ) REFERENCES `Parties`(`party_id` )
|
| 203 |
+
);
|
| 204 |
+
INSERT INTO Party_Forms (`party_id`, `form_id`, `date_completion_started`, `form_status_code`, `date_fully_completed`) VALUES (2, 4, '2017-12-17 11:29:47', 'Completed', '2018-02-11 16:46:10');
|
| 205 |
+
INSERT INTO Party_Forms (`party_id`, `form_id`, `date_completion_started`, `form_status_code`, `date_fully_completed`) VALUES (15, 4, '2017-12-16 15:25:48', 'Partially Completed', '2018-02-18 16:09:04');
|
| 206 |
+
INSERT INTO Party_Forms (`party_id`, `form_id`, `date_completion_started`, `form_status_code`, `date_fully_completed`) VALUES (8, 5, '2017-12-09 21:26:11', 'Partially Completed', '2018-02-05 16:16:58');
|
| 207 |
+
INSERT INTO Party_Forms (`party_id`, `form_id`, `date_completion_started`, `form_status_code`, `date_fully_completed`) VALUES (6, 2, '2017-12-04 16:57:31', 'Partially Completed', '2018-01-28 22:29:07');
|
| 208 |
+
INSERT INTO Party_Forms (`party_id`, `form_id`, `date_completion_started`, `form_status_code`, `date_fully_completed`) VALUES (7, 2, '2017-11-30 18:49:37', 'Not Started', '2018-02-21 17:59:08');
|
| 209 |
+
INSERT INTO Party_Forms (`party_id`, `form_id`, `date_completion_started`, `form_status_code`, `date_fully_completed`) VALUES (11, 5, '2017-12-20 01:10:33', 'Not Started', '2018-02-10 14:07:46');
|
| 210 |
+
INSERT INTO Party_Forms (`party_id`, `form_id`, `date_completion_started`, `form_status_code`, `date_fully_completed`) VALUES (11, 3, '2017-12-18 01:32:49', 'Not Started', '2018-02-04 05:57:01');
|
| 211 |
+
INSERT INTO Party_Forms (`party_id`, `form_id`, `date_completion_started`, `form_status_code`, `date_fully_completed`) VALUES (8, 6, '2017-12-07 18:17:01', 'Work In Progress', '2018-02-15 23:09:42');
|
| 212 |
+
INSERT INTO Party_Forms (`party_id`, `form_id`, `date_completion_started`, `form_status_code`, `date_fully_completed`) VALUES (5, 6, '2017-12-05 19:48:45', 'Partially Completed', '2018-01-30 09:33:37');
|
| 213 |
+
INSERT INTO Party_Forms (`party_id`, `form_id`, `date_completion_started`, `form_status_code`, `date_fully_completed`) VALUES (7, 6, '2017-11-29 03:11:38', 'Not Started', '2018-02-01 10:26:47');
|
| 214 |
+
INSERT INTO Party_Forms (`party_id`, `form_id`, `date_completion_started`, `form_status_code`, `date_fully_completed`) VALUES (13, 3, '2017-12-04 18:20:10', 'Work In Progress', '2018-01-31 17:09:32');
|
| 215 |
+
INSERT INTO Party_Forms (`party_id`, `form_id`, `date_completion_started`, `form_status_code`, `date_fully_completed`) VALUES (2, 5, '2017-11-26 09:09:29', 'Not Started', '2018-02-09 09:49:09');
|
| 216 |
+
INSERT INTO Party_Forms (`party_id`, `form_id`, `date_completion_started`, `form_status_code`, `date_fully_completed`) VALUES (9, 2, '2017-11-27 11:57:03', 'Completed', '2018-02-15 13:15:25');
|
| 217 |
+
INSERT INTO Party_Services (`booking_id`, `customer_id`, `service_id`, `service_datetime`, `booking_made_date`) VALUES (1, 10, 12, '2018-03-10 22:43:12', '2018-03-23 23:56:51');
|
| 218 |
+
INSERT INTO Party_Services (`booking_id`, `customer_id`, `service_id`, `service_datetime`, `booking_made_date`) VALUES (2, 14, 11, '2018-03-05 15:06:23', '2018-03-25 11:08:29');
|
| 219 |
+
INSERT INTO Party_Services (`booking_id`, `customer_id`, `service_id`, `service_datetime`, `booking_made_date`) VALUES (3, 4, 7, '2018-03-08 10:39:29', '2018-03-24 11:09:52');
|
| 220 |
+
INSERT INTO Party_Services (`booking_id`, `customer_id`, `service_id`, `service_datetime`, `booking_made_date`) VALUES (4, 13, 3, '2018-03-08 23:52:44', '2018-03-25 12:56:09');
|
| 221 |
+
INSERT INTO Party_Services (`booking_id`, `customer_id`, `service_id`, `service_datetime`, `booking_made_date`) VALUES (5, 2, 6, '2018-03-17 18:35:26', '2018-03-25 02:57:32');
|
| 222 |
+
INSERT INTO Party_Services (`booking_id`, `customer_id`, `service_id`, `service_datetime`, `booking_made_date`) VALUES (6, 14, 6, '2018-03-17 08:16:30', '2018-03-24 06:50:50');
|
| 223 |
+
INSERT INTO Party_Services (`booking_id`, `customer_id`, `service_id`, `service_datetime`, `booking_made_date`) VALUES (7, 6, 12, '2018-03-15 09:48:27', '2018-03-25 11:52:29');
|
| 224 |
+
INSERT INTO Party_Services (`booking_id`, `customer_id`, `service_id`, `service_datetime`, `booking_made_date`) VALUES (8, 3, 6, '2018-03-01 18:31:32', '2018-03-24 07:55:33');
|
| 225 |
+
INSERT INTO Party_Services (`booking_id`, `customer_id`, `service_id`, `service_datetime`, `booking_made_date`) VALUES (9, 5, 7, '2018-03-05 13:02:22', '2018-03-24 10:17:36');
|
| 226 |
+
INSERT INTO Party_Services (`booking_id`, `customer_id`, `service_id`, `service_datetime`, `booking_made_date`) VALUES (10, 15, 13, '2018-02-28 16:29:04', '2018-03-24 09:20:46');
|
| 227 |
+
INSERT INTO Party_Services (`booking_id`, `customer_id`, `service_id`, `service_datetime`, `booking_made_date`) VALUES (11, 13, 12, '2018-03-09 07:27:30', '2018-03-25 15:09:54');
|
| 228 |
+
INSERT INTO Party_Services (`booking_id`, `customer_id`, `service_id`, `service_datetime`, `booking_made_date`) VALUES (12, 9, 1, '2018-03-19 14:38:29', '2018-03-24 18:05:07');
|
| 229 |
+
INSERT INTO Party_Services (`booking_id`, `customer_id`, `service_id`, `service_datetime`, `booking_made_date`) VALUES (13, 3, 11, '2018-03-14 18:53:35', '2018-03-24 12:21:20');
|
| 230 |
+
INSERT INTO Party_Services (`booking_id`, `customer_id`, `service_id`, `service_datetime`, `booking_made_date`) VALUES (14, 3, 5, '2018-03-18 17:53:02', '2018-03-24 22:12:30');
|
| 231 |
+
INSERT INTO Party_Services (`booking_id`, `customer_id`, `service_id`, `service_datetime`, `booking_made_date`) VALUES (15, 12, 6, '2018-03-01 04:41:58', '2018-03-25 16:47:47');
|
test_database/employee_hire_evaluation/employee_hire_evaluation.sqlite
ADDED
|
Binary file (36.9 kB). View file
|
|
|
test_database/employee_hire_evaluation/schema.sql
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
PRAGMA foreign_keys = ON;
|
| 3 |
+
|
| 4 |
+
CREATE TABLE "employee" (
|
| 5 |
+
"Employee_ID" int,
|
| 6 |
+
"Name" text,
|
| 7 |
+
"Age" int,
|
| 8 |
+
"City" text,
|
| 9 |
+
PRIMARY KEY ("Employee_ID")
|
| 10 |
+
);
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
INSERT INTO "employee" VALUES (1, "George Chuter",23,"Bristol");
|
| 14 |
+
INSERT INTO "employee" VALUES (2,"Lee Mears",29,"Bath");
|
| 15 |
+
INSERT INTO "employee" VALUES (3,"Mark Regan",43,"Bristol");
|
| 16 |
+
INSERT INTO "employee" VALUES (4,"Jason Hobson",30,"Bristol");
|
| 17 |
+
INSERT INTO "employee" VALUES (5,"Tim Payne",29,"Wasps");
|
| 18 |
+
INSERT INTO "employee" VALUES (6,"Andrew Sheridan",28,"Sale");
|
| 19 |
+
INSERT INTO "employee" VALUES (7,"Matt Stevens",29,"Bath");
|
| 20 |
+
INSERT INTO "employee" VALUES (8,"Phil Vickery",40,"Wasps");
|
| 21 |
+
INSERT INTO "employee" VALUES (9,"Steve Borthwick",32,"Bath");
|
| 22 |
+
INSERT INTO "employee" VALUES (10,"Louis Deacon",36,"Leicester");
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
CREATE TABLE "shop" (
|
| 27 |
+
"Shop_ID" int,
|
| 28 |
+
"Name" text,
|
| 29 |
+
"Location" text,
|
| 30 |
+
"District" text,
|
| 31 |
+
"Number_products" int,
|
| 32 |
+
"Manager_name" text,
|
| 33 |
+
PRIMARY KEY ("Shop_ID")
|
| 34 |
+
);
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
INSERT INTO "shop" VALUES (1,"FC Haka","Valkeakoski","Tehtaan kenttä","3516","Olli Huttunen");
|
| 38 |
+
INSERT INTO "shop" VALUES (2,"HJK","Helsinki","Finnair Stadium","10770","Antti Muurinen");
|
| 39 |
+
INSERT INTO "shop" VALUES (3,"FC Honka","Espoo","Tapiolan Urheilupuisto","6000","Mika Lehkosuo");
|
| 40 |
+
INSERT INTO "shop" VALUES (4,"FC Inter","Turku","Veritas Stadion","10000","Job Dragtsma");
|
| 41 |
+
INSERT INTO "shop" VALUES (5,"FF Jaro","Jakobstad","Jakobstads Centralplan","5000","Mika Laurikainen");
|
| 42 |
+
INSERT INTO "shop" VALUES (6,"FC KooTeePee","Kotka","Arto Tolsa Areena","4780","Tommi Kautonen");
|
| 43 |
+
INSERT INTO "shop" VALUES (7,"KuPS","Kuopio","Magnum Areena","3500","Kai Nyyssönen");
|
| 44 |
+
INSERT INTO "shop" VALUES (8,"FC Lahti","Lahti","Lahden Stadion","15000","Ilkka Mäkelä");
|
| 45 |
+
INSERT INTO "shop" VALUES (9,"IFK Mariehamn","Mariehamn","Wiklöf Holding Arena","1600","Pekka Lyyski");
|
| 46 |
+
|
| 47 |
+
|
| 48 |
+
CREATE TABLE "hiring" (
|
| 49 |
+
"Shop_ID" int,
|
| 50 |
+
"Employee_ID" int,
|
| 51 |
+
"Start_from" text,
|
| 52 |
+
"Is_full_time" bool,
|
| 53 |
+
PRIMARY KEY ("Employee_ID"),
|
| 54 |
+
FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`),
|
| 55 |
+
FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)
|
| 56 |
+
);
|
| 57 |
+
|
| 58 |
+
INSERT INTO "hiring" VALUES (1,1,"2009","T");
|
| 59 |
+
INSERT INTO "hiring" VALUES (1,2,"2003","T");
|
| 60 |
+
INSERT INTO "hiring" VALUES (8,3,"2011","F");
|
| 61 |
+
INSERT INTO "hiring" VALUES (4,4,"2012","T");
|
| 62 |
+
INSERT INTO "hiring" VALUES (5,5,"2013","T");
|
| 63 |
+
INSERT INTO "hiring" VALUES (2,6,"2010","F");
|
| 64 |
+
INSERT INTO "hiring" VALUES (6,7,"2008","T");
|
| 65 |
+
|
| 66 |
+
|
| 67 |
+
|
| 68 |
+
|
| 69 |
+
CREATE TABLE "evaluation" (
|
| 70 |
+
"Employee_ID" text,
|
| 71 |
+
"Year_awarded" text,
|
| 72 |
+
"Bonus" real,
|
| 73 |
+
PRIMARY KEY ("Employee_ID","Year_awarded"),
|
| 74 |
+
FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`)
|
| 75 |
+
);
|
| 76 |
+
|
| 77 |
+
|
| 78 |
+
INSERT INTO "evaluation" VALUES (1,"2011", 3000);
|
| 79 |
+
INSERT INTO "evaluation" VALUES (2,"2015", 3200);
|
| 80 |
+
INSERT INTO "evaluation" VALUES (1,"2016", 2900);
|
| 81 |
+
INSERT INTO "evaluation" VALUES (4,"2017", 3200);
|
| 82 |
+
INSERT INTO "evaluation" VALUES (7,"2018", 3200);
|
| 83 |
+
INSERT INTO "evaluation" VALUES (10,"2016", 4000);
|
| 84 |
+
|
test_database/entrepreneur/schema.sql
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PRAGMA foreign_keys = ON;
|
| 2 |
+
|
| 3 |
+
CREATE TABLE "entrepreneur" (
|
| 4 |
+
"Entrepreneur_ID" int,
|
| 5 |
+
"People_ID" int,
|
| 6 |
+
"Company" text,
|
| 7 |
+
"Money_Requested" real,
|
| 8 |
+
"Investor" text,
|
| 9 |
+
PRIMARY KEY ("Entrepreneur_ID"),
|
| 10 |
+
FOREIGN KEY ("People_ID") REFERENCES "people"("People_ID")
|
| 11 |
+
);
|
| 12 |
+
|
| 13 |
+
CREATE TABLE "people" (
|
| 14 |
+
"People_ID" int,
|
| 15 |
+
"Name" text,
|
| 16 |
+
"Height" real,
|
| 17 |
+
"Weight" real,
|
| 18 |
+
"Date_of_Birth" text,
|
| 19 |
+
PRIMARY KEY ("People_ID")
|
| 20 |
+
);
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
INSERT INTO "people" VALUES (1,"Francesco Postiglione",1.9,80,"1972-04-29");
|
| 24 |
+
INSERT INTO "people" VALUES (2,"Leonardo Binchi",1.86,57,"1975-08-27");
|
| 25 |
+
INSERT INTO "people" VALUES (3,"Fabrizio Buonocore",1.83, 45, "1977-04-28");
|
| 26 |
+
INSERT INTO "people" VALUES (4,"Marco Gerini",1.72, 75,"1971-08-05");
|
| 27 |
+
INSERT INTO "people" VALUES (5,"Roberto Calcaterra",1.75, 67, "1972-02-06");
|
| 28 |
+
INSERT INTO "people" VALUES (6,"Goran Fiorentini",1.78, 89, "1981-11-21");
|
| 29 |
+
INSERT INTO "people" VALUES (7,"Alberto Angelini",1.82,58, "1974-09-28");
|
| 30 |
+
INSERT INTO "people" VALUES (8,"Maurizio Felugo",1.95,76, "1981-03-04");
|
| 31 |
+
|
| 32 |
+
INSERT INTO "entrepreneur" VALUES (1,1,"Umbrolly","150000","Duncan Bannatyne");
|
| 33 |
+
INSERT INTO "entrepreneur" VALUES (2,2,"Grails Ltd","120000","Doug Richard");
|
| 34 |
+
INSERT INTO "entrepreneur" VALUES (3,3,"Le Beanock","54000","Rachel Elnaugh");
|
| 35 |
+
INSERT INTO "entrepreneur" VALUES (4,5,"IV Cam","50000","Peter Jones");
|
| 36 |
+
INSERT INTO "entrepreneur" VALUES (5,6,"Mycorrhizal Systems","75000","Simon Woodroffe");
|
| 37 |
+
INSERT INTO "entrepreneur" VALUES (6,8,"Elizabeth Galton Ltd","110000","Duncan Bannatyne");
|
| 38 |
+
|
| 39 |
+
|
| 40 |
+
|
test_database/film_rank/film_rank.sqlite
ADDED
|
Binary file (28.7 kB). View file
|
|
|
test_database/flight_company/flight_company.sqlite
ADDED
|
Binary file (28.7 kB). View file
|
|
|
test_database/gymnast/gymnast.sqlite
ADDED
|
Binary file (20.5 kB). View file
|
|
|
test_database/inn_1/annotation.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"label_id": null,
|
| 3 |
+
"data": [
|
| 4 |
+
{
|
| 5 |
+
"nl": "Find all modern rooms with a base price below $160 and two beds. Report room names and codes\n",
|
| 6 |
+
"id": 0
|
| 7 |
+
},
|
| 8 |
+
{
|
| 9 |
+
"nl": "Find all rooms occupied on February 6, 2010. Report full name of the room, the check-in and checkout dates of the reservation.\n",
|
| 10 |
+
"id": 1
|
| 11 |
+
},
|
| 12 |
+
{
|
| 13 |
+
"nl": "For each reservation that starts on December 31, 2010 report the room name, nightly rate, number of nights spent and the total amount of money paid.\n",
|
| 14 |
+
"id": 2
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"nl": "Find the names of all people1 staying at the inn at the same time as HERBERT FRYDAY.\n",
|
| 18 |
+
"id": 3
|
| 19 |
+
},
|
| 20 |
+
{
|
| 21 |
+
"nl": "Find the number of August reservations (both checkin and checkout dates are in August) where two adults are staying with two children.\n",
|
| 22 |
+
"id": 4
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"nl": "Find the most popular room in the hotel. The most popular room is the room that had seen the largest number of reservations\n",
|
| 26 |
+
"id": 5
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"nl": "Find the room that has been occupied the largest number of days based on the reservations. Report the room name\n",
|
| 30 |
+
"id": 6
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"nl": "For each room, report the most expensive reservation. Report the full room name, dates of stay\n",
|
| 34 |
+
"id": 7
|
| 35 |
+
}
|
| 36 |
+
],
|
| 37 |
+
"review_id": null
|
| 38 |
+
}
|
test_database/inn_1/data_csv/Reservations_t.csv
ADDED
|
@@ -0,0 +1,601 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Code,Room,CheckIn,CheckOut,Rate,LastName,FirstName,Adults,Kids
|
| 2 |
+
47496,'RND',2010-01-01,2010-01-06,150.0,'KLEVER','ERASMO',1,0
|
| 3 |
+
41112,'RND',2010-01-06,2010-01-11,135.0,'HOOLEY','EUGENIO',1,0
|
| 4 |
+
76809,'RND',2010-01-12,2010-01-14,187.5,'WISWELL','JERROD',1,0
|
| 5 |
+
70172,'RND',2010-01-23,2010-01-25,150.0,'ALMANZA','PHEBE',1,0
|
| 6 |
+
44358,'RND',2010-01-25,2010-01-27,150.0,'BOBROW','CLINTON',2,0
|
| 7 |
+
55344,'RND',2010-01-30,2010-01-31,135.0,'RENSCH','LIANA',1,0
|
| 8 |
+
99471,'RND',2010-01-31,2010-02-01,135.0,'ABRAHAMS','ANNETT',1,0
|
| 9 |
+
81473,'RND',2010-02-01,2010-02-02,127.5,'EVERITT','YUK',1,1
|
| 10 |
+
49253,'RND',2010-02-03,2010-02-06,150.0,'NANI','GARRY',1,0
|
| 11 |
+
16748,'RND',2010-02-21,2010-02-23,135.0,'KLIMKO','DONTE',1,0
|
| 12 |
+
69316,'RND',2010-02-26,2010-03-07,150.0,'SULOUFF','JESSICA',1,0
|
| 13 |
+
69844,'RND',2010-03-07,2010-03-11,172.5,'BONIOL','CLINT',1,0
|
| 14 |
+
96839,'RND',2010-03-11,2010-03-12,150.0,'ARANAS','ROD',1,0
|
| 15 |
+
43911,'RND',2010-03-12,2010-03-13,127.5,'NEIN','TEODORO',1,0
|
| 16 |
+
48382,'RND',2010-03-13,2010-03-14,150.0,'SCHLADWEILER','ELEASE',1,0
|
| 17 |
+
77032,'RND',2010-03-14,2010-03-17,172.5,'FRANC','HERBERT',1,0
|
| 18 |
+
30043,'RND',2010-03-17,2010-03-18,150.0,'HELFRITZ','RHEA',2,0
|
| 19 |
+
48539,'RND',2010-03-21,2010-03-28,135.0,'CHINAULT','EDWARDO',2,0
|
| 20 |
+
23850,'RND',2010-04-11,2010-04-17,150.0,'PENNELLA','LAKIA',2,0
|
| 21 |
+
97303,'RND',2010-04-21,2010-04-30,150.0,'WAEGNER','STANFORD',1,0
|
| 22 |
+
21553,'RND',2010-05-01,2010-05-05,172.5,'MECHLING','KERRI',1,0
|
| 23 |
+
28465,'RND',2010-05-05,2010-05-06,150.0,'SALLE','SANTANA',1,0
|
| 24 |
+
62147,'RND',2010-05-06,2010-05-13,135.0,'BURCHAM','JONATHON',1,1
|
| 25 |
+
38368,'RND',2010-05-30,2010-06-06,150.0,'FOCKE','HONEY',1,1
|
| 26 |
+
48822,'RND',2010-06-08,2010-06-12,187.5,'HULETTE','DARIUS',1,0
|
| 27 |
+
18822,'RND',2010-06-12,2010-06-14,150.0,'NORN','GARLAND',2,0
|
| 28 |
+
34034,'RND',2010-06-14,2010-06-20,172.5,'GABBETT','ALLEN',1,0
|
| 29 |
+
52470,'RND',2010-06-20,2010-06-21,127.5,'BAIRAM','BRADLY',1,1
|
| 30 |
+
95709,'RND',2010-06-21,2010-07-02,135.0,'TRUDEN','LEWIS',1,0
|
| 31 |
+
93984,'RND',2010-07-02,2010-07-03,187.5,'DEBARDELABEN','NELL',1,0
|
| 32 |
+
76245,'RND',2010-07-18,2010-07-19,150.0,'TOSTI','DAN',1,1
|
| 33 |
+
30300,'RND',2010-07-19,2010-07-20,135.0,'PRIAL','MYLES',1,0
|
| 34 |
+
70440,'RND',2010-07-23,2010-07-27,150.0,'DEVEY','GIUSEPPE',1,0
|
| 35 |
+
44933,'RND',2010-07-27,2010-07-29,150.0,'FURIA','ELWANDA',2,0
|
| 36 |
+
63458,'RND',2010-07-31,2010-08-01,172.5,'LELEUX','PORTER',1,1
|
| 37 |
+
78964,'RND',2010-08-05,2010-08-06,150.0,'SPERAZZA','WILBUR',2,0
|
| 38 |
+
64503,'RND',2010-08-06,2010-08-11,172.5,'MAURER','TEODORO',2,0
|
| 39 |
+
15534,'RND',2010-08-28,2010-09-01,150.0,'GAUD','REINALDO',1,0
|
| 40 |
+
87560,'RND',2010-09-01,2010-09-02,150.0,'SABALA','MORTON',1,0
|
| 41 |
+
59083,'RND',2010-09-03,2010-09-10,172.5,'HARTFORD','NATHANAEL',2,0
|
| 42 |
+
91895,'RND',2010-09-10,2010-09-11,150.0,'BLADE','RUBEN',1,0
|
| 43 |
+
65416,'RND',2010-09-11,2010-09-13,127.5,'STRICK','NICHOLLE',1,0
|
| 44 |
+
94375,'RND',2010-09-13,2010-09-19,150.0,'WEGER','TOBY',1,0
|
| 45 |
+
69494,'RND',2010-09-21,2010-09-22,135.0,'MINDEN','STACEY',1,0
|
| 46 |
+
14845,'RND',2010-09-27,2010-09-30,150.0,'ROTCH','FLORIDA',1,1
|
| 47 |
+
10449,'RND',2010-09-30,2010-10-01,150.0,'KLESS','NELSON',1,0
|
| 48 |
+
28494,'RND',2010-10-01,2010-10-13,135.0,'DERKAS','GUS',1,0
|
| 49 |
+
67343,'RND',2010-10-14,2010-10-25,172.5,'ALBROUGH','OLYMPIA',2,0
|
| 50 |
+
63293,'RND',2010-10-25,2010-11-01,127.5,'KUTA','HERMAN',1,1
|
| 51 |
+
55551,'RND',2010-11-04,2010-11-08,127.5,'COOKUS','KASHA',2,0
|
| 52 |
+
57705,'RND',2010-11-12,2010-11-15,172.5,'ROTHMAN','GLENNIS',1,0
|
| 53 |
+
48532,'RND',2010-11-20,2010-11-22,135.0,'VANDEBRINK','TRESSIE',1,0
|
| 54 |
+
32049,'RND',2010-11-22,2010-12-04,135.0,'PANOS','LESTER',1,1
|
| 55 |
+
54369,'RND',2010-12-04,2010-12-06,172.5,'MULE','DIONNA',1,0
|
| 56 |
+
24667,'RND',2010-12-08,2010-12-09,187.5,'BAUGUESS','ERYN',1,0
|
| 57 |
+
68385,'RND',2010-12-10,2010-12-12,172.5,'ALBERO','ABBEY',1,0
|
| 58 |
+
46577,'RND',2010-12-12,2010-12-14,135.0,'MAURER','TEODORO',1,0
|
| 59 |
+
41783,'RND',2010-12-19,2010-12-20,187.5,'LEDOUX','LENA',1,0
|
| 60 |
+
30020,'RND',2010-12-21,2010-12-28,135.0,'PORTO','MARIANO',1,1
|
| 61 |
+
26701,'RND',2010-12-28,2010-12-30,150.0,'DEJAEGER','WELDON',2,0
|
| 62 |
+
69598,'RND',2010-12-30,2010-12-31,150.0,'RENIER','MARCELLUS',1,0
|
| 63 |
+
97512,'RND',2010-12-31,2011-01-02,150.0,'FRAILEY','JUANITA',1,0
|
| 64 |
+
74548,'IBS',2010-01-13,2010-01-16,172.5,'BORROMEO','EBONY',1,1
|
| 65 |
+
89123,'IBS',2010-01-20,2010-01-30,172.5,'GISSLER','EFRAIN',1,0
|
| 66 |
+
77967,'IBS',2010-01-30,2010-02-06,172.5,'MCNEELEY','ARTHUR',1,0
|
| 67 |
+
62333,'IBS',2010-02-06,2010-02-07,150.0,'ABATIELL','CATHRYN',2,0
|
| 68 |
+
72456,'IBS',2010-02-08,2010-02-10,150.0,'STARTIN','BRUNA',1,1
|
| 69 |
+
15733,'IBS',2010-02-11,2010-02-13,172.5,'BEALLE','RASHAD',1,0
|
| 70 |
+
39602,'IBS',2010-02-13,2010-02-23,150.0,'STUART','IVA',1,1
|
| 71 |
+
75477,'IBS',2010-02-23,2010-02-24,172.5,'JAHR','JESSIE',2,0
|
| 72 |
+
41754,'IBS',2010-02-24,2010-02-25,172.5,'ANA','ELLAN',1,0
|
| 73 |
+
12138,'IBS',2010-02-28,2010-03-05,150.0,'SHARIAT','JARRED',1,0
|
| 74 |
+
95260,'IBS',2010-03-07,2010-03-19,187.5,'PERRINO','DENNY',1,0
|
| 75 |
+
63558,'IBS',2010-03-20,2010-03-22,150.0,'KEPKE','HAROLD',1,1
|
| 76 |
+
53535,'IBS',2010-03-22,2010-03-25,172.5,'ALLENDE','VIRGIL',1,1
|
| 77 |
+
63746,'IBS',2010-03-25,2010-03-27,187.5,'SCARLES','LANDON',1,1
|
| 78 |
+
58881,'IBS',2010-03-27,2010-03-29,150.0,'RONFELDT','JERMAINE',1,0
|
| 79 |
+
16933,'IBS',2010-04-01,2010-04-03,150.0,'NORSWORTHY','AUBREY',2,0
|
| 80 |
+
18900,'IBS',2010-04-03,2010-04-05,172.5,'LAURY','EMILY',2,0
|
| 81 |
+
58762,'IBS',2010-04-05,2010-04-07,127.5,'REDEPENNING','FAITH',1,0
|
| 82 |
+
50223,'IBS',2010-04-12,2010-04-14,135.0,'CALLICUTT','HONG',1,0
|
| 83 |
+
84715,'IBS',2010-04-18,2010-04-19,150.0,'BECKUM','MISSY',1,0
|
| 84 |
+
55641,'IBS',2010-04-23,2010-04-25,150.0,'ISHIBASHI','CAPRICE',1,1
|
| 85 |
+
99268,'IBS',2010-04-30,2010-05-03,135.0,'LEEHY','NENA',1,0
|
| 86 |
+
14001,'IBS',2010-05-11,2010-05-12,187.5,'COSTON','LANNY',1,0
|
| 87 |
+
63652,'IBS',2010-05-14,2010-05-20,172.5,'COVERT','ADAM',1,1
|
| 88 |
+
28227,'IBS',2010-05-30,2010-06-04,172.5,'STUART','IVA',2,0
|
| 89 |
+
81780,'IBS',2010-06-09,2010-06-10,150.0,'ENTWISLE','THOMAS',1,0
|
| 90 |
+
44426,'IBS',2010-06-22,2010-06-23,150.0,'CHEESE','TRINIDAD',1,0
|
| 91 |
+
62816,'IBS',2010-07-07,2010-07-11,127.5,'MAEWEATHER','AUGUST',1,0
|
| 92 |
+
94074,'IBS',2010-07-15,2010-07-16,135.0,'TRIBBY','ADELIA',1,0
|
| 93 |
+
22981,'IBS',2010-07-21,2010-07-23,172.5,'KNERIEN','GRANT',1,0
|
| 94 |
+
72503,'IBS',2010-07-23,2010-07-30,150.0,'VELZEBOER','HAN',2,0
|
| 95 |
+
44428,'IBS',2010-08-04,2010-08-06,172.5,'ZAVADOSKI','CLAIR',1,0
|
| 96 |
+
26135,'IBS',2010-08-09,2010-08-14,150.0,'STORDAHL','NATOSHA',1,0
|
| 97 |
+
88795,'IBS',2010-08-18,2010-08-26,150.0,'EURICH','ANTONE',1,1
|
| 98 |
+
78565,'IBS',2010-08-28,2010-08-31,187.5,'WAGERS','HOUSTON',2,0
|
| 99 |
+
97220,'IBS',2010-08-31,2010-09-04,187.5,'WIXOM','MARCIA',1,1
|
| 100 |
+
37585,'IBS',2010-09-06,2010-09-08,135.0,'NOAH','DOROTHEA',2,0
|
| 101 |
+
67689,'IBS',2010-09-08,2010-09-11,172.5,'DELGUIDICE','DAN',2,0
|
| 102 |
+
53723,'IBS',2010-09-11,2010-09-12,135.0,'KVETON','FREDRICK',2,0
|
| 103 |
+
11996,'IBS',2010-09-14,2010-09-16,187.5,'BURBANK','ROBERT',1,0
|
| 104 |
+
55363,'IBS',2010-09-20,2010-09-22,135.0,'VERDINE','ANTONINA',1,0
|
| 105 |
+
53747,'IBS',2010-09-22,2010-09-23,135.0,'SPEARIN','TOMMY',1,1
|
| 106 |
+
59610,'IBS',2010-09-23,2010-09-30,150.0,'EGELSTON','EMANUEL',2,0
|
| 107 |
+
77319,'IBS',2010-10-09,2010-10-11,172.5,'WIDOWSKI','EUSEBIO',2,0
|
| 108 |
+
58148,'IBS',2010-10-11,2010-10-13,172.5,'VOLANTE','EMERY',1,0
|
| 109 |
+
62305,'IBS',2010-10-15,2010-10-22,150.0,'KAMROWSKI','EVITA',2,0
|
| 110 |
+
95100,'IBS',2010-10-27,2010-11-05,172.5,'LABAT','JEANMARIE',1,0
|
| 111 |
+
93407,'IBS',2010-11-05,2010-11-07,187.5,'KOLP','PAMELIA',1,0
|
| 112 |
+
35870,'IBS',2010-11-09,2010-11-11,135.0,'DONIGAN','GLEN',1,1
|
| 113 |
+
42731,'IBS',2010-11-11,2010-11-15,172.5,'HOTARD','ALYSIA',2,0
|
| 114 |
+
22561,'IBS',2010-11-15,2010-11-21,127.5,'VUTURO','DEVORAH',1,0
|
| 115 |
+
49482,'IBS',2010-11-21,2010-12-02,172.5,'ATTEBURG','ELMIRA',2,0
|
| 116 |
+
66331,'IBS',2010-12-02,2010-12-06,135.0,'SEVILLANO','LILLI',1,1
|
| 117 |
+
27490,'IBS',2010-12-06,2010-12-08,150.0,'PENDLEY','SCOTTIE',1,1
|
| 118 |
+
40675,'IBS',2010-12-13,2010-12-14,150.0,'HANUS','THEOLA',1,0
|
| 119 |
+
51097,'IBS',2010-12-18,2010-12-20,135.0,'TOODLE','NOLA',2,0
|
| 120 |
+
60749,'IBS',2010-12-22,2010-12-24,135.0,'DONAHER','LAKIA',1,0
|
| 121 |
+
58196,'IBS',2010-12-24,2010-12-30,150.0,'ZELINSKI','ARTHUR',1,0
|
| 122 |
+
96658,'IBS',2010-12-30,2011-01-01,187.5,'SCHLESSELMAN','NEVILLE',1,0
|
| 123 |
+
17265,'AOB',2010-01-01,2010-01-06,175.0,'HENLY','RUPERT',4,0
|
| 124 |
+
52597,'AOB',2010-01-11,2010-01-14,175.0,'CASMORE','MARINE',3,0
|
| 125 |
+
67200,'AOB',2010-01-16,2010-01-23,148.75,'CHET','CHARLEEN',1,2
|
| 126 |
+
28406,'AOB',2010-01-23,2010-01-29,175.0,'COOKUS','KASHA',2,1
|
| 127 |
+
10489,'AOB',2010-02-02,2010-02-05,218.75,'CARISTO','MARKITA',2,1
|
| 128 |
+
31993,'AOB',2010-02-08,2010-02-10,201.25,'ZIEBARTH','ADELAIDE',1,3
|
| 129 |
+
30937,'AOB',2010-02-14,2010-02-15,175.0,'FITZGERREL','DENNY',1,3
|
| 130 |
+
15870,'AOB',2010-02-15,2010-02-19,175.0,'CORIATY','BERTA',1,3
|
| 131 |
+
94545,'AOB',2010-03-03,2010-03-13,201.25,'SHERRANGE','AUGUST',2,0
|
| 132 |
+
57527,'AOB',2010-03-26,2010-03-28,201.25,'ABAJA','RHEA',2,0
|
| 133 |
+
93341,'AOB',2010-04-02,2010-04-08,175.0,'FROHMAN','SHAYNE',3,1
|
| 134 |
+
72945,'AOB',2010-04-12,2010-04-13,201.25,'KOHS','BOB',1,1
|
| 135 |
+
65417,'AOB',2010-04-13,2010-04-15,175.0,'ACHTER','GRETA',1,1
|
| 136 |
+
50207,'AOB',2010-04-20,2010-04-21,175.0,'ROSENDO','TAREN',1,0
|
| 137 |
+
12258,'AOB',2010-04-23,2010-04-27,175.0,'KANNEL','RODGER',1,0
|
| 138 |
+
58755,'AOB',2010-04-30,2010-05-01,175.0,'MALNAR','GROVER',1,0
|
| 139 |
+
17955,'AOB',2010-05-05,2010-05-09,201.25,'PANARELLO','TODD',2,0
|
| 140 |
+
75853,'AOB',2010-05-10,2010-05-12,175.0,'MELOT','JENNA',4,0
|
| 141 |
+
58972,'AOB',2010-05-17,2010-05-19,157.5,'BERS','BRENDA',2,1
|
| 142 |
+
48113,'AOB',2010-05-24,2010-05-25,175.0,'BABU','SARAI',2,0
|
| 143 |
+
17344,'AOB',2010-05-25,2010-05-26,218.75,'GALOW','RICKEY',1,1
|
| 144 |
+
33806,'AOB',2010-05-27,2010-05-28,175.0,'OXFORD','KATRICE',1,2
|
| 145 |
+
28455,'AOB',2010-05-29,2010-05-31,175.0,'RISHA','NORBERTO',1,1
|
| 146 |
+
14940,'AOB',2010-06-01,2010-06-12,175.0,'BISHOFF','ISREAL',2,0
|
| 147 |
+
43225,'AOB',2010-06-12,2010-06-13,157.5,'CAPRON','CASSAUNDRA',1,1
|
| 148 |
+
54831,'AOB',2010-06-15,2010-06-21,201.25,'BAUGUESS','ERYN',1,3
|
| 149 |
+
59225,'AOB',2010-06-26,2010-06-30,201.25,'DURAN','BO',1,0
|
| 150 |
+
18465,'AOB',2010-06-30,2010-07-07,175.0,'KRIEGH','AMADO',2,0
|
| 151 |
+
38013,'AOB',2010-07-08,2010-07-15,175.0,'RURY','SENA',1,1
|
| 152 |
+
47004,'AOB',2010-07-15,2010-07-28,175.0,'STEBNER','MAXIE',1,1
|
| 153 |
+
56286,'AOB',2010-07-29,2010-07-31,201.25,'BRICKEL','ROCKY',3,1
|
| 154 |
+
29253,'AOB',2010-07-31,2010-08-03,175.0,'HILDRED','MARTY',3,1
|
| 155 |
+
76149,'AOB',2010-08-07,2010-08-09,201.25,'HONEYWELL','JULIANA',2,2
|
| 156 |
+
24300,'AOB',2010-08-09,2010-08-15,201.25,'CANDON','PIERRE',4,0
|
| 157 |
+
13058,'AOB',2010-08-17,2010-08-18,157.5,'ABATIELL','CATHRYN',1,2
|
| 158 |
+
95605,'AOB',2010-08-18,2010-08-20,218.75,'FIGLIOLI','NANCI',1,2
|
| 159 |
+
17270,'AOB',2010-08-20,2010-08-23,175.0,'RELLIHAN','COURTNEY',1,0
|
| 160 |
+
67427,'AOB',2010-09-02,2010-09-14,175.0,'STRACK','PORTER',1,3
|
| 161 |
+
33748,'AOB',2010-09-14,2010-09-16,175.0,'PIGNONE','JOEL',1,3
|
| 162 |
+
47146,'AOB',2010-09-16,2010-09-23,201.25,'GATTSHALL','REGAN',1,0
|
| 163 |
+
95204,'AOB',2010-10-08,2010-10-14,157.5,'CARRUTH','SANDY',1,2
|
| 164 |
+
41619,'AOB',2010-10-15,2010-10-22,175.0,'MASSEY','DORIAN',4,0
|
| 165 |
+
80390,'AOB',2010-10-22,2010-10-31,157.5,'PHILBERT','CHRISTIE',2,2
|
| 166 |
+
44836,'AOB',2010-10-31,2010-11-03,148.75,'DEFRANG','DWAIN',1,0
|
| 167 |
+
69035,'AOB',2010-11-18,2010-11-26,218.75,'KU','MERIDETH',1,3
|
| 168 |
+
29287,'AOB',2010-12-01,2010-12-08,218.75,'FRYDAY','HERBERT',2,0
|
| 169 |
+
18834,'AOB',2010-12-08,2010-12-10,148.75,'DUCHARME','MIGUELINA',2,0
|
| 170 |
+
58934,'AOB',2010-12-15,2010-12-22,201.25,'RICHARD','ROBBY',1,1
|
| 171 |
+
82502,'AOB',2010-12-25,2010-12-26,175.0,'KRULIK','JEFFRY',1,2
|
| 172 |
+
36890,'AOB',2010-12-26,2010-12-28,175.0,'PHILBERT','CHRISTIE',2,1
|
| 173 |
+
10984,'AOB',2010-12-28,2011-01-01,201.25,'ZULLO','WILLY',2,1
|
| 174 |
+
80192,'MWC',2010-01-01,2010-01-03,112.5,'MUHLESTEIN','REINALDO',3,1
|
| 175 |
+
58266,'MWC',2010-01-08,2010-01-14,125.0,'PICKARD','HORTENCIA',1,0
|
| 176 |
+
53876,'MWC',2010-01-14,2010-01-15,125.0,'KEBEDE','ARON',3,0
|
| 177 |
+
82409,'MWC',2010-01-30,2010-02-01,125.0,'QUARTO','VANDA',4,0
|
| 178 |
+
39640,'MWC',2010-02-01,2010-02-05,143.75,'HERZING','DELPHIA',2,1
|
| 179 |
+
31371,'MWC',2010-02-05,2010-02-06,125.0,'TARZIA','KAYLEE',2,0
|
| 180 |
+
31508,'MWC',2010-02-10,2010-02-14,112.5,'FULK','GENE',4,0
|
| 181 |
+
37985,'MWC',2010-02-15,2010-02-18,112.5,'PEDERSON','DOTTIE',1,1
|
| 182 |
+
54966,'MWC',2010-02-23,2010-02-24,125.0,'MAZUREK','LEIGHANN',1,0
|
| 183 |
+
64987,'MWC',2010-02-28,2010-03-05,125.0,'BRESSE','BURTON',1,0
|
| 184 |
+
40678,'MWC',2010-03-22,2010-03-29,112.5,'KENNETT','QUEEN',3,0
|
| 185 |
+
36356,'MWC',2010-03-29,2010-04-04,125.0,'SPECTOR','FRITZ',2,1
|
| 186 |
+
35180,'MWC',2010-04-07,2010-04-08,125.0,'POWNELL','BRIDGET',1,0
|
| 187 |
+
96909,'MWC',2010-04-09,2010-04-15,125.0,'WILLIBRAND','HEATHER',3,0
|
| 188 |
+
79056,'MWC',2010-04-19,2010-04-25,125.0,'GANZER','HYMAN',2,0
|
| 189 |
+
90108,'MWC',2010-04-30,2010-05-01,156.25,'FANZO','TERRY',1,0
|
| 190 |
+
30479,'MWC',2010-05-01,2010-05-10,143.75,'QUISPE','MARGARITO',1,1
|
| 191 |
+
60169,'MWC',2010-05-10,2010-05-16,125.0,'ROSATI','LORENA',1,3
|
| 192 |
+
91415,'MWC',2010-05-16,2010-05-18,112.5,'LEHRFELD','CHERLY',3,0
|
| 193 |
+
87943,'MWC',2010-05-21,2010-05-28,125.0,'LUTFY','LIZETTE',2,0
|
| 194 |
+
14273,'MWC',2010-05-28,2010-05-30,125.0,'STARE','ELIJAH',1,0
|
| 195 |
+
25134,'MWC',2010-05-31,2010-06-02,143.75,'HARDYMAN','CLAYTON',1,1
|
| 196 |
+
34244,'MWC',2010-06-04,2010-06-06,112.5,'SPIKE','ROSENDA',4,0
|
| 197 |
+
84244,'MWC',2010-06-06,2010-06-07,125.0,'TALAT','MEAGHAN',2,1
|
| 198 |
+
64456,'MWC',2010-06-07,2010-06-09,125.0,'MCCLENNINGHAM','BRADLY',1,2
|
| 199 |
+
86375,'MWC',2010-06-12,2010-06-22,156.25,'RANAUDO','SELINA',1,0
|
| 200 |
+
84120,'MWC',2010-06-29,2010-07-05,143.75,'LOTTO','MYRA',3,1
|
| 201 |
+
72817,'MWC',2010-07-08,2010-07-09,143.75,'FINEFROCK','ALEXIS',1,2
|
| 202 |
+
16136,'MWC',2010-07-09,2010-07-12,143.75,'FERENCE','MORGAN',1,0
|
| 203 |
+
44378,'MWC',2010-07-12,2010-07-13,125.0,'COTMAN','JOLYNN',1,3
|
| 204 |
+
54323,'MWC',2010-07-13,2010-07-14,106.25,'LUNNEY','YVETTE',3,0
|
| 205 |
+
18311,'MWC',2010-07-27,2010-07-31,125.0,'LUEDKE','BRYNN',1,1
|
| 206 |
+
65909,'MWC',2010-07-31,2010-08-01,112.5,'BENDICKSON','NEWTON',2,0
|
| 207 |
+
70287,'MWC',2010-08-02,2010-08-11,143.75,'MAEDA','DUSTY',1,0
|
| 208 |
+
92348,'MWC',2010-08-11,2010-08-17,125.0,'BARTHELL','RICARDA',1,0
|
| 209 |
+
53295,'MWC',2010-08-17,2010-08-22,106.25,'HANUS','THEOLA',2,1
|
| 210 |
+
97375,'MWC',2010-08-26,2010-08-27,112.5,'DONNELLEY','GARNET',3,0
|
| 211 |
+
79219,'MWC',2010-08-27,2010-08-30,125.0,'KLAASS','HYON',3,1
|
| 212 |
+
69840,'MWC',2010-08-30,2010-09-03,112.5,'KNERIEN','GRANT',2,1
|
| 213 |
+
95620,'MWC',2010-09-07,2010-09-10,112.5,'ZAHLER','GORDON',1,0
|
| 214 |
+
35136,'MWC',2010-09-10,2010-09-12,112.5,'MALCHOW','RAMIRO',1,0
|
| 215 |
+
67464,'MWC',2010-09-27,2010-09-30,112.5,'KVETON','FREDRICK',1,1
|
| 216 |
+
38677,'MWC',2010-10-05,2010-10-11,156.25,'HORELICK','BYRON',2,0
|
| 217 |
+
32116,'MWC',2010-10-15,2010-10-17,143.75,'RUSSO','MELODY',1,1
|
| 218 |
+
21848,'MWC',2010-10-17,2010-10-18,112.5,'CLOFFI','CHAROLETTE',1,0
|
| 219 |
+
73473,'MWC',2010-10-18,2010-10-27,125.0,'ROTCHFORD','DWIGHT',3,0
|
| 220 |
+
98441,'MWC',2010-10-30,2010-11-07,106.25,'RAMPLEY','HERMA',4,0
|
| 221 |
+
54781,'MWC',2010-11-07,2010-11-11,125.0,'KUTA','HERMAN',1,2
|
| 222 |
+
93587,'MWC',2010-11-11,2010-11-12,112.5,'ZELAYA','PRINCE',3,1
|
| 223 |
+
33271,'MWC',2010-11-29,2010-12-02,143.75,'YONKERS','RHETT',2,2
|
| 224 |
+
40043,'MWC',2010-12-04,2010-12-14,125.0,'LANSBERRY','JESUSITA',3,1
|
| 225 |
+
33155,'MWC',2010-12-14,2010-12-16,143.75,'FOLGER','ELOISA',1,0
|
| 226 |
+
88588,'MWC',2010-12-16,2010-12-17,125.0,'RELFORD','MARYBELLE',2,0
|
| 227 |
+
57015,'MWC',2010-12-19,2010-12-20,106.25,'BUSTER','TOM',1,0
|
| 228 |
+
87890,'MWC',2010-12-20,2010-12-22,143.75,'HELKE','ISAAC',1,0
|
| 229 |
+
66189,'MWC',2010-12-30,2011-01-04,143.75,'FROEHNER','LATRISHA',3,0
|
| 230 |
+
76801,'HBB',2010-01-06,2010-01-18,125.0,'CRACE','HERB',1,1
|
| 231 |
+
24408,'HBB',2010-01-18,2010-01-19,100.0,'RADIN','RUSTY',1,0
|
| 232 |
+
21980,'HBB',2010-02-05,2010-02-08,115.0,'SIDDELL','MACY',1,1
|
| 233 |
+
87260,'HBB',2010-02-13,2010-02-15,90.0,'REPKE','CHAE',1,1
|
| 234 |
+
78241,'HBB',2010-02-20,2010-02-28,85.0,'CHAMBLEE','ALTHA',2,0
|
| 235 |
+
64657,'HBB',2010-03-01,2010-03-06,115.0,'VIPPERMAN','PABLO',2,0
|
| 236 |
+
25558,'HBB',2010-03-17,2010-03-19,125.0,'SHOULDER','FLORENTINO',1,1
|
| 237 |
+
82874,'HBB',2010-03-30,2010-04-09,125.0,'ATTEBURG','ELMIRA',1,1
|
| 238 |
+
89780,'HBB',2010-04-09,2010-04-11,100.0,'WAHR','CLINT',1,0
|
| 239 |
+
63523,'HBB',2010-04-15,2010-04-16,115.0,'RATTANA','WINFRED',1,0
|
| 240 |
+
30723,'HBB',2010-04-16,2010-04-23,125.0,'MASSER','TROY',2,0
|
| 241 |
+
88884,'HBB',2010-04-27,2010-04-30,85.0,'KIRAKOSYAN','KAREEM',1,1
|
| 242 |
+
18019,'HBB',2010-05-03,2010-05-05,115.0,'ARNDELL','JEFFEREY',1,1
|
| 243 |
+
77379,'HBB',2010-05-06,2010-05-08,115.0,'TORNQUIST','JESS',1,0
|
| 244 |
+
45157,'HBB',2010-05-11,2010-05-18,115.0,'WICKLIN','WYNELL',2,0
|
| 245 |
+
77574,'HBB',2010-05-22,2010-06-03,90.0,'CASMORE','MARINE',1,1
|
| 246 |
+
69945,'HBB',2010-06-07,2010-06-09,115.0,'FLEURILUS','KATTIE',1,0
|
| 247 |
+
73154,'HBB',2010-06-14,2010-06-19,115.0,'SAILORS','SANDA',1,0
|
| 248 |
+
97000,'HBB',2010-06-20,2010-06-26,125.0,'OCHS','ANGLA',1,0
|
| 249 |
+
34855,'HBB',2010-07-01,2010-07-04,100.0,'YURICK','SHARA',2,0
|
| 250 |
+
86394,'HBB',2010-07-07,2010-07-09,100.0,'WESTLING','DACIA',2,0
|
| 251 |
+
49467,'HBB',2010-07-09,2010-07-16,115.0,'SUSMILCH','RAYMUNDO',1,0
|
| 252 |
+
65206,'HBB',2010-07-16,2010-07-21,100.0,'HIRONS','RANDAL',1,1
|
| 253 |
+
12686,'HBB',2010-07-22,2010-07-25,85.0,'GROWNEY','MELVIN',2,0
|
| 254 |
+
92608,'HBB',2010-07-30,2010-08-01,125.0,'PENCEK','SILVIA',1,0
|
| 255 |
+
71443,'HBB',2010-08-02,2010-08-05,100.0,'KLIMAVICIUS','ULRIKE',1,0
|
| 256 |
+
52799,'HBB',2010-08-05,2010-08-07,85.0,'WANDREI','ISSAC',1,0
|
| 257 |
+
41880,'HBB',2010-08-07,2010-08-09,100.0,'PLAKE','KARMEN',1,0
|
| 258 |
+
25262,'HBB',2010-08-09,2010-08-11,115.0,'YAPLE','CLAUDIE',1,0
|
| 259 |
+
10500,'HBB',2010-08-11,2010-08-12,90.0,'YESSIOS','ANNIS',1,0
|
| 260 |
+
97585,'HBB',2010-08-15,2010-08-16,85.0,'PARISER','ELIJAH',1,0
|
| 261 |
+
84334,'HBB',2010-08-19,2010-08-25,125.0,'NEUBECKER','GARY',2,0
|
| 262 |
+
28589,'HBB',2010-08-25,2010-08-26,115.0,'RIMAR','KEELY',2,0
|
| 263 |
+
62874,'HBB',2010-08-26,2010-08-27,100.0,'SKIBA','MITCHELL',1,1
|
| 264 |
+
46665,'HBB',2010-08-31,2010-09-09,100.0,'MABRA','MARGET',1,0
|
| 265 |
+
40241,'HBB',2010-09-13,2010-09-15,85.0,'CORSARO','SHELLA',1,1
|
| 266 |
+
48604,'HBB',2010-09-16,2010-09-22,115.0,'GARCES','CRISTIE',1,1
|
| 267 |
+
48665,'HBB',2010-09-26,2010-09-28,90.0,'STOUDYMIRE','COLUMBUS',1,1
|
| 268 |
+
20572,'HBB',2010-09-28,2010-09-29,115.0,'SANDLER','JENISE',2,0
|
| 269 |
+
97269,'HBB',2010-10-04,2010-10-05,115.0,'MELVE','PHIL',1,1
|
| 270 |
+
25616,'HBB',2010-10-05,2010-10-06,100.0,'KOSANOVIC','EWA',1,0
|
| 271 |
+
87713,'HBB',2010-10-08,2010-10-10,90.0,'TANKER','JONE',1,0
|
| 272 |
+
44040,'HBB',2010-10-15,2010-10-16,90.0,'ZELAYA','PRINCE',1,0
|
| 273 |
+
21202,'HBB',2010-10-21,2010-10-23,125.0,'CASAGRANDA','BRAIN',2,0
|
| 274 |
+
10105,'HBB',2010-10-23,2010-10-25,100.0,'SELBIG','CONRAD',1,0
|
| 275 |
+
19194,'HBB',2010-10-29,2010-11-05,125.0,'WORKINGER','CLIFTON',1,0
|
| 276 |
+
35959,'HBB',2010-11-07,2010-11-09,100.0,'BRAND','TROY',1,0
|
| 277 |
+
74141,'HBB',2010-11-14,2010-11-16,100.0,'BRODOWSKI','RODERICK',1,0
|
| 278 |
+
56737,'HBB',2010-11-17,2010-11-18,100.0,'PETTINE','NUMBERS',2,0
|
| 279 |
+
80302,'HBB',2010-11-22,2010-11-24,115.0,'KLEIMAN','MAURICIO',1,0
|
| 280 |
+
55862,'HBB',2010-11-28,2010-12-05,85.0,'BIERWAGEN','MARK',1,1
|
| 281 |
+
63078,'HBB',2010-12-05,2010-12-06,90.0,'WHITTEN','MITZI',1,0
|
| 282 |
+
63043,'HBB',2010-12-06,2010-12-07,85.0,'CIERPKE','DOT',1,1
|
| 283 |
+
73785,'HBB',2010-12-07,2010-12-09,100.0,'ROGGE','MEREDITH',2,0
|
| 284 |
+
93165,'HBB',2010-12-10,2010-12-14,90.0,'LEDOUX','LENA',1,0
|
| 285 |
+
58668,'HBB',2010-12-14,2010-12-19,125.0,'COASTER','MERLE',1,1
|
| 286 |
+
17672,'HBB',2010-12-21,2010-12-22,90.0,'DECHELLIS','AARON',1,0
|
| 287 |
+
84695,'HBB',2010-12-22,2010-12-23,90.0,'BRAND','TROY',2,0
|
| 288 |
+
38636,'HBB',2010-12-29,2010-12-31,115.0,'FORESTA','JORDON',1,0
|
| 289 |
+
43157,'HBB',2010-12-31,2011-01-06,100.0,'STURN','NEVADA',2,0
|
| 290 |
+
96005,'IBD',2010-01-01,2010-01-07,150.0,'BUTALA','YEVETTE',3,0
|
| 291 |
+
67066,'IBD',2010-01-07,2010-01-11,135.0,'EDHOLM','ALFRED',3,1
|
| 292 |
+
14226,'IBD',2010-01-11,2010-01-12,150.0,'SCHOENHUT','VERNICE',2,1
|
| 293 |
+
62078,'IBD',2010-01-12,2010-01-25,172.5,'BRODOWSKI','RODERICK',1,0
|
| 294 |
+
43303,'IBD',2010-01-27,2010-01-28,150.0,'MENINO','STEVEN',1,1
|
| 295 |
+
14678,'IBD',2010-01-28,2010-01-30,150.0,'SATERFIELD','FRANCISCO',3,1
|
| 296 |
+
30363,'IBD',2010-01-30,2010-02-09,172.5,'JAHALY','DELORSE',3,0
|
| 297 |
+
80613,'IBD',2010-02-09,2010-02-12,135.0,'CREDIT','JANESSA',1,3
|
| 298 |
+
98216,'IBD',2010-02-18,2010-02-25,150.0,'RAMSDEN','BILLIE',1,0
|
| 299 |
+
43654,'IBD',2010-02-27,2010-02-28,172.5,'BORROMEO','EBONY',2,1
|
| 300 |
+
56509,'IBD',2010-03-08,2010-03-10,150.0,'VONDRA','HUMBERTO',3,0
|
| 301 |
+
95519,'IBD',2010-03-21,2010-03-23,172.5,'ZINDEL','CHUNG',2,2
|
| 302 |
+
57275,'IBD',2010-03-28,2010-04-02,150.0,'MABRA','MARGET',3,0
|
| 303 |
+
66089,'IBD',2010-04-06,2010-04-07,135.0,'WINNEN','TYLER',2,1
|
| 304 |
+
70741,'IBD',2010-04-09,2010-04-14,150.0,'EERKES','CODY',3,0
|
| 305 |
+
20107,'IBD',2010-04-14,2010-04-16,135.0,'ARBUCKLE','LORENA',2,1
|
| 306 |
+
13136,'IBD',2010-04-16,2010-04-17,187.5,'FEYLER','EMILIA',1,0
|
| 307 |
+
33427,'IBD',2010-04-17,2010-04-21,135.0,'BEALLE','RASHAD',1,0
|
| 308 |
+
80989,'IBD',2010-04-24,2010-05-06,150.0,'TIPPIN','ASUNCION',1,0
|
| 309 |
+
97996,'IBD',2010-05-06,2010-05-07,135.0,'LUCIDO','AHMAD',1,1
|
| 310 |
+
55870,'IBD',2010-05-08,2010-05-13,135.0,'BELONGIE','BIBI',1,3
|
| 311 |
+
11645,'IBD',2010-05-13,2010-05-19,135.0,'SWAIT','DAN',2,1
|
| 312 |
+
19394,'IBD',2010-05-23,2010-05-25,150.0,'HARPE','GERMAN',1,2
|
| 313 |
+
99845,'IBD',2010-05-27,2010-05-28,150.0,'SEVILLANO','LILLI',3,0
|
| 314 |
+
32933,'IBD',2010-06-05,2010-06-06,135.0,'MURASSO','JAMIE',2,1
|
| 315 |
+
83021,'IBD',2010-06-06,2010-06-07,172.5,'KLAVETTER','DOUGLASS',1,3
|
| 316 |
+
65153,'IBD',2010-06-12,2010-06-14,150.0,'VEGHER','ANGELA',1,2
|
| 317 |
+
96983,'IBD',2010-06-18,2010-06-23,127.5,'CLOWERD','ARNULFO',2,1
|
| 318 |
+
86560,'IBD',2010-06-23,2010-06-24,187.5,'SHUTTERS','CLARINDA',3,1
|
| 319 |
+
87086,'IBD',2010-06-28,2010-07-07,150.0,'WAGERS','HOUSTON',1,0
|
| 320 |
+
98882,'IBD',2010-07-07,2010-07-14,127.5,'GOON','JONE',1,0
|
| 321 |
+
27983,'IBD',2010-07-22,2010-07-24,135.0,'SWARTWOOD','JENI',3,1
|
| 322 |
+
37425,'IBD',2010-07-26,2010-07-28,150.0,'FIERECK','ALBERTA',4,0
|
| 323 |
+
17222,'IBD',2010-07-28,2010-08-07,150.0,'BOHMAN','LAYNE',1,3
|
| 324 |
+
20269,'IBD',2010-08-12,2010-08-19,135.0,'BILLICK','NIEVES',1,0
|
| 325 |
+
24326,'IBD',2010-08-19,2010-08-21,135.0,'CULMER','LLOYD',1,3
|
| 326 |
+
63600,'IBD',2010-08-21,2010-08-28,150.0,'WEARS','LIBBIE',3,0
|
| 327 |
+
37845,'IBD',2010-08-29,2010-08-30,127.5,'PENEZ','AMIEE',1,0
|
| 328 |
+
24986,'IBD',2010-08-30,2010-09-01,150.0,'HEATH','PASQUALE',4,0
|
| 329 |
+
12085,'IBD',2010-09-04,2010-09-08,135.0,'GLASGLOW','EMMANUEL',2,0
|
| 330 |
+
29937,'IBD',2010-09-08,2010-09-10,150.0,'OBERHAUSEN','JODY',2,1
|
| 331 |
+
11703,'IBD',2010-09-10,2010-09-11,172.5,'HAVIS','SHERILYN',2,0
|
| 332 |
+
10183,'IBD',2010-09-19,2010-09-20,150.0,'GABLER','DOLLIE',2,0
|
| 333 |
+
14149,'IBD',2010-09-20,2010-09-22,150.0,'HOULIHAN','LEVI',2,1
|
| 334 |
+
17405,'IBD',2010-10-02,2010-10-03,127.5,'KESTER','KIZZY',3,1
|
| 335 |
+
21625,'IBD',2010-10-03,2010-10-14,187.5,'BOSE','FRANCISCO',1,2
|
| 336 |
+
43651,'IBD',2010-10-19,2010-10-21,150.0,'LAGERMAN','LEOLA',2,0
|
| 337 |
+
37060,'IBD',2010-10-21,2010-10-23,150.0,'PASSANTINO','DALLAS',1,3
|
| 338 |
+
66548,'IBD',2010-10-23,2010-10-26,150.0,'FEASTER','KRISTOPHER',3,0
|
| 339 |
+
11857,'IBD',2010-10-27,2010-10-29,187.5,'HARDINA','LORITA',4,0
|
| 340 |
+
33395,'IBD',2010-10-31,2010-11-02,150.0,'METER','ROSA',2,0
|
| 341 |
+
43584,'IBD',2010-11-02,2010-11-04,135.0,'BRUSKI','MONTY',1,2
|
| 342 |
+
93736,'IBD',2010-11-07,2010-11-10,135.0,'TREGRE','COLTON',2,1
|
| 343 |
+
44310,'IBD',2010-11-15,2010-11-21,135.0,'DIEZ','NADIA',4,0
|
| 344 |
+
47511,'IBD',2010-11-21,2010-11-22,172.5,'VELIE','NIKKI',1,2
|
| 345 |
+
88892,'IBD',2010-11-22,2010-11-26,187.5,'MARKWORTH','DESPINA',4,0
|
| 346 |
+
26798,'IBD',2010-11-30,2010-12-06,135.0,'BONJORNO','IGNACIO',1,1
|
| 347 |
+
33195,'IBD',2010-12-06,2010-12-12,150.0,'DEHLINGER','VANCE',3,1
|
| 348 |
+
72506,'IBD',2010-12-12,2010-12-25,150.0,'KNERIEN','GRANT',2,0
|
| 349 |
+
70889,'IBD',2010-12-25,2010-12-26,172.5,'DINUNZIO','FELIPE',1,3
|
| 350 |
+
72890,'IBD',2010-12-26,2010-12-27,172.5,'AKHTAR','BENTON',1,0
|
| 351 |
+
71679,'IBD',2010-12-27,2010-12-31,172.5,'MIKEL','BRIGIDA',1,0
|
| 352 |
+
43692,'IBD',2010-12-31,2011-01-01,172.5,'BEAMON','HYACINTH',1,0
|
| 353 |
+
83481,'TAA',2010-01-03,2010-01-07,67.5,'ENGELSON','MIKKI',2,0
|
| 354 |
+
38209,'TAA',2010-01-08,2010-01-13,86.25,'ECKERT','EDIE',1,0
|
| 355 |
+
89102,'TAA',2010-01-14,2010-01-15,67.5,'CARBACK','ZOLA',2,0
|
| 356 |
+
87915,'TAA',2010-01-18,2010-01-24,63.75,'ACHENBACH','HERB',1,0
|
| 357 |
+
57627,'TAA',2010-01-29,2010-02-05,67.5,'SWEAZY','ROY',1,1
|
| 358 |
+
77911,'TAA',2010-02-05,2010-02-07,75.0,'WIDOWSKI','EUSEBIO',2,0
|
| 359 |
+
56475,'TAA',2010-02-07,2010-02-08,93.75,'KLIGER','TRICIA',1,0
|
| 360 |
+
89519,'TAA',2010-02-09,2010-02-10,75.0,'STIMSON','NICOLA',1,0
|
| 361 |
+
62313,'TAA',2010-02-10,2010-02-12,86.25,'WAEGNER','BROOKS',1,1
|
| 362 |
+
68829,'TAA',2010-02-12,2010-02-15,67.5,'POIRRIER','SUZETTE',1,1
|
| 363 |
+
84756,'TAA',2010-02-19,2010-02-22,75.0,'CARLYLE','BILLYE',1,1
|
| 364 |
+
13972,'TAA',2010-02-22,2010-02-25,67.5,'DAYA','COREY',2,0
|
| 365 |
+
55985,'TAA',2010-02-25,2010-02-26,86.25,'BASSI','DUSTY',1,0
|
| 366 |
+
92508,'TAA',2010-02-26,2010-02-27,75.0,'MULE','DIONNA',2,0
|
| 367 |
+
56344,'TAA',2010-03-02,2010-03-03,86.25,'INGUARDSEN','HARRISON',1,0
|
| 368 |
+
24420,'TAA',2010-03-03,2010-03-12,75.0,'SCHLESSER','FLOYD',1,1
|
| 369 |
+
74927,'TAA',2010-03-24,2010-03-26,67.5,'MACROSTIE','SABRINA',1,0
|
| 370 |
+
69499,'TAA',2010-03-27,2010-03-29,75.0,'AKHTAR','BENTON',1,0
|
| 371 |
+
44771,'TAA',2010-03-29,2010-03-30,67.5,'NOBLIN','BELKIS',2,0
|
| 372 |
+
31636,'TAA',2010-04-09,2010-04-11,75.0,'FAGERSTROM','ALLAN',1,0
|
| 373 |
+
36855,'TAA',2010-04-13,2010-04-14,67.5,'TRAMM','SANG',1,0
|
| 374 |
+
92463,'TAA',2010-04-14,2010-04-15,75.0,'DAOUD','STEPHEN',1,0
|
| 375 |
+
26423,'TAA',2010-04-15,2010-04-18,86.25,'DEININGER','RICKIE',1,1
|
| 376 |
+
49886,'TAA',2010-04-21,2010-04-27,86.25,'BRINAR','WOODROW',1,1
|
| 377 |
+
75081,'TAA',2010-04-27,2010-05-07,75.0,'HANSEN','LAREE',1,0
|
| 378 |
+
29496,'TAA',2010-05-07,2010-05-14,75.0,'HONIGSBERG','PEARLENE',1,0
|
| 379 |
+
97924,'TAA',2010-05-19,2010-05-21,75.0,'SPECTOR','FRITZ',2,0
|
| 380 |
+
61861,'TAA',2010-05-30,2010-06-12,86.25,'EASTLING','AUNDREA',1,0
|
| 381 |
+
27125,'TAA',2010-06-13,2010-06-15,75.0,'BOESER','DIVINA',1,0
|
| 382 |
+
26487,'TAA',2010-06-15,2010-06-19,63.75,'JUHL','MILLARD',1,0
|
| 383 |
+
97491,'TAA',2010-06-19,2010-06-23,86.25,'BALCOM','JOEY',1,0
|
| 384 |
+
49153,'TAA',2010-06-23,2010-06-30,86.25,'ZEPEDA','ELANA',1,0
|
| 385 |
+
68265,'TAA',2010-06-30,2010-07-03,67.5,'BREGER','BOYD',2,0
|
| 386 |
+
94949,'TAA',2010-07-03,2010-07-09,75.0,'FINEFROCK','ALEXIS',1,1
|
| 387 |
+
67917,'TAA',2010-07-09,2010-07-13,75.0,'SALERNO','LOU',1,0
|
| 388 |
+
86151,'TAA',2010-07-13,2010-07-15,67.5,'RIOPEL','TANA',1,1
|
| 389 |
+
32112,'TAA',2010-07-20,2010-07-27,75.0,'SAMPLES','CLAIR',1,0
|
| 390 |
+
94735,'TAA',2010-07-31,2010-08-05,75.0,'ALMGREN','CHANTAY',1,1
|
| 391 |
+
89433,'TAA',2010-08-08,2010-08-18,63.75,'SHALHOUP','AMAL',1,0
|
| 392 |
+
19017,'TAA',2010-08-18,2010-08-30,86.25,'EERKES','CODY',2,0
|
| 393 |
+
38017,'TAA',2010-09-05,2010-09-07,75.0,'SHOULDER','FLORENTINO',2,0
|
| 394 |
+
85547,'TAA',2010-09-11,2010-09-16,93.75,'EMIGHOLZ','ERWIN',1,1
|
| 395 |
+
35546,'TAA',2010-09-19,2010-09-24,67.5,'YUK','TIM',1,0
|
| 396 |
+
32552,'TAA',2010-10-11,2010-10-12,75.0,'MIDTHUN','EMMANUEL',1,0
|
| 397 |
+
16693,'TAA',2010-10-17,2010-10-18,67.5,'ASHCROFT','RONALD',1,0
|
| 398 |
+
20463,'TAA',2010-10-19,2010-10-22,75.0,'VANBLARICUM','CRISTIE',1,1
|
| 399 |
+
69654,'TAA',2010-10-23,2010-10-29,75.0,'TOLLINCHI','CHRISTOPER',2,0
|
| 400 |
+
67381,'TAA',2010-11-02,2010-11-04,75.0,'GUERETTE','CLARETTA',2,0
|
| 401 |
+
58942,'TAA',2010-11-04,2010-11-08,75.0,'HULETTE','DARIUS',1,0
|
| 402 |
+
76087,'TAA',2010-11-18,2010-11-23,67.5,'SELIGA','LEOPOLDO',1,1
|
| 403 |
+
81825,'TAA',2010-11-25,2010-11-27,86.25,'DEVEY','GIUSEPPE',1,1
|
| 404 |
+
90621,'TAA',2010-11-28,2010-11-30,86.25,'RENDLEMAN','JULI',1,0
|
| 405 |
+
42000,'TAA',2010-12-04,2010-12-11,93.75,'STRINGFELLOW','GEARLDINE',2,0
|
| 406 |
+
33013,'TAA',2010-12-16,2010-12-18,67.5,'STYCH','DIA',1,0
|
| 407 |
+
33339,'TAA',2010-12-22,2010-12-27,67.5,'WISSINGER','JACQUES',1,0
|
| 408 |
+
54274,'TAA',2010-12-27,2010-12-28,75.0,'PEYATT','SHERON',1,0
|
| 409 |
+
84497,'TAA',2010-12-28,2010-12-29,75.0,'FRERICKS','RONNY',2,0
|
| 410 |
+
46908,'TAA',2010-12-29,2010-12-30,86.25,'PULOS','ROBERTO',1,0
|
| 411 |
+
47108,'TAA',2010-12-30,2011-01-12,75.0,'WILCUTT','BLAINE',1,0
|
| 412 |
+
87722,'CAS',2010-01-01,2010-01-07,175.0,'GIERLING','TRENT',2,0
|
| 413 |
+
24980,'CAS',2010-01-07,2010-01-08,201.25,'GRONDAHL','ELVINA',1,0
|
| 414 |
+
38140,'CAS',2010-01-22,2010-01-23,218.75,'KUDRON','CATHERIN',3,0
|
| 415 |
+
75632,'CAS',2010-01-26,2010-01-27,148.75,'DONIGAN','GLEN',2,1
|
| 416 |
+
97542,'CAS',2010-01-27,2010-01-29,175.0,'GARZONE','EDISON',3,0
|
| 417 |
+
89101,'CAS',2010-01-29,2010-01-30,201.25,'GIOVANINI','ROXANE',1,1
|
| 418 |
+
57298,'CAS',2010-01-30,2010-02-03,148.75,'KNOP','JEFFRY',1,0
|
| 419 |
+
56797,'CAS',2010-02-03,2010-02-05,175.0,'PFEUFFER','VALENTIN',3,0
|
| 420 |
+
32138,'CAS',2010-02-05,2010-02-07,175.0,'KOEHNE','YUONNE',3,1
|
| 421 |
+
74036,'CAS',2010-02-08,2010-02-14,175.0,'MANTERNACH','ALBERTA',2,0
|
| 422 |
+
90483,'CAS',2010-02-14,2010-02-25,175.0,'HUIZINGA','GILBERT',2,1
|
| 423 |
+
83347,'CAS',2010-02-26,2010-02-28,201.25,'MCCULLARS','ALEIDA',2,0
|
| 424 |
+
99340,'CAS',2010-03-04,2010-03-05,175.0,'DONIGAN','GLEN',3,0
|
| 425 |
+
90569,'CAS',2010-03-06,2010-03-07,201.25,'LIBBERTON','SAM',1,0
|
| 426 |
+
36156,'CAS',2010-03-07,2010-03-12,175.0,'GUILFOIL','KOREY',2,0
|
| 427 |
+
66494,'CAS',2010-03-14,2010-03-18,157.5,'KOLB','ENA',3,0
|
| 428 |
+
11718,'CAS',2010-03-18,2010-03-19,157.5,'GLIWSKI','DAN',2,1
|
| 429 |
+
20991,'CAS',2010-03-19,2010-04-01,201.25,'PLYMEL','STEPHEN',1,0
|
| 430 |
+
92372,'CAS',2010-04-01,2010-04-03,175.0,'GOODHUE','RUSSELL',1,0
|
| 431 |
+
46496,'CAS',2010-04-08,2010-04-12,175.0,'ALWINE','SHAWANDA',3,0
|
| 432 |
+
31695,'CAS',2010-04-16,2010-04-18,148.75,'KEPKE','HAROLD',2,0
|
| 433 |
+
14644,'CAS',2010-04-23,2010-04-24,148.75,'VOLANTE','EMERY',4,0
|
| 434 |
+
12631,'CAS',2010-04-24,2010-04-26,175.0,'ONEEL','PASQUALE',1,0
|
| 435 |
+
83133,'CAS',2010-04-26,2010-04-27,175.0,'JEE','HERMAN',2,2
|
| 436 |
+
93732,'CAS',2010-04-30,2010-05-02,157.5,'STARE','ELIJAH',1,0
|
| 437 |
+
82884,'CAS',2010-05-07,2010-05-08,157.5,'LEVAR','NYLA',2,1
|
| 438 |
+
13192,'CAS',2010-05-08,2010-05-15,175.0,'MCCORVEY','JESUS',1,0
|
| 439 |
+
46797,'CAS',2010-05-15,2010-05-16,175.0,'VANBLARICUM','CRISTIE',3,1
|
| 440 |
+
93382,'CAS',2010-05-16,2010-05-22,175.0,'PACHERO','MAGAN',2,2
|
| 441 |
+
83866,'CAS',2010-06-01,2010-06-05,148.75,'BARBER','CALEB',3,0
|
| 442 |
+
70937,'CAS',2010-06-06,2010-06-07,148.75,'BERTINI','DYAN',3,0
|
| 443 |
+
92150,'CAS',2010-06-13,2010-06-16,157.5,'BOBSEINE','HUMBERTO',1,2
|
| 444 |
+
87631,'CAS',2010-06-16,2010-06-23,175.0,'EDEMANN','KACI',1,0
|
| 445 |
+
70863,'CAS',2010-06-23,2010-07-05,201.25,'MUHLESTEIN','REINALDO',1,2
|
| 446 |
+
29003,'CAS',2010-07-05,2010-07-07,175.0,'MASSER','TROY',1,1
|
| 447 |
+
21050,'CAS',2010-07-11,2010-07-17,175.0,'CHATTERJEE','ALFRED',3,0
|
| 448 |
+
59593,'CAS',2010-07-17,2010-07-18,218.75,'GRULKEY','JULIO',1,3
|
| 449 |
+
92515,'CAS',2010-07-18,2010-07-25,201.25,'LIESTMAN','TOVA',2,0
|
| 450 |
+
80282,'CAS',2010-07-27,2010-07-29,157.5,'PETERSON','SHARRI',1,1
|
| 451 |
+
42424,'CAS',2010-08-01,2010-08-14,157.5,'SCARPINO','BERNITA',2,0
|
| 452 |
+
19812,'CAS',2010-08-14,2010-08-15,157.5,'MCCARTER','IVAN',3,1
|
| 453 |
+
85102,'CAS',2010-08-15,2010-08-16,201.25,'GIANOPULOS','LYLA',1,0
|
| 454 |
+
90653,'CAS',2010-08-16,2010-08-17,175.0,'SHIYOU','SYLVIE',1,0
|
| 455 |
+
32565,'CAS',2010-08-21,2010-08-26,157.5,'KALAFATIS','KEITH',3,0
|
| 456 |
+
28447,'CAS',2010-08-26,2010-08-27,175.0,'GEOHAGAN','ISSAC',2,2
|
| 457 |
+
75770,'CAS',2010-08-27,2010-08-29,175.0,'TRIGLETH','REYES',3,0
|
| 458 |
+
26380,'CAS',2010-08-30,2010-08-31,201.25,'KABZINSKI','MILLIE',1,0
|
| 459 |
+
15059,'CAS',2010-08-31,2010-09-07,157.5,'LERCH','NICKY',3,1
|
| 460 |
+
21863,'CAS',2010-09-07,2010-09-08,175.0,'ARGOTE','ODELIA',1,0
|
| 461 |
+
62161,'CAS',2010-09-08,2010-09-09,157.5,'IKEDA','FREEMAN',1,0
|
| 462 |
+
32781,'CAS',2010-09-09,2010-09-15,175.0,'DURAN','BO',2,2
|
| 463 |
+
98805,'CAS',2010-09-16,2010-09-18,175.0,'WITHFIELD','IVORY',1,1
|
| 464 |
+
37456,'CAS',2010-09-18,2010-09-19,175.0,'BOWEN','NIDA',2,0
|
| 465 |
+
10990,'CAS',2010-09-21,2010-09-27,175.0,'TRACHSEL','DAMIEN',1,3
|
| 466 |
+
72813,'CAS',2010-09-29,2010-10-03,201.25,'WEINLAND','BEV',3,1
|
| 467 |
+
21216,'CAS',2010-10-03,2010-10-04,201.25,'VANNAMAN','ERICH',1,0
|
| 468 |
+
98711,'CAS',2010-10-08,2010-10-09,201.25,'ROSSEY','ALLEN',1,0
|
| 469 |
+
88863,'CAS',2010-10-22,2010-10-23,175.0,'TOAN','YONG',1,0
|
| 470 |
+
60313,'CAS',2010-10-28,2010-10-30,218.75,'SLONE','LARITA',1,1
|
| 471 |
+
80582,'CAS',2010-10-30,2010-11-09,201.25,'PFEUFFER','FREDRICK',1,0
|
| 472 |
+
98328,'CAS',2010-11-14,2010-11-15,201.25,'MORAWSKI','KRIS',1,3
|
| 473 |
+
16234,'CAS',2010-11-15,2010-11-16,157.5,'GRABILL','JULEE',2,0
|
| 474 |
+
32739,'CAS',2010-11-20,2010-11-24,148.75,'SHAFE','TUAN',1,2
|
| 475 |
+
94073,'CAS',2010-11-27,2010-12-03,175.0,'MANSELL','FLORENTINO',1,0
|
| 476 |
+
32015,'CAS',2010-12-03,2010-12-05,201.25,'EADER','JACKIE',2,0
|
| 477 |
+
59986,'CAS',2010-12-05,2010-12-09,175.0,'WEINAND','HARRIETT',1,0
|
| 478 |
+
36345,'CAS',2010-12-10,2010-12-12,157.5,'TURVAVILLE','TYLER',1,0
|
| 479 |
+
99478,'CAS',2010-12-29,2010-12-31,157.5,'WENRICH','ELWOOD',3,0
|
| 480 |
+
93389,'CAS',2010-12-31,2011-01-08,218.75,'PELLOWSKI','ELKE',1,0
|
| 481 |
+
32896,'RTE',2010-01-06,2010-01-13,157.5,'LUTFY','LIZETTE',1,2
|
| 482 |
+
24412,'RTE',2010-01-23,2010-01-30,175.0,'PENEZ','AMIEE',2,0
|
| 483 |
+
76432,'RTE',2010-01-30,2010-02-03,148.75,'DIEUDONNE','KRYSTEN',2,2
|
| 484 |
+
62024,'RTE',2010-02-06,2010-02-12,157.5,'LUTTRELL','MONTY',1,3
|
| 485 |
+
25374,'RTE',2010-02-15,2010-02-17,157.5,'JASPERS','LIBBIE',1,0
|
| 486 |
+
45483,'RTE',2010-02-17,2010-02-18,157.5,'JENQUIN','JAY',2,0
|
| 487 |
+
77094,'RTE',2010-02-23,2010-02-27,218.75,'DISHAW','CODY',1,2
|
| 488 |
+
93672,'RTE',2010-02-28,2010-03-04,148.75,'SOMO','FELICITAS',1,1
|
| 489 |
+
49606,'RTE',2010-03-04,2010-03-05,201.25,'YOKUM','GARRY',1,3
|
| 490 |
+
23740,'RTE',2010-03-07,2010-03-12,218.75,'NOWLEY','ROMEO',2,0
|
| 491 |
+
14447,'RTE',2010-03-14,2010-03-18,201.25,'MAASCH','CHARISSA',2,0
|
| 492 |
+
52353,'RTE',2010-03-31,2010-04-07,201.25,'WISWELL','JERROD',1,0
|
| 493 |
+
45279,'RTE',2010-04-08,2010-04-12,201.25,'HALBERSTAM','SHERRILL',4,0
|
| 494 |
+
50459,'RTE',2010-04-14,2010-04-15,218.75,'LORENZANO','SON',1,2
|
| 495 |
+
50458,'RTE',2010-04-18,2010-04-20,175.0,'VOLANTE','EMERY',1,2
|
| 496 |
+
98557,'RTE',2010-04-20,2010-04-21,218.75,'MAIDENS','THOMASINE',1,2
|
| 497 |
+
25010,'RTE',2010-04-22,2010-05-01,201.25,'WESTRUM','TIMMY',2,2
|
| 498 |
+
54061,'RTE',2010-05-05,2010-05-12,175.0,'BARTHELL','RICARDA',1,0
|
| 499 |
+
79213,'RTE',2010-05-17,2010-05-29,157.5,'NEUZIL','MIREYA',1,3
|
| 500 |
+
34999,'RTE',2010-06-15,2010-06-19,175.0,'DANIELLO','RUDOLF',1,1
|
| 501 |
+
37309,'RTE',2010-06-19,2010-06-21,175.0,'PERRINO','DENNY',3,1
|
| 502 |
+
48854,'RTE',2010-06-26,2010-06-27,175.0,'TROKEY','INGRID',2,0
|
| 503 |
+
22954,'RTE',2010-06-27,2010-07-04,157.5,'ALLAIRE','RAMONA',1,1
|
| 504 |
+
14896,'RTE',2010-07-04,2010-07-06,148.75,'KUDRON','CATHERIN',1,1
|
| 505 |
+
30186,'RTE',2010-07-06,2010-07-07,175.0,'MAKI','ADAN',1,0
|
| 506 |
+
53186,'RTE',2010-07-09,2010-07-14,157.5,'MANARD','ARDELIA',1,0
|
| 507 |
+
43707,'RTE',2010-07-14,2010-07-16,175.0,'GUT','ALEJANDRA',1,1
|
| 508 |
+
71343,'RTE',2010-07-19,2010-07-21,201.25,'TOWBER','MODESTO',1,0
|
| 509 |
+
81785,'RTE',2010-07-23,2010-07-24,157.5,'FALT','SHAWN',1,0
|
| 510 |
+
49802,'RTE',2010-07-30,2010-08-04,157.5,'CONRAD','ELODIA',1,1
|
| 511 |
+
77535,'RTE',2010-08-08,2010-08-12,201.25,'KEBEDE','ARON',1,3
|
| 512 |
+
12142,'RTE',2010-08-13,2010-08-23,175.0,'JUNOR','LENNY',3,1
|
| 513 |
+
18398,'RTE',2010-08-23,2010-08-24,175.0,'PARAGAS','ALVIN',1,1
|
| 514 |
+
79161,'RTE',2010-08-24,2010-08-25,175.0,'RUBERTI','DOMINIC',1,0
|
| 515 |
+
82503,'RTE',2010-08-27,2010-08-29,175.0,'RIINA','TATIANA',2,2
|
| 516 |
+
80760,'RTE',2010-09-03,2010-09-04,175.0,'DELISSER','COLEMAN',3,1
|
| 517 |
+
42688,'RTE',2010-09-04,2010-09-08,148.75,'BRIERTON','MAJOR',1,2
|
| 518 |
+
73364,'RTE',2010-09-09,2010-09-10,157.5,'MAROUN','MARTH',1,0
|
| 519 |
+
49609,'RTE',2010-09-12,2010-09-17,175.0,'ZEPEDA','ELANA',2,2
|
| 520 |
+
45022,'RTE',2010-09-20,2010-09-21,175.0,'PAILET','GIUSEPPE',3,1
|
| 521 |
+
15192,'RTE',2010-09-22,2010-09-23,175.0,'JEFFRYES','DANILO',1,0
|
| 522 |
+
15428,'RTE',2010-09-25,2010-09-27,175.0,'BROOKSHEAR','NAPOLEON',2,0
|
| 523 |
+
57909,'RTE',2010-10-02,2010-10-06,201.25,'OULETTE','ALDO',1,0
|
| 524 |
+
28353,'RTE',2010-10-06,2010-10-08,148.75,'PINNELL','ANITA',1,2
|
| 525 |
+
71802,'RTE',2010-10-23,2010-10-29,201.25,'GOODHUE','RUSSELL',1,0
|
| 526 |
+
87949,'RTE',2010-11-02,2010-11-03,201.25,'SCHWEITZ','DANNETTE',3,1
|
| 527 |
+
19701,'RTE',2010-11-14,2010-11-15,201.25,'HOTELLING','REGENIA',1,0
|
| 528 |
+
79296,'RTE',2010-11-15,2010-11-17,175.0,'BLACKMORE','APRYL',1,0
|
| 529 |
+
85166,'RTE',2010-11-17,2010-11-19,201.25,'RAUGHT','DARON',3,1
|
| 530 |
+
21490,'RTE',2010-11-23,2010-11-24,175.0,'PAVLOCK','MARCELO',2,2
|
| 531 |
+
45745,'RTE',2010-11-29,2010-11-30,175.0,'MEGGS','CARY',1,0
|
| 532 |
+
83487,'RTE',2010-11-30,2010-12-02,175.0,'SHARRER','SHARA',1,0
|
| 533 |
+
38293,'RTE',2010-12-17,2010-12-19,157.5,'SCHOSSOW','BO',3,1
|
| 534 |
+
17480,'RTE',2010-12-22,2010-12-28,157.5,'DEBARDELABEN','NELL',3,0
|
| 535 |
+
64785,'RTE',2010-12-28,2011-01-04,148.75,'MAEWEATHER','AUGUST',3,0
|
| 536 |
+
56517,'FNA',2010-01-01,2010-01-04,225.0,'TUPPEN','HANS',1,1
|
| 537 |
+
65186,'FNA',2010-01-13,2010-01-15,250.0,'GOSSERAND','CURTIS',2,1
|
| 538 |
+
25966,'FNA',2010-01-15,2010-01-17,212.5,'DUMAN','LUKE',3,1
|
| 539 |
+
66899,'FNA',2010-01-18,2010-01-19,225.0,'TUNE','MARISSA',1,0
|
| 540 |
+
58779,'FNA',2010-01-19,2010-01-21,250.0,'ZENTNER','ROBBIE',1,1
|
| 541 |
+
93918,'FNA',2010-01-26,2010-01-31,250.0,'HARDACRE','NEIL',3,0
|
| 542 |
+
51685,'FNA',2010-02-03,2010-02-04,250.0,'EIMER','LYNELLE',2,0
|
| 543 |
+
28499,'FNA',2010-02-04,2010-02-05,212.5,'DOMINGUEZ','STACEY',1,1
|
| 544 |
+
95600,'FNA',2010-02-05,2010-02-07,225.0,'MOUTON','CASANDRA',4,0
|
| 545 |
+
14834,'FNA',2010-02-07,2010-02-13,225.0,'WITTROCK','DEBBIE',1,2
|
| 546 |
+
71009,'FNA',2010-02-18,2010-02-20,250.0,'OXBORROW','CARLETTA',2,0
|
| 547 |
+
63153,'FNA',2010-02-20,2010-02-22,312.5,'TROKEY','INGRID',4,0
|
| 548 |
+
28771,'FNA',2010-02-26,2010-03-09,250.0,'MORRISSETTE','FAVIOLA',3,1
|
| 549 |
+
13205,'FNA',2010-03-14,2010-03-18,250.0,'VANDOREN','MAJOR',1,0
|
| 550 |
+
72656,'FNA',2010-03-18,2010-03-19,250.0,'PICHARD','HOLLIS',1,3
|
| 551 |
+
67292,'FNA',2010-03-24,2010-03-28,287.5,'GUEDESSE','SOL',3,0
|
| 552 |
+
22169,'FNA',2010-04-06,2010-04-07,287.5,'SCHUL','HOYT',1,0
|
| 553 |
+
65283,'FNA',2010-04-08,2010-04-09,287.5,'ALLAIRE','RAMONA',2,0
|
| 554 |
+
11631,'FNA',2010-04-10,2010-04-12,312.5,'ESPINO','MARCELINA',2,1
|
| 555 |
+
83396,'FNA',2010-04-12,2010-04-13,250.0,'DRDA','LESTER',1,1
|
| 556 |
+
99863,'FNA',2010-04-17,2010-04-19,250.0,'ARBUCKLE','LORENA',4,0
|
| 557 |
+
54811,'FNA',2010-04-19,2010-04-20,225.0,'KLEVER','ERASMO',2,1
|
| 558 |
+
47352,'FNA',2010-04-20,2010-04-24,225.0,'MARZETT','JOSEPH',1,1
|
| 559 |
+
28691,'FNA',2010-04-24,2010-04-26,225.0,'SLUKA','AIKO',1,1
|
| 560 |
+
73732,'FNA',2010-04-26,2010-04-28,250.0,'RODERICK','JOSLYN',1,0
|
| 561 |
+
26561,'FNA',2010-04-29,2010-05-03,250.0,'DYDA','DORIAN',2,2
|
| 562 |
+
80964,'FNA',2010-05-03,2010-05-10,225.0,'RHYME','QUINN',4,0
|
| 563 |
+
85215,'FNA',2010-05-14,2010-05-21,250.0,'TEHNEY','DARRYL',1,0
|
| 564 |
+
60205,'FNA',2010-05-22,2010-05-31,225.0,'FRAINE','MANDA',1,1
|
| 565 |
+
37773,'FNA',2010-05-31,2010-06-06,312.5,'BOUGIE','MONTE',1,1
|
| 566 |
+
69796,'FNA',2010-06-09,2010-06-11,250.0,'LUANGSINGOTHA','WILHELMINA',1,3
|
| 567 |
+
19494,'FNA',2010-06-12,2010-06-19,287.5,'VORWERK','DORINE',1,0
|
| 568 |
+
41037,'FNA',2010-06-19,2010-07-02,225.0,'DUB','SUZANNE',1,0
|
| 569 |
+
74117,'FNA',2010-07-02,2010-07-04,225.0,'HORTILLOSA','FREDDY',1,0
|
| 570 |
+
17338,'FNA',2010-07-04,2010-07-05,287.5,'RUBY','QUENTIN',2,2
|
| 571 |
+
71818,'FNA',2010-07-05,2010-07-06,250.0,'SALOWITZ','QUEEN',2,1
|
| 572 |
+
99419,'FNA',2010-07-11,2010-07-12,250.0,'DALGLEISH','RYAN',4,0
|
| 573 |
+
87412,'FNA',2010-07-16,2010-07-22,250.0,'HARE','ELSIE',2,2
|
| 574 |
+
71902,'FNA',2010-07-27,2010-07-31,250.0,'ANNABLE','IRA',1,0
|
| 575 |
+
94437,'FNA',2010-07-31,2010-08-02,250.0,'SVATEK','KELLY',2,0
|
| 576 |
+
82515,'FNA',2010-08-02,2010-08-03,287.5,'ALWINE','SHAWANDA',1,2
|
| 577 |
+
79615,'FNA',2010-08-03,2010-08-05,250.0,'CONRAD','ELODIA',1,2
|
| 578 |
+
22615,'FNA',2010-08-09,2010-08-10,212.5,'QUISPE','MARGARITO',1,1
|
| 579 |
+
59166,'FNA',2010-08-20,2010-08-21,250.0,'TANI','DOMINICK',3,0
|
| 580 |
+
23302,'FNA',2010-08-21,2010-08-22,287.5,'CONSTABLE','RASHAD',1,2
|
| 581 |
+
53668,'FNA',2010-08-22,2010-08-24,287.5,'FIGUROA','BEN',1,0
|
| 582 |
+
30671,'FNA',2010-08-29,2010-09-01,225.0,'KON','DEWAYNE',1,1
|
| 583 |
+
35922,'FNA',2010-09-01,2010-09-02,287.5,'SINGERMAN','YAN',1,0
|
| 584 |
+
75457,'FNA',2010-09-05,2010-09-07,225.0,'SEGO','HUNG',1,0
|
| 585 |
+
16061,'FNA',2010-09-11,2010-09-14,312.5,'ENDLER','ODIS',2,1
|
| 586 |
+
25389,'FNA',2010-09-19,2010-09-21,212.5,'INTERRANTE','EMMITT',3,1
|
| 587 |
+
60454,'FNA',2010-10-06,2010-10-08,225.0,'GOLSTON','CONSUELA',2,2
|
| 588 |
+
28198,'FNA',2010-10-08,2010-10-18,225.0,'SAPORITO','ANDREAS',1,0
|
| 589 |
+
39910,'FNA',2010-10-19,2010-10-21,250.0,'KAMINSKY','DANNY',1,0
|
| 590 |
+
92303,'FNA',2010-11-04,2010-11-10,287.5,'BRISENDINE','JEWEL',1,0
|
| 591 |
+
26345,'FNA',2010-11-10,2010-11-12,250.0,'QUEROS','MAHALIA',1,1
|
| 592 |
+
99236,'FNA',2010-11-16,2010-11-17,287.5,'SCHOENING','LEROY',1,1
|
| 593 |
+
85417,'FNA',2010-11-21,2010-11-26,225.0,'MULKEY','EMERY',2,0
|
| 594 |
+
10574,'FNA',2010-11-26,2010-12-03,287.5,'SWEAZY','ROY',2,1
|
| 595 |
+
29568,'FNA',2010-12-03,2010-12-08,225.0,'BOETTNER','REIKO',3,0
|
| 596 |
+
28106,'FNA',2010-12-11,2010-12-17,312.5,'VANDERSCHAEGE','MITZIE',2,0
|
| 597 |
+
56373,'FNA',2010-12-18,2010-12-20,225.0,'BEGEN','ASHLYN',3,0
|
| 598 |
+
94004,'FNA',2010-12-21,2010-12-24,250.0,'JARVI','JOHNNIE',4,0
|
| 599 |
+
28948,'FNA',2010-12-24,2010-12-26,287.5,'RUPE','QUIANA',2,0
|
| 600 |
+
71987,'FNA',2010-12-30,2010-12-31,250.0,'HARE','ELSIE',2,0
|
| 601 |
+
67409,'FNA',2010-12-31,2011-01-04,250.0,'MADRON','DONNIE',2,1
|
test_database/inn_1/data_csv/Rooms.csv
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
RoomId,roomName,beds,bedType,maxOccupancy,basePrice,decor
|
| 2 |
+
'RND','Recluse and defiance',1,'King',2,150,'modern'
|
| 3 |
+
'IBS','Interim but salutary',1,'King',2,150,'traditional'
|
| 4 |
+
'AOB','Abscond or bolster',2,'Queen',4,175,'traditional'
|
| 5 |
+
'MWC','Mendicant with cryptic',2,'Double',4,125,'modern'
|
| 6 |
+
'HBB','Harbinger but bequest',1,'Queen',2,100,'modern'
|
| 7 |
+
'IBD','Immutable before decorum',2,'Queen',4,150,'rustic'
|
| 8 |
+
'TAA','Thrift and accolade',1,'Double',2,75,'modern'
|
| 9 |
+
'CAS','Convoke and sanguine',2,'King',4,175,'traditional'
|
| 10 |
+
'RTE','Riddle to exculpate',2,'Queen',4,175,'rustic'
|
| 11 |
+
'FNA','Frugal not apropos',2,'King',4,250,'traditional'
|
test_database/local_govt_mdm/local_govt_mdm.sqlite
ADDED
|
Binary file (36.9 kB). View file
|
|
|
test_database/medicine_enzyme_interaction/medicine_enzyme_interaction.sqlite
ADDED
|
Binary file (28.7 kB). View file
|
|
|
test_database/mountain_photos/mountain_photos.sqlite
ADDED
|
Binary file (28.7 kB). View file
|
|
|
test_database/mountain_photos/schema.sql
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PRAGMA foreign_keys=ON;
|
| 2 |
+
BEGIN TRANSACTION;
|
| 3 |
+
CREATE TABLE IF NOT EXISTS "mountain" (
|
| 4 |
+
"id" int,
|
| 5 |
+
"name" text,
|
| 6 |
+
"Height" real,
|
| 7 |
+
"Prominence" real,
|
| 8 |
+
"Range" text,
|
| 9 |
+
"Country" text,
|
| 10 |
+
primary key("id")
|
| 11 |
+
);
|
| 12 |
+
INSERT INTO mountain VALUES(1,'Abune Yosef / Guliba Amba',4260.0000000000000002,1908.9999999999999999,'Lasta Massif','Ethiopia');
|
| 13 |
+
INSERT INTO mountain VALUES(2,'Ioll / Yoll',4219.9999999999999998,350.0,'Kollo Massif','Ethiopia');
|
| 14 |
+
INSERT INTO mountain VALUES(3,'Bada',4195.0000000000000001,1605.0,'Arsi Mountains','Ethiopia');
|
| 15 |
+
INSERT INTO mountain VALUES(4,'Kaka / Kecha / Chiqe',4193.0000000000000001,1215.0,'Arsi Mountains','Ethiopia');
|
| 16 |
+
INSERT INTO mountain VALUES(5,'Jbel Toubkal',4167.0,3755.0000000000000001,'Toubkal Atlas','Morocco');
|
| 17 |
+
INSERT INTO mountain VALUES(6,'Muhavura',4127.0,1529.9999999999999999,'Virunga Mountains','Rwanda Uganda');
|
| 18 |
+
INSERT INTO mountain VALUES(7,'Hey / Hay',4125.0,659.99999999999999999,'Semien Mountains','Ethiopia');
|
| 19 |
+
INSERT INTO mountain VALUES(8,'Guna',4119.9999999999999998,1509.9999999999999999,'Guna Massif','Ethiopia');
|
| 20 |
+
INSERT INTO mountain VALUES(9,'Choqa / Choke / Birhan',4099.9999999999999999,2224.9999999999999999,'Choqa Mountains','Ethiopia');
|
| 21 |
+
INSERT INTO mountain VALUES(10,'Ouanoukrim',4088.0,419.99999999999999998,'Toubkal Atlas','Morocco');
|
| 22 |
+
INSERT INTO mountain VALUES(11,'Chilalo',4071.0000000000000001,609.99999999999999999,'Arsi Mountains','Ethiopia');
|
| 23 |
+
INSERT INTO mountain VALUES(12,'Mount Cameroon',4070.0000000000000001,3931.0000000000000001,'Cameroon line','Cameroon');
|
| 24 |
+
INSERT INTO mountain VALUES(13,'Inatye',4070.0000000000000001,500.0,'Semien Mountains','Ethiopia');
|
| 25 |
+
INSERT INTO mountain VALUES(14,'Ighil Mgoun',4068.0000000000000001,1903.9999999999999999,'Central High Atlas','Morocco');
|
| 26 |
+
INSERT INTO mountain VALUES(15,'Weshema / Wasema?',4030.0000000000000001,419.99999999999999998,'Bale Mountains','Ethiopia');
|
| 27 |
+
INSERT INTO mountain VALUES(16,'Oldoinyo Lesatima',4001.0,2080.9999999999999999,'Aberdare Range','Kenya');
|
| 28 |
+
INSERT INTO mountain VALUES(17,'Jebel n''Tarourt / Tifnout / Iferouane',3995.9999999999999999,910.00000000000000003,'Toubkal Atlas','Morocco');
|
| 29 |
+
INSERT INTO mountain VALUES(18,'Muggia',3950.0,500.0,'Lasta Massif','Ethiopia');
|
| 30 |
+
INSERT INTO mountain VALUES(19,'Dubbai',3941.0,1539.9999999999999999,'Tigray Mountains','Ethiopia');
|
| 31 |
+
INSERT INTO mountain VALUES(20,'Taska n’Zat',3911.9999999999999999,459.99999999999999999,'Toubkal Atlas','Morocco');
|
| 32 |
+
INSERT INTO mountain VALUES(21,'Aksouâl',3902.9999999999999998,450.0,'Toubkal Atlas','Morocco');
|
| 33 |
+
INSERT INTO mountain VALUES(22,'Mount Kinangop',3901.9999999999999998,530.00000000000000001,'Aberdare Range','Kenya');
|
| 34 |
+
INSERT INTO mountain VALUES(23,'Cimbia',3900.0,590.0,'Kollo Massif','Ethiopia');
|
| 35 |
+
CREATE TABLE IF NOT EXISTS "camera_lens" (
|
| 36 |
+
"id" int,
|
| 37 |
+
"brand" text,
|
| 38 |
+
"name" text,
|
| 39 |
+
"focal_length_mm" real,
|
| 40 |
+
"max_aperture" real,
|
| 41 |
+
primary key("id")
|
| 42 |
+
);
|
| 43 |
+
INSERT INTO camera_lens VALUES(1,'Olympus','Olympus 15mm f/8.0 Body Cap',15.0,8.0);
|
| 44 |
+
INSERT INTO camera_lens VALUES(2,'Olympus','Olympus M.Zuiko Digital ED 45mm f/1.8',45.0,1.8000000000000000444);
|
| 45 |
+
INSERT INTO camera_lens VALUES(3,'Olympus','Olympus M.Zuiko Digital ED 75mm f/1.8',75.0,1.8000000000000000444);
|
| 46 |
+
INSERT INTO camera_lens VALUES(4,'Panasonic','Panasonic Leica DG Summilux 25mm f /1.4 Asph.',25.0,1.3999999999999999111);
|
| 47 |
+
INSERT INTO camera_lens VALUES(5,'Panasonic','Panasonic Leica DG Nocticron 42.5mm f /1.2',42.5,1.1999999999999999555);
|
| 48 |
+
INSERT INTO camera_lens VALUES(6,'Panasonic','Panasonic Lumix G 150mm f /2.8',150.0,2.7999999999999998223);
|
| 49 |
+
INSERT INTO camera_lens VALUES(7,'Schneider Kreuznach','Schneider Kreuznach Super Angulon 14mm f /2.0',13.999999999999999999,2.0);
|
| 50 |
+
INSERT INTO camera_lens VALUES(8,'Schneider Kreuznach','Schneider Kreuznach Xenon 30mm f /1.4',30.0,1.3999999999999999111);
|
| 51 |
+
INSERT INTO camera_lens VALUES(9,'Sigma','Sigma 19mm f2.8 DN',19.0,2.7999999999999998223);
|
| 52 |
+
INSERT INTO camera_lens VALUES(10,'Sigma','Sigma 19mm f2.8 EX DN',19.0,2.7999999999999998223);
|
| 53 |
+
INSERT INTO camera_lens VALUES(11,'Sigma','Sigma 30mm f2.8 DN',30.0,2.7999999999999998223);
|
| 54 |
+
CREATE TABLE IF NOT EXISTS "photos" (
|
| 55 |
+
"id" int,
|
| 56 |
+
"camera_lens_id" int,
|
| 57 |
+
"mountain_id" int,
|
| 58 |
+
"color" text,
|
| 59 |
+
"name" text,
|
| 60 |
+
primary key("id"),
|
| 61 |
+
foreign key("camera_lens_id") references `camera_lens`("id"),
|
| 62 |
+
foreign key("mountain_id") references `mountain`("id")
|
| 63 |
+
);
|
| 64 |
+
INSERT INTO photos VALUES(1,1,20,'RBG','monkey');
|
| 65 |
+
INSERT INTO photos VALUES(2,10,2,'RBG','rabbits');
|
| 66 |
+
INSERT INTO photos VALUES(3,10,1,'Black/White','deers');
|
| 67 |
+
INSERT INTO photos VALUES(4,1,10,'RBG','grass');
|
| 68 |
+
INSERT INTO photos VALUES(5,5,14,'RBG','cloud');
|
| 69 |
+
INSERT INTO photos VALUES(6,6,12,'RBG','sunset');
|
| 70 |
+
INSERT INTO photos VALUES(7,7,12,'RBG','river');
|
| 71 |
+
INSERT INTO photos VALUES(8,7,12,'Black/White','wolfs');
|
| 72 |
+
INSERT INTO photos VALUES(9,10,14,'RBG','the mountain');
|
| 73 |
+
INSERT INTO photos VALUES(10,10,20,'RBG','life');
|
| 74 |
+
COMMIT;
|
| 75 |
+
|
test_database/movie_2/annotation.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"label_id": null,
|
| 3 |
+
"data": [
|
| 4 |
+
{
|
| 5 |
+
"nl": "Select the title of all movies.\n",
|
| 6 |
+
"id": 0,
|
| 7 |
+
"sql": "select title from movies;\n"
|
| 8 |
+
},
|
| 9 |
+
{
|
| 10 |
+
"nl": "Show all the distinct ratings in the database.\n",
|
| 11 |
+
"id": 1,
|
| 12 |
+
"sql": "select distinct rating from movies;\n"
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"nl": "Show all unrated movies.\n",
|
| 16 |
+
"id": 2,
|
| 17 |
+
"sql": "select * \nfrom movies\nwhere rating is NULL;\n"
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"nl": "Select all movie theaters that are not currently showing a movie.\n",
|
| 21 |
+
"id": 3,
|
| 22 |
+
"sql": "select * from MovieTheaters\nwhere Movie is NULL;\n"
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"nl": "Select all data from all movie theaters and, additionally, the data from the movie that is being shown in the theater (if one is being shown).\n",
|
| 26 |
+
"id": 4,
|
| 27 |
+
"sql": "SELECT *\n FROM MovieTheaters LEFT JOIN Movies\n ON MovieTheaters.Movie = Movies.Code;\n"
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"nl": "Select all data from all movies and, if that movie is being shown in a theater, show the data from the theater.\n",
|
| 31 |
+
"id": 5,
|
| 32 |
+
"sql": "SELECT *\n FROM Movies LEFT JOIN MovieTheaters\n ON Movies.Code = MovieTheaters.Movie;\n"
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"nl": "Show the titles of movies not currently being shown in any theaters.",
|
| 36 |
+
"id": 6,
|
| 37 |
+
"sql": "SELECT Movies.Title\n FROM MovieTheaters RIGHT JOIN Movies\n ON MovieTheaters.Movie = Movies.Code\n WHERE MovieTheaters.Movie IS NULL;\nSELECT Title FROM Movies\n WHERE Code NOT IN\n (\n SELECT Movie FROM MovieTheaters\n WHERE Movie IS NOT NULL\n );"
|
| 38 |
+
}
|
| 39 |
+
],
|
| 40 |
+
"review_id": null
|
| 41 |
+
}
|
test_database/movie_2/link.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
https://github.com/XD-DENG/SQL-exercise
|
test_database/movie_2/movie_2.sqlite
ADDED
|
Binary file (12.3 kB). View file
|
|
|
test_database/movie_2/schema.sql
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
-- https://en.wikibooks.org/wiki/SQL_Exercises/Movie_theatres
|
| 2 |
+
|
| 3 |
+
CREATE TABLE Movies (
|
| 4 |
+
Code INTEGER PRIMARY KEY,
|
| 5 |
+
Title VARCHAR(255) NOT NULL,
|
| 6 |
+
Rating VARCHAR(255)
|
| 7 |
+
);
|
| 8 |
+
|
| 9 |
+
CREATE TABLE MovieTheaters (
|
| 10 |
+
Code INTEGER PRIMARY KEY,
|
| 11 |
+
Name VARCHAR(255) NOT NULL,
|
| 12 |
+
Movie INTEGER,
|
| 13 |
+
FOREIGN KEY (Movie) REFERENCES Movies(Code)
|
| 14 |
+
) ;
|
| 15 |
+
|
| 16 |
+
INSERT INTO Movies(Code,Title,Rating) VALUES(1,'Citizen Kane','PG');
|
| 17 |
+
INSERT INTO Movies(Code,Title,Rating) VALUES(2,'Singin'' in the Rain','G');
|
| 18 |
+
INSERT INTO Movies(Code,Title,Rating) VALUES(3,'The Wizard of Oz','G');
|
| 19 |
+
INSERT INTO Movies(Code,Title,Rating) VALUES(4,'The Quiet Man',NULL);
|
| 20 |
+
INSERT INTO Movies(Code,Title,Rating) VALUES(5,'North by Northwest',NULL);
|
| 21 |
+
INSERT INTO Movies(Code,Title,Rating) VALUES(6,'The Last Tango in Paris','NC-17');
|
| 22 |
+
INSERT INTO Movies(Code,Title,Rating) VALUES(7,'Some Like it Hot','PG-13');
|
| 23 |
+
INSERT INTO Movies(Code,Title,Rating) VALUES(8,'A Night at the Opera',NULL);
|
| 24 |
+
|
| 25 |
+
INSERT INTO MovieTheaters(Code,Name,Movie) VALUES(1,'Odeon',5);
|
| 26 |
+
INSERT INTO MovieTheaters(Code,Name,Movie) VALUES(2,'Imperial',1);
|
| 27 |
+
INSERT INTO MovieTheaters(Code,Name,Movie) VALUES(3,'Majestic',NULL);
|
| 28 |
+
INSERT INTO MovieTheaters(Code,Name,Movie) VALUES(4,'Royale',6);
|
| 29 |
+
INSERT INTO MovieTheaters(Code,Name,Movie) VALUES(5,'Paraiso',3);
|
| 30 |
+
INSERT INTO MovieTheaters(Code,Name,Movie) VALUES(6,'Nickelodeon',NULL);
|
test_database/music_2/music_2.sqlite
ADDED
|
Binary file (49.2 kB). View file
|
|
|
test_database/online_exams/simple_schema.sql
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
CREATE TABLE Students (
|
| 2 |
+
Student_ID INTEGER NOT NULL,
|
| 3 |
+
First_Name VARCHAR(255),
|
| 4 |
+
Middle_Name VARCHAR(255),
|
| 5 |
+
Last_Name VARCHAR(255),
|
| 6 |
+
Gender_MFU CHAR(1),
|
| 7 |
+
Student_Address VARCHAR(255),
|
| 8 |
+
Email_Adress VARCHAR(255),
|
| 9 |
+
Cell_Mobile_Phone VARCHAR(255),
|
| 10 |
+
Home_Phone VARCHAR(255),
|
| 11 |
+
PRIMARY KEY (Student_ID)
|
| 12 |
+
);
|
| 13 |
+
CREATE TABLE Questions (
|
| 14 |
+
Question_ID INTEGER NOT NULL,
|
| 15 |
+
Type_of_Question_Code VARCHAR(15) NOT NULL,
|
| 16 |
+
Question_Text VARCHAR(255),
|
| 17 |
+
PRIMARY KEY (Question_ID)
|
| 18 |
+
);
|
| 19 |
+
CREATE TABLE Exams (
|
| 20 |
+
Exam_ID INTEGER NOT NULL,
|
| 21 |
+
Subject_Code CHAR(15) NOT NULL,
|
| 22 |
+
Exam_Date DATETIME,
|
| 23 |
+
Exam_Name VARCHAR(255),
|
| 24 |
+
PRIMARY KEY (Exam_ID)
|
| 25 |
+
);
|
| 26 |
+
CREATE TABLE Questions_in_Exams (
|
| 27 |
+
Exam_ID INTEGER NOT NULL,
|
| 28 |
+
Question_ID INTEGER NOT NULL,
|
| 29 |
+
PRIMARY KEY (Exam_ID, Question_ID),
|
| 30 |
+
FOREIGN KEY (Question_ID) REFERENCES Questions (Question_ID),
|
| 31 |
+
FOREIGN KEY (Exam_ID) REFERENCES Exams (Exam_ID)
|
| 32 |
+
);
|
| 33 |
+
CREATE TABLE Valid_Answers (
|
| 34 |
+
Valid_Answer_ID INTEGER NOT NULL,
|
| 35 |
+
Question_ID INTEGER NOT NULL,
|
| 36 |
+
Valid_Answer_Text VARCHAR(255),
|
| 37 |
+
PRIMARY KEY (Valid_Answer_ID),
|
| 38 |
+
FOREIGN KEY (Question_ID) REFERENCES Questions (Question_ID)
|
| 39 |
+
);
|
| 40 |
+
CREATE TABLE Student_Answers (
|
| 41 |
+
Student_Answer_ID INTEGER NOT NULL,
|
| 42 |
+
Exam_ID INTEGER NOT NULL,
|
| 43 |
+
Question_ID INTEGER NOT NULL,
|
| 44 |
+
Student_ID INTEGER NOT NULL,
|
| 45 |
+
Date_of_Answer DATETIME,
|
| 46 |
+
Comments VARCHAR(255),
|
| 47 |
+
Satisfactory_YN VARCHAR(1),
|
| 48 |
+
Student_Answer_Text VARCHAR(255),
|
| 49 |
+
PRIMARY KEY (Student_Answer_ID),
|
| 50 |
+
FOREIGN KEY (Student_ID) REFERENCES Students (Student_ID),
|
| 51 |
+
FOREIGN KEY (Exam_ID, Question_ID) REFERENCES Questions_in_Exams (Exam_ID,Question_ID)
|
| 52 |
+
);
|
| 53 |
+
CREATE TABLE Student_Assessments (
|
| 54 |
+
Student_Answer_ID VARCHAR(100) NOT NULL,
|
| 55 |
+
Valid_Answer_ID INTEGER NOT NULL,
|
| 56 |
+
Student_Answer_Text VARCHAR(255),
|
| 57 |
+
Satisfactory_YN CHAR(1),
|
| 58 |
+
Assessment VARCHAR(40),
|
| 59 |
+
PRIMARY KEY (Student_Answer_ID),
|
| 60 |
+
FOREIGN KEY (Valid_Answer_ID) REFERENCES Valid_Answers (Valid_Answer_ID)
|
| 61 |
+
);
|
test_database/phone_market/phone_market.sqlite
ADDED
|
Binary file (28.7 kB). View file
|
|
|
test_database/phone_market/schema.sql
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
PRAGMA foreign_keys = ON;
|
| 4 |
+
|
| 5 |
+
|
| 6 |
+
CREATE TABLE "phone" (
|
| 7 |
+
"Name" text,
|
| 8 |
+
"Phone_ID" int,
|
| 9 |
+
"Memory_in_G" int,
|
| 10 |
+
"Carrier" text,
|
| 11 |
+
"Price" real,
|
| 12 |
+
PRIMARY KEY ("Phone_ID")
|
| 13 |
+
);
|
| 14 |
+
|
| 15 |
+
CREATE TABLE "market" (
|
| 16 |
+
"Market_ID" int,
|
| 17 |
+
"District" text,
|
| 18 |
+
"Num_of_employees" int,
|
| 19 |
+
"Num_of_shops" real,
|
| 20 |
+
"Ranking" int,
|
| 21 |
+
PRIMARY KEY ("Market_ID")
|
| 22 |
+
);
|
| 23 |
+
|
| 24 |
+
INSERT INTO "phone" VALUES ("IPhone 5s","1","32","Sprint","320");
|
| 25 |
+
INSERT INTO "phone" VALUES ("IPhone 6","5","128","Sprint","480");
|
| 26 |
+
INSERT INTO "phone" VALUES ("IPhone 6s","2","128","TMobile","699");
|
| 27 |
+
INSERT INTO "phone" VALUES ("IPhone 7","4","16","TMobile","899");
|
| 28 |
+
INSERT INTO "phone" VALUES ("IPhone X","3","64","TMobile","1000");
|
| 29 |
+
|
| 30 |
+
INSERT INTO "market" VALUES (1,"Alberta","1966","40","1");
|
| 31 |
+
INSERT INTO "market" VALUES (2,"British Columbia","1965","49","21");
|
| 32 |
+
INSERT INTO "market" VALUES (3,"New Brunswick","1978","10","4");
|
| 33 |
+
INSERT INTO "market" VALUES (4,"Nova Scotia","1968","32","5");
|
| 34 |
+
INSERT INTO "market" VALUES (5,"Ontario","1958","54","3");
|
| 35 |
+
INSERT INTO "market" VALUES (6,"Quebec","1958","54","8");
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
CREATE TABLE "phone_market" (
|
| 39 |
+
"Market_ID" int,
|
| 40 |
+
"Phone_ID" text,
|
| 41 |
+
"Num_of_stock" int,
|
| 42 |
+
PRIMARY KEY ("Market_ID","Phone_ID"),
|
| 43 |
+
FOREIGN KEY ("Market_ID") REFERENCES `market`("Market_ID"),
|
| 44 |
+
FOREIGN KEY ("Phone_ID") REFERENCES `phone`("Phone_ID")
|
| 45 |
+
);
|
| 46 |
+
|
| 47 |
+
INSERT INTO "phone_market" VALUES (1,1,2232);
|
| 48 |
+
INSERT INTO "phone_market" VALUES (2,2,4324);
|
| 49 |
+
INSERT INTO "phone_market" VALUES (1,4,874);
|
| 50 |
+
INSERT INTO "phone_market" VALUES (5,1,682);
|
| 51 |
+
INSERT INTO "phone_market" VALUES (2,3,908);
|
| 52 |
+
INSERT INTO "phone_market" VALUES (6,3,1632);
|
| 53 |
+
|
| 54 |
+
|
test_database/planet_1/q.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Who receieved a 1.5kg package?
|
| 2 |
+
|
| 3 |
+
What is the total weight of all the packages that he sent?
|
test_database/planet_1/schema.sql
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
-- https://en.wikibooks.org/wiki/SQL_Exercises/Planet_Express
|
| 2 |
+
|
| 3 |
+
CREATE TABLE Employee (
|
| 4 |
+
EmployeeID INTEGER PRIMARY KEY,
|
| 5 |
+
Name VARCHAR(255) NOT NULL,
|
| 6 |
+
Position VARCHAR(255) NOT NULL,
|
| 7 |
+
Salary REAL NOT NULL,
|
| 8 |
+
Remarks VARCHAR(255)
|
| 9 |
+
);
|
| 10 |
+
|
| 11 |
+
CREATE TABLE Planet (
|
| 12 |
+
PlanetID INTEGER PRIMARY KEY,
|
| 13 |
+
Name VARCHAR(255) NOT NULL,
|
| 14 |
+
Coordinates REAL NOT NULL
|
| 15 |
+
);
|
| 16 |
+
|
| 17 |
+
CREATE TABLE Shipment (
|
| 18 |
+
ShipmentID INTEGER PRIMARY KEY,
|
| 19 |
+
Date DATE,
|
| 20 |
+
Manager INTEGER NOT NULL,
|
| 21 |
+
Planet INTEGER NOT NULL,
|
| 22 |
+
FOREIGN KEY (Manager) REFERENCES Employee(EmployeeID),
|
| 23 |
+
FOREIGN KEY (Planet) REFERENCES Planet(PlanetID)
|
| 24 |
+
) ;
|
| 25 |
+
|
| 26 |
+
CREATE TABLE Has_Clearance (
|
| 27 |
+
Employee INTEGER NOT NULL,
|
| 28 |
+
Planet INTEGER NOT NULL,
|
| 29 |
+
Level INTEGER NOT NULL,
|
| 30 |
+
PRIMARY KEY(Employee, Planet),
|
| 31 |
+
FOREIGN KEY (Employee) REFERENCES Employee(EmployeeID),
|
| 32 |
+
FOREIGN KEY (Planet) REFERENCES Planet(PlanetID)
|
| 33 |
+
) ;
|
| 34 |
+
|
| 35 |
+
CREATE TABLE Client (
|
| 36 |
+
AccountNumber INTEGER PRIMARY KEY,
|
| 37 |
+
Name VARCHAR(255) NOT NULL
|
| 38 |
+
) ;
|
| 39 |
+
|
| 40 |
+
CREATE TABLE Package (
|
| 41 |
+
Shipment INTEGER NOT NULL,
|
| 42 |
+
PackageNumber INTEGER NOT NULL,
|
| 43 |
+
Contents VARCHAR(255) NOT NULL,
|
| 44 |
+
Weight REAL NOT NULL,
|
| 45 |
+
Sender INTEGER NOT NULL,
|
| 46 |
+
Recipient INTEGER NOT NULL,
|
| 47 |
+
PRIMARY KEY(Shipment, PackageNumber),
|
| 48 |
+
FOREIGN KEY (Shipment) REFERENCES Shipment(ShipmentID),
|
| 49 |
+
FOREIGN KEY (Sender) REFERENCES Client(AccountNumber),
|
| 50 |
+
FOREIGN KEY (Recipient) REFERENCES Client(AccountNumber)
|
| 51 |
+
) ;
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
INSERT INTO Client VALUES(1, 'Zapp Brannigan');
|
| 55 |
+
INSERT INTO Client VALUES(2, "Al Gore's Head");
|
| 56 |
+
INSERT INTO Client VALUES(3, 'Barbados Slim');
|
| 57 |
+
INSERT INTO Client VALUES(4, 'Ogden Wernstrom');
|
| 58 |
+
INSERT INTO Client VALUES(5, 'Leo Wong');
|
| 59 |
+
INSERT INTO Client VALUES(6, 'Lrrr');
|
| 60 |
+
INSERT INTO Client VALUES(7, 'John Zoidberg');
|
| 61 |
+
INSERT INTO Client VALUES(8, 'John Zoidfarb');
|
| 62 |
+
INSERT INTO Client VALUES(9, 'Morbo');
|
| 63 |
+
INSERT INTO Client VALUES(10, 'Judge John Whitey');
|
| 64 |
+
INSERT INTO Client VALUES(11, 'Calculon');
|
| 65 |
+
INSERT INTO Employee VALUES(1, 'Phillip J. Fry', 'Delivery boy', 7500.0, 'Not to be confused with the Philip J. Fry from Hovering Squid World 97a');
|
| 66 |
+
INSERT INTO Employee VALUES(2, 'Turanga Leela', 'Captain', 10000.0, NULL);
|
| 67 |
+
INSERT INTO Employee VALUES(3, 'Bender Bending Rodriguez', 'Robot', 7500.0, NULL);
|
| 68 |
+
INSERT INTO Employee VALUES(4, 'Hubert J. Farnsworth', 'CEO', 20000.0, NULL);
|
| 69 |
+
INSERT INTO Employee VALUES(5, 'John A. Zoidberg', 'Physician', 25.0, NULL);
|
| 70 |
+
INSERT INTO Employee VALUES(6, 'Amy Wong', 'Intern', 5000.0, NULL);
|
| 71 |
+
INSERT INTO Employee VALUES(7, 'Hermes Conrad', 'Bureaucrat', 10000.0, NULL);
|
| 72 |
+
INSERT INTO Employee VALUES(8, 'Scruffy Scruffington', 'Janitor', 5000.0, NULL);
|
| 73 |
+
INSERT INTO Planet VALUES(1, 'Omicron Persei 8', 89475345.3545);
|
| 74 |
+
INSERT INTO Planet VALUES(2, 'Decapod X', 65498463216.3466);
|
| 75 |
+
INSERT INTO Planet VALUES(3, 'Mars', 32435021.65468);
|
| 76 |
+
INSERT INTO Planet VALUES(4, 'Omega III', 98432121.5464);
|
| 77 |
+
INSERT INTO Planet VALUES(5, 'Tarantulon VI', 849842198.354654);
|
| 78 |
+
INSERT INTO Planet VALUES(6, 'Cannibalon', 654321987.21654);
|
| 79 |
+
INSERT INTO Planet VALUES(7, 'DogDoo VII', 65498721354.688);
|
| 80 |
+
INSERT INTO Planet VALUES(8, 'Nintenduu 64', 6543219894.1654);
|
| 81 |
+
INSERT INTO Planet VALUES(9, 'Amazonia', 65432135979.6547);
|
| 82 |
+
INSERT INTO Has_Clearance VALUES(1, 1, 2);
|
| 83 |
+
INSERT INTO Has_Clearance VALUES(1, 2, 3);
|
| 84 |
+
INSERT INTO Has_Clearance VALUES(2, 3, 2);
|
| 85 |
+
INSERT INTO Has_Clearance VALUES(2, 4, 4);
|
| 86 |
+
INSERT INTO Has_Clearance VALUES(3, 5, 2);
|
| 87 |
+
INSERT INTO Has_Clearance VALUES(3, 6, 4);
|
| 88 |
+
INSERT INTO Has_Clearance VALUES(4, 7, 1);
|
| 89 |
+
INSERT INTO Shipment VALUES(1, '3004/05/11', 1, 1);
|
| 90 |
+
INSERT INTO Shipment VALUES(2, '3004/05/11', 1, 2);
|
| 91 |
+
INSERT INTO Shipment VALUES(3, NULL, 2, 3);
|
| 92 |
+
INSERT INTO Shipment VALUES(4, NULL, 2, 4);
|
| 93 |
+
INSERT INTO Shipment VALUES(5, NULL, 7, 5);
|
| 94 |
+
INSERT INTO Package VALUES(1, 1, 'Undeclared', 1.5, 1, 2);
|
| 95 |
+
INSERT INTO Package VALUES(2, 1, 'Undeclared', 10.0, 2, 3);
|
| 96 |
+
INSERT INTO Package VALUES(2, 2, 'A bucket of krill', 2.0, 8, 7);
|
| 97 |
+
INSERT INTO Package VALUES(3, 1, 'Undeclared', 15.0, 3, 4);
|
| 98 |
+
INSERT INTO Package VALUES(3, 2, 'Undeclared', 3.0, 5, 1);
|
| 99 |
+
INSERT INTO Package VALUES(3, 3, 'Undeclared', 7.0, 2, 3);
|
| 100 |
+
INSERT INTO Package VALUES(4, 1, 'Undeclared', 5.0, 4, 5);
|
| 101 |
+
INSERT INTO Package VALUES(4, 2, 'Undeclared', 27.0, 1, 2);
|
| 102 |
+
INSERT INTO Package VALUES(5, 1, 'Undeclared', 100.0, 5, 1);
|
test_database/planet_1/sql.txt
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
select client.name
|
| 2 |
+
from client join Package
|
| 3 |
+
on client.AccountNumber = Package.Recipient
|
| 4 |
+
where package.Weight = 1.5;
|
| 5 |
+
|
| 6 |
+
select sum(weight) from Package
|
| 7 |
+
where Sender = (
|
| 8 |
+
select Recipient from Package where Weight = 1.5
|
| 9 |
+
);
|
| 10 |
+
SELECT SUM(p.weight)
|
| 11 |
+
FROM Client AS c
|
| 12 |
+
JOIN Package as P
|
| 13 |
+
ON c.AccountNumber = p.Sender
|
| 14 |
+
WHERE c.Name = "Al Gore's Head";
|
test_database/product_catalog/product_catalog.sqlite
ADDED
|
Binary file (24.6 kB). View file
|
|
|
test_database/products_for_hire/schema.sql
ADDED
|
@@ -0,0 +1,165 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PRAGMA foreign_keys = ON;
|
| 2 |
+
|
| 3 |
+
CREATE TABLE `Discount_Coupons` (
|
| 4 |
+
`coupon_id` INTEGER PRIMARY KEY,
|
| 5 |
+
`date_issued` DATETIME,
|
| 6 |
+
`coupon_amount` DECIMAL(19,4)
|
| 7 |
+
);
|
| 8 |
+
INSERT INTO Discount_Coupons (`coupon_id`, `date_issued`, `coupon_amount`) VALUES (1, '2017-09-06 01:33:27', '500.0000');
|
| 9 |
+
INSERT INTO Discount_Coupons (`coupon_id`, `date_issued`, `coupon_amount`) VALUES (2, '2018-02-20 09:40:56', '686.2500');
|
| 10 |
+
INSERT INTO Discount_Coupons (`coupon_id`, `date_issued`, `coupon_amount`) VALUES (3, '2017-09-17 23:31:36', '501.3000');
|
| 11 |
+
INSERT INTO Discount_Coupons (`coupon_id`, `date_issued`, `coupon_amount`) VALUES (4, '2017-07-21 10:10:47', '370.4400');
|
| 12 |
+
INSERT INTO Discount_Coupons (`coupon_id`, `date_issued`, `coupon_amount`) VALUES (5, '2017-06-21 22:47:58', '399.8900');
|
| 13 |
+
INSERT INTO Discount_Coupons (`coupon_id`, `date_issued`, `coupon_amount`) VALUES (6, '2017-08-16 03:16:48', '689.2900');
|
| 14 |
+
INSERT INTO Discount_Coupons (`coupon_id`, `date_issued`, `coupon_amount`) VALUES (7, '2018-02-10 21:18:23', '508.4400');
|
| 15 |
+
INSERT INTO Discount_Coupons (`coupon_id`, `date_issued`, `coupon_amount`) VALUES (8, '2017-12-28 20:11:42', '666.4600');
|
| 16 |
+
INSERT INTO Discount_Coupons (`coupon_id`, `date_issued`, `coupon_amount`) VALUES (9, '2017-07-03 23:02:14', '685.9600');
|
| 17 |
+
INSERT INTO Discount_Coupons (`coupon_id`, `date_issued`, `coupon_amount`) VALUES (10, '2018-03-22 01:10:03', '175.9400');
|
| 18 |
+
INSERT INTO Discount_Coupons (`coupon_id`, `date_issued`, `coupon_amount`) VALUES (11, '2017-10-22 06:03:39', '607.6200');
|
| 19 |
+
INSERT INTO Discount_Coupons (`coupon_id`, `date_issued`, `coupon_amount`) VALUES (12, '2018-03-21 11:49:13', '523.7800');
|
| 20 |
+
INSERT INTO Discount_Coupons (`coupon_id`, `date_issued`, `coupon_amount`) VALUES (13, '2017-07-13 00:37:36', '770.8200');
|
| 21 |
+
INSERT INTO Discount_Coupons (`coupon_id`, `date_issued`, `coupon_amount`) VALUES (14, '2018-02-24 01:40:52', '547.3900');
|
| 22 |
+
INSERT INTO Discount_Coupons (`coupon_id`, `date_issued`, `coupon_amount`) VALUES (15, '2017-07-02 06:49:42', '245.3600');
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
CREATE TABLE `Customers` (
|
| 26 |
+
`customer_id` INTEGER PRIMARY KEY,
|
| 27 |
+
`coupon_id` INTEGER NOT NULL,
|
| 28 |
+
`good_or_bad_customer` VARCHAR(4),
|
| 29 |
+
`first_name` VARCHAR(80),
|
| 30 |
+
`last_name` VARCHAR(80),
|
| 31 |
+
`gender_mf` VARCHAR(1),
|
| 32 |
+
`date_became_customer` DATETIME,
|
| 33 |
+
`date_last_hire` DATETIME,
|
| 34 |
+
FOREIGN KEY (`coupon_id` ) REFERENCES `Discount_Coupons`(`coupon_id` )
|
| 35 |
+
);
|
| 36 |
+
INSERT INTO Customers (`customer_id`, `coupon_id`, `good_or_bad_customer`, `first_name`, `last_name`, `gender_mf`, `date_became_customer`, `date_last_hire`) VALUES (1, 12, 'good', 'Geovany', 'Homenick', '0', '2017-10-20 12:13:17', '2018-02-27 18:55:26');
|
| 37 |
+
INSERT INTO Customers (`customer_id`, `coupon_id`, `good_or_bad_customer`, `first_name`, `last_name`, `gender_mf`, `date_became_customer`, `date_last_hire`) VALUES (2, 14, 'good', 'Jailyn', 'Gerlach', '0', '2015-04-06 21:18:37', '2018-01-30 04:47:13');
|
| 38 |
+
INSERT INTO Customers (`customer_id`, `coupon_id`, `good_or_bad_customer`, `first_name`, `last_name`, `gender_mf`, `date_became_customer`, `date_last_hire`) VALUES (3, 7, 'good', 'Rosalee', 'Kessler', '0', '2016-02-03 16:58:11', '2018-03-04 21:30:23');
|
| 39 |
+
INSERT INTO Customers (`customer_id`, `coupon_id`, `good_or_bad_customer`, `first_name`, `last_name`, `gender_mf`, `date_became_customer`, `date_last_hire`) VALUES (4, 12, 'bad', 'Reba', 'Jacobs', '1', '2016-06-17 14:11:50', '2018-02-19 06:04:01');
|
| 40 |
+
INSERT INTO Customers (`customer_id`, `coupon_id`, `good_or_bad_customer`, `first_name`, `last_name`, `gender_mf`, `date_became_customer`, `date_last_hire`) VALUES (5, 10, 'good', 'Ericka', 'Greenholt', '0', '2016-08-11 01:50:37', '2018-02-25 04:40:15');
|
| 41 |
+
INSERT INTO Customers (`customer_id`, `coupon_id`, `good_or_bad_customer`, `first_name`, `last_name`, `gender_mf`, `date_became_customer`, `date_last_hire`) VALUES (6, 14, 'bad', 'Bridget', 'Ankunding', '1', '2015-04-24 02:38:16', '2018-02-10 19:44:08');
|
| 42 |
+
INSERT INTO Customers (`customer_id`, `coupon_id`, `good_or_bad_customer`, `first_name`, `last_name`, `gender_mf`, `date_became_customer`, `date_last_hire`) VALUES (7, 12, 'good', 'Marilou', 'Strosin', '1', '2015-12-16 08:05:53', '2018-02-01 16:48:30');
|
| 43 |
+
INSERT INTO Customers (`customer_id`, `coupon_id`, `good_or_bad_customer`, `first_name`, `last_name`, `gender_mf`, `date_became_customer`, `date_last_hire`) VALUES (8, 6, 'good', 'Elinore', 'Crona', '0', '2017-07-27 08:04:22', '2018-03-04 08:59:40');
|
| 44 |
+
INSERT INTO Customers (`customer_id`, `coupon_id`, `good_or_bad_customer`, `first_name`, `last_name`, `gender_mf`, `date_became_customer`, `date_last_hire`) VALUES (9, 7, 'good', 'German', 'Little', '1', '2017-02-28 14:40:25', '2018-03-13 21:20:05');
|
| 45 |
+
INSERT INTO Customers (`customer_id`, `coupon_id`, `good_or_bad_customer`, `first_name`, `last_name`, `gender_mf`, `date_became_customer`, `date_last_hire`) VALUES (10, 1, 'bad', 'Layne', 'Terry', '1', '2015-05-05 20:29:01', '2018-02-04 08:56:55');
|
| 46 |
+
INSERT INTO Customers (`customer_id`, `coupon_id`, `good_or_bad_customer`, `first_name`, `last_name`, `gender_mf`, `date_became_customer`, `date_last_hire`) VALUES (11, 10, 'good', 'Maximilian', 'Murphy', '0', '2015-07-21 09:24:57', '2018-03-12 09:23:41');
|
| 47 |
+
INSERT INTO Customers (`customer_id`, `coupon_id`, `good_or_bad_customer`, `first_name`, `last_name`, `gender_mf`, `date_became_customer`, `date_last_hire`) VALUES (12, 11, 'good', 'Vergie', 'Nicolas', '0', '2016-02-03 10:31:18', '2018-03-03 23:37:31');
|
| 48 |
+
INSERT INTO Customers (`customer_id`, `coupon_id`, `good_or_bad_customer`, `first_name`, `last_name`, `gender_mf`, `date_became_customer`, `date_last_hire`) VALUES (13, 2, 'good', 'Laury', 'Lemke', '1', '2017-03-18 04:37:59', '2018-03-18 17:35:43');
|
| 49 |
+
INSERT INTO Customers (`customer_id`, `coupon_id`, `good_or_bad_customer`, `first_name`, `last_name`, `gender_mf`, `date_became_customer`, `date_last_hire`) VALUES (14, 6, 'good', 'Tyler', 'Breitenberg', '1', '2016-04-20 21:04:35', '2018-03-03 13:46:38');
|
| 50 |
+
INSERT INTO Customers (`customer_id`, `coupon_id`, `good_or_bad_customer`, `first_name`, `last_name`, `gender_mf`, `date_became_customer`, `date_last_hire`) VALUES (15, 3, 'bad', 'Jamir', 'Schroeder', '1', '2016-05-25 01:12:49', '2018-02-24 11:15:29');
|
| 51 |
+
|
| 52 |
+
|
| 53 |
+
CREATE TABLE `Bookings` (
|
| 54 |
+
`booking_id` INTEGER PRIMARY KEY ,
|
| 55 |
+
`customer_id` INTEGER NOT NULL,
|
| 56 |
+
`booking_status_code` VARCHAR(10) NOT NULL,
|
| 57 |
+
`returned_damaged_yn` VARCHAR(40),
|
| 58 |
+
`booking_start_date` DATETIME,
|
| 59 |
+
`booking_end_date` DATETIME,
|
| 60 |
+
`count_hired` VARCHAR(40),
|
| 61 |
+
`amount_payable` DECIMAL(19,4),
|
| 62 |
+
`amount_of_discount` DECIMAL(19,4),
|
| 63 |
+
`amount_outstanding` DECIMAL(19,4),
|
| 64 |
+
`amount_of_refund` DECIMAL(19,4),
|
| 65 |
+
FOREIGN KEY (`customer_id` ) REFERENCES `Customers`(`customer_id` )
|
| 66 |
+
);
|
| 67 |
+
|
| 68 |
+
INSERT INTO Bookings (`booking_id`, `customer_id`, `booking_status_code`, `returned_damaged_yn`, `booking_start_date`, `booking_end_date`, `count_hired`, `amount_payable`, `amount_of_discount`, `amount_outstanding`, `amount_of_refund`) VALUES (1, 7, 'Provisional', '1', '2016-12-07 23:39:17', '2018-02-01 16:39:13', '298', '214.3900', '71.4500', '28.2200', '179.1400');
|
| 69 |
+
INSERT INTO Bookings (`booking_id`, `customer_id`, `booking_status_code`, `returned_damaged_yn`, `booking_start_date`, `booking_end_date`, `count_hired`, `amount_payable`, `amount_of_discount`, `amount_outstanding`, `amount_of_refund`) VALUES (2, 15, 'Confirmed', '1', '2017-06-16 11:42:31', '2018-02-19 21:53:31', '331', '386.9200', '83.8200', '57.6200', '183.6800');
|
| 70 |
+
INSERT INTO Bookings (`booking_id`, `customer_id`, `booking_status_code`, `returned_damaged_yn`, `booking_start_date`, `booking_end_date`, `count_hired`, `amount_payable`, `amount_of_discount`, `amount_outstanding`, `amount_of_refund`) VALUES (3, 3, 'Confirmed', '1', '2017-04-04 11:02:43', '2018-02-01 09:30:50', '729', '351.3200', '49.2600', '66.0100', '135.9400');
|
| 71 |
+
INSERT INTO Bookings (`booking_id`, `customer_id`, `booking_status_code`, `returned_damaged_yn`, `booking_start_date`, `booking_end_date`, `count_hired`, `amount_payable`, `amount_of_discount`, `amount_outstanding`, `amount_of_refund`) VALUES (4, 7, 'Provisional', '0', '2017-06-05 17:56:01', '2017-12-02 00:37:00', '152', '272.0800', '45.0600', '38.8700', '100.7800');
|
| 72 |
+
INSERT INTO Bookings (`booking_id`, `customer_id`, `booking_status_code`, `returned_damaged_yn`, `booking_start_date`, `booking_end_date`, `count_hired`, `amount_payable`, `amount_of_discount`, `amount_outstanding`, `amount_of_refund`) VALUES (5, 7, 'Provisional', '1', '2016-11-06 20:54:26', '2017-10-11 03:00:15', '546', '338.1000', '79.3400', '32.9900', '191.3100');
|
| 73 |
+
INSERT INTO Bookings (`booking_id`, `customer_id`, `booking_status_code`, `returned_damaged_yn`, `booking_start_date`, `booking_end_date`, `count_hired`, `amount_payable`, `amount_of_discount`, `amount_outstanding`, `amount_of_refund`) VALUES (6, 10, 'Confirmed', '0', '2016-06-05 05:18:17', '2018-01-14 00:29:01', '282', '209.4100', '27.7800', '52.6200', '192.0200');
|
| 74 |
+
INSERT INTO Bookings (`booking_id`, `customer_id`, `booking_status_code`, `returned_damaged_yn`, `booking_start_date`, `booking_end_date`, `count_hired`, `amount_payable`, `amount_of_discount`, `amount_outstanding`, `amount_of_refund`) VALUES (7, 3, 'Provisional', '1', '2017-07-15 06:28:54', '2017-11-28 08:11:52', '236', '322.8700', '39.2700', '56.0200', '126.1000');
|
| 75 |
+
INSERT INTO Bookings (`booking_id`, `customer_id`, `booking_status_code`, `returned_damaged_yn`, `booking_start_date`, `booking_end_date`, `count_hired`, `amount_payable`, `amount_of_discount`, `amount_outstanding`, `amount_of_refund`) VALUES (8, 11, 'Provisional', '0', '2016-09-26 01:09:20', '2018-03-24 21:21:32', '746', '303.3000', '61.5500', '68.0200', '145.6300');
|
| 76 |
+
INSERT INTO Bookings (`booking_id`, `customer_id`, `booking_status_code`, `returned_damaged_yn`, `booking_start_date`, `booking_end_date`, `count_hired`, `amount_payable`, `amount_of_discount`, `amount_outstanding`, `amount_of_refund`) VALUES (9, 10, 'Provisional', '0', '2017-05-24 16:16:29', '2018-03-07 17:39:04', '846', '374.5900', '50.9300', '26.0400', '130.8700');
|
| 77 |
+
INSERT INTO Bookings (`booking_id`, `customer_id`, `booking_status_code`, `returned_damaged_yn`, `booking_start_date`, `booking_end_date`, `count_hired`, `amount_payable`, `amount_of_discount`, `amount_outstanding`, `amount_of_refund`) VALUES (10, 3, 'Confirmed', '1', '2016-05-06 03:50:49', '2017-08-30 04:33:23', '857', '320.7300', '39.1600', '27.8100', '112.6300');
|
| 78 |
+
INSERT INTO Bookings (`booking_id`, `customer_id`, `booking_status_code`, `returned_damaged_yn`, `booking_start_date`, `booking_end_date`, `count_hired`, `amount_payable`, `amount_of_discount`, `amount_outstanding`, `amount_of_refund`) VALUES (11, 9, 'Provisional', '1', '2017-04-11 00:39:03', '2017-10-02 07:28:09', '488', '273.2800', '48.7300', '73.8800', '181.1900');
|
| 79 |
+
INSERT INTO Bookings (`booking_id`, `customer_id`, `booking_status_code`, `returned_damaged_yn`, `booking_start_date`, `booking_end_date`, `count_hired`, `amount_payable`, `amount_of_discount`, `amount_outstanding`, `amount_of_refund`) VALUES (12, 3, 'Provisional', '1', '2017-02-27 12:04:35', '2018-02-06 19:27:09', '914', '281.0900', '26.3700', '22.9700', '110.3900');
|
| 80 |
+
INSERT INTO Bookings (`booking_id`, `customer_id`, `booking_status_code`, `returned_damaged_yn`, `booking_start_date`, `booking_end_date`, `count_hired`, `amount_payable`, `amount_of_discount`, `amount_outstanding`, `amount_of_refund`) VALUES (13, 8, 'Provisional', '0', '2016-11-27 17:19:40', '2018-03-04 21:42:45', '499', '286.4700', '89.0500', '36.7900', '143.9900');
|
| 81 |
+
INSERT INTO Bookings (`booking_id`, `customer_id`, `booking_status_code`, `returned_damaged_yn`, `booking_start_date`, `booking_end_date`, `count_hired`, `amount_payable`, `amount_of_discount`, `amount_outstanding`, `amount_of_refund`) VALUES (14, 8, 'Confirmed', '1', '2016-04-25 11:04:18', '2018-01-01 10:19:20', '843', '221.5700', '24.1900', '64.0100', '161.9000');
|
| 82 |
+
INSERT INTO Bookings (`booking_id`, `customer_id`, `booking_status_code`, `returned_damaged_yn`, `booking_start_date`, `booking_end_date`, `count_hired`, `amount_payable`, `amount_of_discount`, `amount_outstanding`, `amount_of_refund`) VALUES (15, 9, 'Provisional', '1', '2017-04-28 08:35:56', '2018-01-18 23:54:44', '994', '306.2600', '78.3100', '93.8800', '124.9500');
|
| 83 |
+
|
| 84 |
+
|
| 85 |
+
|
| 86 |
+
CREATE TABLE `Products_for_Hire` (
|
| 87 |
+
`product_id` INTEGER PRIMARY KEY,
|
| 88 |
+
`product_type_code` VARCHAR(15) NOT NULL,
|
| 89 |
+
`daily_hire_cost` DECIMAL(19,4),
|
| 90 |
+
`product_name` VARCHAR(80),
|
| 91 |
+
`product_description` VARCHAR(255)
|
| 92 |
+
);
|
| 93 |
+
|
| 94 |
+
INSERT INTO Products_for_Hire (`product_id`, `product_type_code`, `daily_hire_cost`, `product_name`, `product_description`) VALUES (1, 'Cutlery', '26.1500', 'Book collection C', 'Anna Karenina');
|
| 95 |
+
INSERT INTO Products_for_Hire (`product_id`, `product_type_code`, `daily_hire_cost`, `product_name`, `product_description`) VALUES (2, 'Cutlery', '15.6200', 'Book collection B', 'War and Peace');
|
| 96 |
+
INSERT INTO Products_for_Hire (`product_id`, `product_type_code`, `daily_hire_cost`, `product_name`, `product_description`) VALUES (3, 'Cutlery', '39.7300', 'Book collection A', 'The Great Gatsby');
|
| 97 |
+
INSERT INTO Products_for_Hire (`product_id`, `product_type_code`, `daily_hire_cost`, `product_name`, `product_description`) VALUES (4, 'Din_Plates', '18.5000', 'DVD collection A', 'Twilight');
|
| 98 |
+
INSERT INTO Products_for_Hire (`product_id`, `product_type_code`, `daily_hire_cost`, `product_name`, `product_description`) VALUES (5, 'Cutlery', '39.5800', 'DVD collection B', 'One Hundred Years of Solitude');
|
| 99 |
+
|
| 100 |
+
|
| 101 |
+
CREATE TABLE `Payments` (
|
| 102 |
+
`payment_id` INTEGER PRIMARY KEY,
|
| 103 |
+
`booking_id` INTEGER,
|
| 104 |
+
`customer_id` INTEGER NOT NULL,
|
| 105 |
+
`payment_type_code` VARCHAR(15) NOT NULL,
|
| 106 |
+
`amount_paid_in_full_yn` VARCHAR(1),
|
| 107 |
+
`payment_date` DATETIME,
|
| 108 |
+
`amount_due` DECIMAL(19,4),
|
| 109 |
+
`amount_paid` DECIMAL(19,4),
|
| 110 |
+
FOREIGN KEY (`booking_id` ) REFERENCES `Bookings`(`booking_id` ),
|
| 111 |
+
FOREIGN KEY (`customer_id` ) REFERENCES `Customers`(`customer_id` )
|
| 112 |
+
);
|
| 113 |
+
|
| 114 |
+
INSERT INTO Payments (`payment_id`, `booking_id`, `customer_id`, `payment_type_code`, `amount_paid_in_full_yn`, `payment_date`, `amount_due`, `amount_paid`) VALUES (1, 6, 15, 'Check', '1', '2018-03-09 16:28:00', '369.5200', '206.2700');
|
| 115 |
+
INSERT INTO Payments (`payment_id`, `booking_id`, `customer_id`, `payment_type_code`, `amount_paid_in_full_yn`, `payment_date`, `amount_due`, `amount_paid`) VALUES (2, 9, 12, 'Cash', '1', '2018-03-03 13:39:44', '278.6000', '666.4500');
|
| 116 |
+
INSERT INTO Payments (`payment_id`, `booking_id`, `customer_id`, `payment_type_code`, `amount_paid_in_full_yn`, `payment_date`, `amount_due`, `amount_paid`) VALUES (3, 5, 7, 'Credit Card', '0', '2018-03-22 15:00:23', '840.0600', '135.7000');
|
| 117 |
+
INSERT INTO Payments (`payment_id`, `booking_id`, `customer_id`, `payment_type_code`, `amount_paid_in_full_yn`, `payment_date`, `amount_due`, `amount_paid`) VALUES (4, 6, 1, 'Check', '0', '2018-03-22 02:28:11', '678.2900', '668.4000');
|
| 118 |
+
INSERT INTO Payments (`payment_id`, `booking_id`, `customer_id`, `payment_type_code`, `amount_paid_in_full_yn`, `payment_date`, `amount_due`, `amount_paid`) VALUES (5, 8, 11, 'Cash', '1', '2018-03-23 20:36:04', '830.2500', '305.6500');
|
| 119 |
+
INSERT INTO Payments (`payment_id`, `booking_id`, `customer_id`, `payment_type_code`, `amount_paid_in_full_yn`, `payment_date`, `amount_due`, `amount_paid`) VALUES (6, 15, 8, 'Check', '0', '2018-03-19 12:39:31', '410.1000', '175.5400');
|
| 120 |
+
INSERT INTO Payments (`payment_id`, `booking_id`, `customer_id`, `payment_type_code`, `amount_paid_in_full_yn`, `payment_date`, `amount_due`, `amount_paid`) VALUES (7, 1, 8, 'Cash', '1', '2018-03-02 06:25:45', '482.2600', '602.8000');
|
| 121 |
+
INSERT INTO Payments (`payment_id`, `booking_id`, `customer_id`, `payment_type_code`, `amount_paid_in_full_yn`, `payment_date`, `amount_due`, `amount_paid`) VALUES (8, 9, 14, 'Cash', '1', '2018-03-12 23:00:55', '653.1800', '505.2300');
|
| 122 |
+
INSERT INTO Payments (`payment_id`, `booking_id`, `customer_id`, `payment_type_code`, `amount_paid_in_full_yn`, `payment_date`, `amount_due`, `amount_paid`) VALUES (9, 3, 7, 'Direct Debit', '0', '2018-03-12 23:23:56', '686.8500', '321.5800');
|
| 123 |
+
INSERT INTO Payments (`payment_id`, `booking_id`, `customer_id`, `payment_type_code`, `amount_paid_in_full_yn`, `payment_date`, `amount_due`, `amount_paid`) VALUES (10, 13, 10, 'Credit Card', '1', '2018-03-23 13:24:33', '486.7500', '681.2100');
|
| 124 |
+
INSERT INTO Payments (`payment_id`, `booking_id`, `customer_id`, `payment_type_code`, `amount_paid_in_full_yn`, `payment_date`, `amount_due`, `amount_paid`) VALUES (11, 14, 15, 'Credit Card', '1', '2018-03-03 03:07:00', '259.1800', '464.0600');
|
| 125 |
+
INSERT INTO Payments (`payment_id`, `booking_id`, `customer_id`, `payment_type_code`, `amount_paid_in_full_yn`, `payment_date`, `amount_due`, `amount_paid`) VALUES (12, 14, 9, 'Cash', '0', '2018-02-27 10:50:39', '785.7300', '685.3200');
|
| 126 |
+
INSERT INTO Payments (`payment_id`, `booking_id`, `customer_id`, `payment_type_code`, `amount_paid_in_full_yn`, `payment_date`, `amount_due`, `amount_paid`) VALUES (13, 15, 14, 'Direct Debit', '0', '2018-03-03 14:22:51', '665.5800', '307.1400');
|
| 127 |
+
INSERT INTO Payments (`payment_id`, `booking_id`, `customer_id`, `payment_type_code`, `amount_paid_in_full_yn`, `payment_date`, `amount_due`, `amount_paid`) VALUES (14, 5, 5, 'Direct Debit', '1', '2018-03-17 15:51:52', '407.5100', '704.4100');
|
| 128 |
+
INSERT INTO Payments (`payment_id`, `booking_id`, `customer_id`, `payment_type_code`, `amount_paid_in_full_yn`, `payment_date`, `amount_due`, `amount_paid`) VALUES (15, 4, 12, 'Credit Card', '1', '2018-03-17 03:07:45', '631.9300', '334.2000');
|
| 129 |
+
|
| 130 |
+
CREATE TABLE `Products_Booked` (
|
| 131 |
+
`booking_id` INTEGER NOT NULL,
|
| 132 |
+
`product_id` INTEGER NOT NULL,
|
| 133 |
+
`returned_yn` VARCHAR(1),
|
| 134 |
+
`returned_late_yn` VARCHAR(1),
|
| 135 |
+
`booked_count` INTEGER,
|
| 136 |
+
`booked_amount` FLOAT NULL,
|
| 137 |
+
PRIMARY KEY (`booking_id`, `product_id`)
|
| 138 |
+
FOREIGN KEY (`booking_id` ) REFERENCES `Bookings`(`booking_id` ),
|
| 139 |
+
FOREIGN KEY (`product_id` ) REFERENCES `Products_for_Hire`(`product_id` )
|
| 140 |
+
);
|
| 141 |
+
|
| 142 |
+
CREATE TABLE `View_Product_Availability` (
|
| 143 |
+
`product_id` INTEGER NOT NULL,
|
| 144 |
+
`booking_id` INTEGER NOT NULL,
|
| 145 |
+
`status_date` DATETIME PRIMARY KEY,
|
| 146 |
+
`available_yn` VARCHAR(1),
|
| 147 |
+
FOREIGN KEY (`booking_id` ) REFERENCES `Bookings`(`booking_id` ),
|
| 148 |
+
FOREIGN KEY (`product_id` ) REFERENCES `Products_for_Hire`(`product_id` )
|
| 149 |
+
);
|
| 150 |
+
INSERT INTO Products_Booked (`booking_id`, `product_id`, `returned_yn`, `returned_late_yn`, `booked_count`, `booked_amount`) VALUES (4, 1, '1', '1', 5, '309.73');
|
| 151 |
+
INSERT INTO Products_Booked (`booking_id`, `product_id`, `returned_yn`, `returned_late_yn`, `booked_count`, `booked_amount`) VALUES (14, 1, '1', '0', 3, '102.76');
|
| 152 |
+
INSERT INTO Products_Booked (`booking_id`, `product_id`, `returned_yn`, `returned_late_yn`, `booked_count`, `booked_amount`) VALUES (13, 3, '1', '0', 4, '151.68');
|
| 153 |
+
INSERT INTO Products_Booked (`booking_id`, `product_id`, `returned_yn`, `returned_late_yn`, `booked_count`, `booked_amount`) VALUES (11, 1, '1', '1', 1, '344.38');
|
| 154 |
+
INSERT INTO Products_Booked (`booking_id`, `product_id`, `returned_yn`, `returned_late_yn`, `booked_count`, `booked_amount`) VALUES (15, 3, '1', '0', 2, '236.13');
|
| 155 |
+
INSERT INTO Products_Booked (`booking_id`, `product_id`, `returned_yn`, `returned_late_yn`, `booked_count`, `booked_amount`) VALUES (10, 4, '1', '0', 6, '123.43');
|
| 156 |
+
INSERT INTO Products_Booked (`booking_id`, `product_id`, `returned_yn`, `returned_late_yn`, `booked_count`, `booked_amount`) VALUES (14, 5, '1', '1', 6, '351.38');
|
| 157 |
+
INSERT INTO Products_Booked (`booking_id`, `product_id`, `returned_yn`, `returned_late_yn`, `booked_count`, `booked_amount`) VALUES (11, 5, '1', '1', 3, '146.01');
|
| 158 |
+
INSERT INTO Products_Booked (`booking_id`, `product_id`, `returned_yn`, `returned_late_yn`, `booked_count`, `booked_amount`) VALUES (3, 5, '1', '1', 3, '189.16');
|
| 159 |
+
INSERT INTO Products_Booked (`booking_id`, `product_id`, `returned_yn`, `returned_late_yn`, `booked_count`, `booked_amount`) VALUES (15, 1, '1', '0', 1, '398.68');
|
| 160 |
+
INSERT INTO Products_Booked (`booking_id`, `product_id`, `returned_yn`, `returned_late_yn`, `booked_count`, `booked_amount`) VALUES (2, 4, '1', '1', 9, '290.72');
|
| 161 |
+
INSERT INTO Products_Booked (`booking_id`, `product_id`, `returned_yn`, `returned_late_yn`, `booked_count`, `booked_amount`) VALUES (1, 2, '1', '0', 5, '110.2');
|
| 162 |
+
INSERT INTO View_Product_Availability (`product_id`, `booking_id`, `status_date`, `available_yn`) VALUES (1, 5, '2018-03-18 05:25:55', '1');
|
| 163 |
+
INSERT INTO View_Product_Availability (`product_id`, `booking_id`, `status_date`, `available_yn`) VALUES (2, 5, '2018-03-21 15:20:32', '0');
|
| 164 |
+
INSERT INTO View_Product_Availability (`product_id`, `booking_id`, `status_date`, `available_yn`) VALUES (3, 11, '2018-03-25 10:20:15', '1');
|
| 165 |
+
INSERT INTO View_Product_Availability (`product_id`, `booking_id`, `status_date`, `available_yn`) VALUES (5, 11, '2018-03-22 00:16:58', '1');
|
test_database/protein_institute/schema.sql
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PRAGMA foreign_keys = ON;
|
| 2 |
+
|
| 3 |
+
CREATE TABLE "building" (
|
| 4 |
+
"building_id" text,
|
| 5 |
+
"Name" text,
|
| 6 |
+
"Street_address" text,
|
| 7 |
+
"Years_as_tallest" text,
|
| 8 |
+
"Height_feet" int,
|
| 9 |
+
"Floors" int,
|
| 10 |
+
PRIMARY KEY("building_id")
|
| 11 |
+
);
|
| 12 |
+
|
| 13 |
+
CREATE TABLE "Institution" (
|
| 14 |
+
"Institution_id" text,
|
| 15 |
+
"Institution" text,
|
| 16 |
+
"Location" text,
|
| 17 |
+
"Founded" real,
|
| 18 |
+
"Type" text,
|
| 19 |
+
"Enrollment" int,
|
| 20 |
+
"Team" text,
|
| 21 |
+
"Primary_Conference" text,
|
| 22 |
+
"building_id" text,
|
| 23 |
+
PRIMARY KEY("Institution_id"),
|
| 24 |
+
FOREIGN KEY ("building_id") REFERENCES "building"("building_id")
|
| 25 |
+
);
|
| 26 |
+
|
| 27 |
+
CREATE TABLE "protein" (
|
| 28 |
+
"common_name" text,
|
| 29 |
+
"protein_name" text,
|
| 30 |
+
"divergence_from_human_lineage" real,
|
| 31 |
+
"accession_number" text,
|
| 32 |
+
"sequence_length" real,
|
| 33 |
+
"sequence_identity_to_human_protein" text,
|
| 34 |
+
"Institution_id" text,
|
| 35 |
+
PRIMARY KEY("common_name"),
|
| 36 |
+
FOREIGN KEY("Institution_id") REFERENCES "Institution"("Institution_id")
|
| 37 |
+
);
|
| 38 |
+
|
| 39 |
+
|
| 40 |
+
INSERT INTO "building" VALUES (0,"Citizens Bank Building","701 North Franklin Street","1913–1915","145","12");
|
| 41 |
+
INSERT INTO "building" VALUES (1,"Tampa City Hall","315 John F. Kennedy Boulevard","1915–1926","160","10");
|
| 42 |
+
INSERT INTO "building" VALUES (2,"Floridan Hotel","905 Franklin Street","1926–1966","204","17");
|
| 43 |
+
INSERT INTO "building" VALUES (3,"Franklin Exchange Building","655 North Franklin Street","1966–1972","280","22");
|
| 44 |
+
INSERT INTO "building" VALUES (4,"Park Tower","400 North Tampa Street","1972–1981","458","36");
|
| 45 |
+
INSERT INTO "building" VALUES (5,"One Tampa City Center","201 North Franklin Street","1981–1986","537","39");
|
| 46 |
+
INSERT INTO "building" VALUES (6,"Bank of America Tower","101 East Kennedy Boulevard","1986–1992","577","42");
|
| 47 |
+
INSERT INTO "building" VALUES (7,"100 North Tampa","100 North Tampa Street","1992–present","579","42");
|
| 48 |
+
|
| 49 |
+
INSERT INTO "Institution" VALUES (0,"Ave Maria University","Ave Maria, Florida","1998","Private","1200","Gyrenes","The Sun",1);
|
| 50 |
+
INSERT INTO "Institution" VALUES (1,"Dakota State University","Madison, South Dakota","1881","Public","3102","Trojans","none",1);
|
| 51 |
+
INSERT INTO "Institution" VALUES (2,"Edward Waters College","Jacksonville, Florida","1866","Private","800","Tigers","Gulf Coast (GCAC)",3);
|
| 52 |
+
INSERT INTO "Institution" VALUES (3,"Haskell Indian Nations University","Lawrence, Kansas","1884","Tribal","1000","Fighting Indians","MCAC",5);
|
| 53 |
+
INSERT INTO "Institution" VALUES (4,"Jamestown College","Jamestown, North Dakota","1883","Private","967","Jimmies","none",2);
|
| 54 |
+
INSERT INTO "Institution" VALUES (5,"Lindenwood University–Belleville","Belleville, Illinois","2003","Private","2600","Lynx","none",0);
|
| 55 |
+
INSERT INTO "Institution" VALUES (6,"Mayville State University","Mayville, North Dakota","1889","Public","825","Comets","none",0);
|
| 56 |
+
INSERT INTO "Institution" VALUES (7,"Menlo College","Atherton, California","1927","Private","650","Oaks","CalPac",4);
|
| 57 |
+
INSERT INTO "Institution" VALUES (8,"Point University","West Point, Georgia","1937","Private","1035","Skyhawks","AAC",7);
|
| 58 |
+
INSERT INTO "Institution" VALUES (9,"Valley City State University","Valley City, North Dakota","1890","Public","1340","Vikings","none",3);
|
| 59 |
+
INSERT INTO "Institution" VALUES (10,"Webber International University","Babson Park, Florida","1927","Private","616","Warriors","The Sun",5);
|
| 60 |
+
|
| 61 |
+
INSERT INTO "protein" VALUES ("Tropical Clawed Frog","uncharacterized protein C20orf117-like","371.2","XP_002942331.1","1584","39%",1);
|
| 62 |
+
INSERT INTO "protein" VALUES ("purple sea urchin","uncharacterized protein LOC578090","742.9","XP_783370.2","1587","47%",3);
|
| 63 |
+
INSERT INTO "protein" VALUES ("body louse","Centromeric protein E, putative","782.7","XP_002429877.1","2086","30%",5);
|
| 64 |
+
INSERT INTO "protein" VALUES ("southern house mosquito","conserved hypothetical protein","782.7","XP_001843754.1","1878","32%",5);
|
| 65 |
+
INSERT INTO "protein" VALUES ("porkworm","surface antigen repeat family protein","937.5","XP_003380263.1","2030","36%",9);
|
| 66 |
+
|
test_database/real_estate_properties/real_estate_properties.sqlite
ADDED
|
Binary file (32.8 kB). View file
|
|
|