Add files using upload-large-folder tool
Browse files- database/formula_1/formula_1.splite +0 -0
- test_database/activity_1/activity_1.sqlite +0 -0
- test_database/apartment_rentals/apartment_rentals.sqlite +0 -0
- test_database/bike_racing/schema.sql +56 -0
- test_database/book_2/book_2.sqlite +0 -0
- test_database/book_2/schema.sql +40 -0
- test_database/climbing/climbing.sqlite +0 -0
- test_database/climbing/schema.sql +43 -0
- test_database/club_1/schema.sql +73 -0
- test_database/college_2/link.txt +1 -0
- test_database/cre_Docs_and_Epenses/cre_Docs_and_Epenses.sqlite +0 -0
- test_database/cre_Drama_Workshop_Groups/schema.sql +468 -0
- test_database/customers_and_addresses/customers_and_addresses.sqlite +0 -0
- test_database/customers_and_addresses/schema.sql +163 -0
- test_database/customers_campaigns_ecommerce/schema.sql +207 -0
- test_database/device/device.sqlite +0 -0
- test_database/election/election.sqlite +0 -0
- test_database/election/schema.sql +62 -0
- test_database/entrepreneur/entrepreneur.sqlite +0 -0
- test_database/flight_2/flight_2.sql +22 -0
- test_database/game_1/schema.sql +102 -0
- test_database/imdb/schema.sql +138 -0
- test_database/inn_1/data_csv/README.INN.TXT +87 -0
- test_database/inn_1/data_csv/Reservations.csv +601 -0
- test_database/insurance_and_eClaims/schema.sql +164 -0
- test_database/insurance_policies/schema.sql +130 -0
- test_database/local_govt_in_alabama/local_govt_in_alabama.sqlite +0 -0
- test_database/local_govt_in_alabama/schema.sql +86 -0
- test_database/medicine_enzyme_interaction/schema.sql +89 -0
- test_database/music_2/schema.sql +49 -0
- test_database/music_4/music_4.sqlite +0 -0
- test_database/music_4/schema.sql +69 -0
- test_database/network_1/network_1.sqlite +0 -0
- test_database/network_1/schema.sql +76 -0
- test_database/poker_player/schema.sql +35 -0
- test_database/protein_institute/protein_institute.sqlite +0 -0
- test_database/school_bus/schema.sql +61 -0
- test_database/school_bus/school_bus.sqlite +0 -0
- test_database/small_bank_1/small_bank_1.sqlite +0 -0
- test_database/sports_competition/schema.sql +104 -0
- test_database/sports_competition/sports_competition.sqlite +0 -0
- test_database/student_1/student_1.sqlite +0 -0
- test_database/swimming/schema.sql +95 -0
- test_database/swimming/swimming.sqlite +0 -0
- test_database/tracking_orders/schema.sql +165 -0
- test_database/tracking_orders/tracking_orders.sqlite +0 -0
- test_database/tracking_share_transactions/tracking_share_transactions.sqlite +0 -0
- test_database/twitter_1/queries/sqlserver-dialects.xml +31 -0
- test_database/vehicle_rent/vehicle_rent.sqlite +0 -0
- test_database/workshop_paper/workshop_paper.sqlite +0 -0
database/formula_1/formula_1.splite
ADDED
|
File without changes
|
test_database/activity_1/activity_1.sqlite
ADDED
|
Binary file (24.6 kB). View file
|
|
|
test_database/apartment_rentals/apartment_rentals.sqlite
ADDED
|
Binary file (53.2 kB). View file
|
|
|
test_database/bike_racing/schema.sql
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PRAGMA foreign_keys=ON;
|
| 2 |
+
BEGIN TRANSACTION;
|
| 3 |
+
CREATE TABLE IF NOT EXISTS "bike" (
|
| 4 |
+
"id" int,
|
| 5 |
+
"product_name" text,
|
| 6 |
+
"weight" int,
|
| 7 |
+
"price" real,
|
| 8 |
+
"material" text,
|
| 9 |
+
primary key("id")
|
| 10 |
+
);
|
| 11 |
+
INSERT INTO bike VALUES(1,'BIANCHI SPECIALISSIMA',780,9998.9999999999999999,'Carbon CC');
|
| 12 |
+
INSERT INTO bike VALUES(2,'CANNONDALE SUPERSIX EVO HI-MOD DURA ACE',850,5329.9999999999999999,'carbon fiber');
|
| 13 |
+
INSERT INTO bike VALUES(3,'CANYON AEROAD CF SLX 8.0 DI2',880,3049.9999999999999999,'Toray T700 and T800 carbon fiber');
|
| 14 |
+
INSERT INTO bike VALUES(4,'GIANT TCR ADVANCED SL 0',750,9000.0,'Carbon CC');
|
| 15 |
+
INSERT INTO bike VALUES(5,'Ibis',800,3598.9999999999999998,'Carbon CC');
|
| 16 |
+
INSERT INTO bike VALUES(6,'Ibis ||',760,5000, 'carbon fiber');
|
| 17 |
+
CREATE TABLE IF NOT EXISTS "cyclist" (
|
| 18 |
+
"id" int,
|
| 19 |
+
"heat" int,
|
| 20 |
+
"name" text,
|
| 21 |
+
"nation" text,
|
| 22 |
+
"result" real,
|
| 23 |
+
primary key("id")
|
| 24 |
+
);
|
| 25 |
+
INSERT INTO cyclist VALUES(1,4,'Bradley Wiggins','Great Britain','4:16.571');
|
| 26 |
+
INSERT INTO cyclist VALUES(2,3,'Hayden Roulston','New Zealand','4:19.232');
|
| 27 |
+
INSERT INTO cyclist VALUES(3,1,'Steven Burke','Great Britain','4:21.558');
|
| 28 |
+
INSERT INTO cyclist VALUES(4,2,'Alexei Markov','Russia','4:22.308');
|
| 29 |
+
INSERT INTO cyclist VALUES(5,1,'Volodymyr Dyudya','Ukraine','4:22.471');
|
| 30 |
+
INSERT INTO cyclist VALUES(6,2,'Antonio Tauler','Spain','4:24.974');
|
| 31 |
+
INSERT INTO cyclist VALUES(7,4,'Alexander Serov','Russia','4:25.391');
|
| 32 |
+
INSERT INTO cyclist VALUES(8,3,'Taylor Phinney','United States','4:26.644');
|
| 33 |
+
CREATE TABLE IF NOT EXISTS "cyclists_own_bikes" (
|
| 34 |
+
"cyclist_id" int,
|
| 35 |
+
"bike_id" int,
|
| 36 |
+
"purchase_year" int,
|
| 37 |
+
primary key("cyclist_id", "bike_id"),
|
| 38 |
+
foreign key("cyclist_id") references `cyclist`("id"),
|
| 39 |
+
foreign key("bike_id") references `bike`("id")
|
| 40 |
+
);
|
| 41 |
+
INSERT INTO cyclists_own_bikes VALUES(1,2,2011);
|
| 42 |
+
INSERT INTO cyclists_own_bikes VALUES(1,3,2015);
|
| 43 |
+
INSERT INTO cyclists_own_bikes VALUES(2,3,2017);
|
| 44 |
+
INSERT INTO cyclists_own_bikes VALUES(2,5,2013);
|
| 45 |
+
INSERT INTO cyclists_own_bikes VALUES(2,4,2018);
|
| 46 |
+
INSERT INTO cyclists_own_bikes VALUES(3,4,2017);
|
| 47 |
+
INSERT INTO cyclists_own_bikes VALUES(4,4,2017);
|
| 48 |
+
INSERT INTO cyclists_own_bikes VALUES(5,5,2016);
|
| 49 |
+
INSERT INTO cyclists_own_bikes VALUES(6,5,2016);
|
| 50 |
+
INSERT INTO cyclists_own_bikes VALUES(7,5,2010);
|
| 51 |
+
INSERT INTO cyclists_own_bikes VALUES(7,4,2011);
|
| 52 |
+
INSERT INTO cyclists_own_bikes VALUES(7,2,2012);
|
| 53 |
+
INSERT INTO cyclists_own_bikes VALUES(7,1,2013);
|
| 54 |
+
INSERT INTO cyclists_own_bikes VALUES(7,3,2014);
|
| 55 |
+
COMMIT;
|
| 56 |
+
|
test_database/book_2/book_2.sqlite
ADDED
|
Binary file (20.5 kB). View file
|
|
|
test_database/book_2/schema.sql
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PRAGMA foreign_keys = ON;
|
| 2 |
+
|
| 3 |
+
CREATE TABLE "publication" (
|
| 4 |
+
"Publication_ID" int,
|
| 5 |
+
"Book_ID" int,
|
| 6 |
+
"Publisher" text,
|
| 7 |
+
"Publication_Date" text,
|
| 8 |
+
"Price" real,
|
| 9 |
+
PRIMARY KEY ("Publication_ID"),
|
| 10 |
+
FOREIGN KEY ("Book_ID") REFERENCES "book"("Book_ID")
|
| 11 |
+
);
|
| 12 |
+
|
| 13 |
+
CREATE TABLE "book" (
|
| 14 |
+
"Book_ID" int,
|
| 15 |
+
"Title" text,
|
| 16 |
+
"Issues" real,
|
| 17 |
+
"Writer" text,
|
| 18 |
+
PRIMARY KEY ("Book_ID")
|
| 19 |
+
);
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
INSERT INTO "book" VALUES (1,"The Black Lamb","6","Timothy Truman");
|
| 23 |
+
INSERT INTO "book" VALUES (2,"Bloody Mary","4","Garth Ennis");
|
| 24 |
+
INSERT INTO "book" VALUES (3,"Bloody Mary : Lady Liberty","4","Garth Ennis");
|
| 25 |
+
INSERT INTO "book" VALUES (4,"BrainBanx","6","Elaine Lee");
|
| 26 |
+
INSERT INTO "book" VALUES (5,"Cyberella","12","Howard Chaykin");
|
| 27 |
+
INSERT INTO "book" VALUES (6,"Dead Corps","4","Christopher Hinz");
|
| 28 |
+
INSERT INTO "book" VALUES (7,"The Dome: Ground Zero","1","Dave Gibbons");
|
| 29 |
+
INSERT INTO "book" VALUES (8,"Gemini Blood","9","Christopher Hinz");
|
| 30 |
+
INSERT INTO "book" VALUES (9,"Michael Moorcock's Multiverse","12","Michael Moorcock");
|
| 31 |
+
INSERT INTO "book" VALUES (10,"Sheva's War","5","Christopher Moeller");
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
INSERT INTO "publication" VALUES (1,1,"Pearson","August 2008","15000000");
|
| 35 |
+
INSERT INTO "publication" VALUES (2,3,"Thomson Reuters","March 2008","6000000");
|
| 36 |
+
INSERT INTO "publication" VALUES (3,4,"Wiley","June 2006","4100000");
|
| 37 |
+
INSERT INTO "publication" VALUES (4,5,"Wiley","October 2005","3000000");
|
| 38 |
+
INSERT INTO "publication" VALUES (5,7,"Springer Nature","August 2008","3000000");
|
| 39 |
+
INSERT INTO "publication" VALUES (6,9,"Pearson","March 2007","2000000");
|
| 40 |
+
INSERT INTO "publication" VALUES (7,10,"Bertelsmann","April 2007","2000000");
|
test_database/climbing/climbing.sqlite
ADDED
|
Binary file (20.5 kB). View file
|
|
|
test_database/climbing/schema.sql
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PRAGMA foreign_keys = ON;
|
| 2 |
+
|
| 3 |
+
CREATE TABLE "mountain" (
|
| 4 |
+
"Mountain_ID" int,
|
| 5 |
+
"Name" text,
|
| 6 |
+
"Height" real,
|
| 7 |
+
"Prominence" real,
|
| 8 |
+
"Range" text,
|
| 9 |
+
"Country" text,
|
| 10 |
+
PRIMARY KEY ("Mountain_ID")
|
| 11 |
+
);
|
| 12 |
+
|
| 13 |
+
CREATE TABLE "climber" (
|
| 14 |
+
"Climber_ID" int,
|
| 15 |
+
"Name" text,
|
| 16 |
+
"Country" text,
|
| 17 |
+
"Time" text,
|
| 18 |
+
"Points" real,
|
| 19 |
+
"Mountain_ID" int,
|
| 20 |
+
PRIMARY KEY ("Climber_ID"),
|
| 21 |
+
FOREIGN KEY ("Mountain_ID") REFERENCES "mountain"("Mountain_ID")
|
| 22 |
+
);
|
| 23 |
+
|
| 24 |
+
INSERT INTO "mountain" VALUES (1,"Kibo (Uhuru Pk)","5895","5885","Kilimanjaro","Tanzania");
|
| 25 |
+
INSERT INTO "mountain" VALUES (2,"Mount Kenya (Batian)","5199","3825","Mount Kenya","Kenya");
|
| 26 |
+
INSERT INTO "mountain" VALUES (3,"Mawenzi (Hans Meyer Pk)","5148","850","Kilimanjaro","Tanzania");
|
| 27 |
+
INSERT INTO "mountain" VALUES (4,"Ngaliema / Mt Stanley (Margherita Pk)","5109","3951","Rwenzori","DR Congo Uganda");
|
| 28 |
+
INSERT INTO "mountain" VALUES (5,"Mount Kenya (Lenana)","4985","130","Mount Kenya","Kenya");
|
| 29 |
+
INSERT INTO "mountain" VALUES (6,"Ngaliema / Mt Stanley (Savoia Pk)","4977","110","Rwenzori","Uganda");
|
| 30 |
+
INSERT INTO "mountain" VALUES (7,"Duwoni / Mt Speke (Vittorio Emanuele Pk)","4890","720","Rwenzori","Uganda");
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
INSERT INTO "climber" VALUES ("1","Klaus Enders","West Germany","1:13.05.6","15",1);
|
| 34 |
+
INSERT INTO "climber" VALUES ("2","Siegfried Schauzu","West Germany","1:14.56.4","12",1);
|
| 35 |
+
INSERT INTO "climber" VALUES ("3","Hans Luthringhauser","West Germany","1:16.58.0","10",2);
|
| 36 |
+
INSERT INTO "climber" VALUES ("4","Jean Claude Castella","Switzerland","1:17.16.0","8",2);
|
| 37 |
+
INSERT INTO "climber" VALUES ("5","Horst Owesle","West Germany","1:17.22.0","6",2);
|
| 38 |
+
INSERT INTO "climber" VALUES ("6","Georg Auerbacher","West Germany","1:18.14.6","5",3);
|
| 39 |
+
INSERT INTO "climber" VALUES ("7","Arseneus Butscher","West Germany","1:21.35.6","4",5);
|
| 40 |
+
INSERT INTO "climber" VALUES ("8","Charlie Freedman","United Kingdom","1:25.02.8","3",5);
|
| 41 |
+
INSERT INTO "climber" VALUES ("9","L Currie","United Kingdom","1:25.40.6","2",7);
|
| 42 |
+
INSERT INTO "climber" VALUES ("10","Mick Horsepole","United Kingdom","1:27.28.8","1",7);
|
| 43 |
+
|
test_database/club_1/schema.sql
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
create table Student (
|
| 2 |
+
StuID INTEGER PRIMARY KEY,
|
| 3 |
+
LName VARCHAR(12),
|
| 4 |
+
Fname VARCHAR(12),
|
| 5 |
+
Age INTEGER,
|
| 6 |
+
Sex VARCHAR(1),
|
| 7 |
+
Major INTEGER,
|
| 8 |
+
Advisor INTEGER,
|
| 9 |
+
city_code VARCHAR(3)
|
| 10 |
+
);
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
create table Club (
|
| 14 |
+
ClubID INTEGER PRIMARY KEY,
|
| 15 |
+
ClubName VARCHAR(40),
|
| 16 |
+
ClubDesc VARCHAR(1024),
|
| 17 |
+
ClubLocation VARCHAR(40)
|
| 18 |
+
);
|
| 19 |
+
|
| 20 |
+
create table Member_of_club (
|
| 21 |
+
StuID INTEGER,
|
| 22 |
+
ClubID INTEGER,
|
| 23 |
+
Position VARCHAR(40),
|
| 24 |
+
FOREIGN KEY(StuID) REFERENCES Student(StuID),
|
| 25 |
+
FOREIGN KEY(ClubID) REFERENCES Club(ClubID)
|
| 26 |
+
);
|
| 27 |
+
|
| 28 |
+
|
| 29 |
+
insert into Student values ( 1001, 'Smith', 'Linda', 18, 'F', 600, 1121,'BAL');
|
| 30 |
+
insert into Student values ( 1002, 'Kim', 'Tracy', 19, 'F', 600, 7712,'HKG');
|
| 31 |
+
insert into Student values ( 1003, 'Jones', 'Shiela', 21, 'F', 600, 7792,'WAS');
|
| 32 |
+
insert into Student values ( 1004, 'Kumar', 'Dinesh', 20, 'M', 600, 8423,'CHI');
|
| 33 |
+
insert into Student values ( 1005, 'Gompers', 'Paul', 26, 'M', 600, 1121,'YYZ');
|
| 34 |
+
insert into Student values ( 1006, 'Schultz', 'Andy', 18, 'M', 600, 1148,'BAL');
|
| 35 |
+
insert into Student values ( 1007, 'Apap', 'Lisa', 18, 'F', 600, 8918,'PIT');
|
| 36 |
+
insert into Student values ( 1008, 'Nelson', 'Jandy', 20, 'F', 600, 9172,'BAL');
|
| 37 |
+
insert into Student values ( 1009, 'Tai', 'Eric', 19, 'M', 600, 2192,'YYZ');
|
| 38 |
+
insert into Student values ( 1010, 'Lee', 'Derek', 17, 'M', 600, 2192,'HOU');
|
| 39 |
+
insert into Student values ( 1011, 'Adams', 'David', 22, 'M', 600, 1148,'PHL');
|
| 40 |
+
insert into Student values ( 1012, 'Davis', 'Steven', 20, 'M', 600, 7723,'PIT');
|
| 41 |
+
insert into Student values ( 1014, 'Norris', 'Charles', 18, 'M', 600, 8741, 'DAL');
|
| 42 |
+
insert into Student values ( 1015, 'Lee', 'Susan', 16, 'F', 600, 8721,'HKG');
|
| 43 |
+
insert into Student values ( 1016, 'Schwartz', 'Mark', 17, 'M', 600, 2192,'DET');
|
| 44 |
+
insert into Student values ( 1017, 'Wilson', 'Bruce', 27, 'M', 600, 1148,'LON');
|
| 45 |
+
insert into Student values ( 1018, 'Leighton', 'Michael', 20, 'M', 600, 1121, 'PIT');
|
| 46 |
+
insert into Student values ( 1019, 'Pang', 'Arthur', 18, 'M', 600, 2192,'WAS');
|
| 47 |
+
insert into Student values ( 1020, 'Thornton', 'Ian', 22, 'M', 520, 7271,'NYC');
|
| 48 |
+
insert into Student values ( 1021, 'Andreou', 'George', 19, 'M', 520, 8722, 'NYC');
|
| 49 |
+
insert into Student values ( 1022, 'Woods', 'Michael', 17, 'M', 540, 8722,'PHL');
|
| 50 |
+
insert into Student values ( 1023, 'Shieber', 'David', 20, 'M', 520, 8722,'NYC');
|
| 51 |
+
insert into Student values ( 1024, 'Prater', 'Stacy', 18, 'F', 540, 7271,'BAL');
|
| 52 |
+
insert into Student values ( 1025, 'Goldman', 'Mark', 18, 'M', 520, 7134,'PIT');
|
| 53 |
+
insert into Student values ( 1026, 'Pang', 'Eric', 19, 'M', 520, 7134,'HKG');
|
| 54 |
+
insert into Student values ( 1027, 'Brody', 'Paul', 18, 'M', 520, 8723,'LOS');
|
| 55 |
+
insert into Student values ( 1028, 'Rugh', 'Eric', 20, 'M', 550, 2311,'ROC');
|
| 56 |
+
insert into Student values ( 1029, 'Han', 'Jun', 17, 'M', 100, 2311,'PEK');
|
| 57 |
+
insert into Student values ( 1030, 'Cheng', 'Lisa', 21, 'F', 550, 2311,'SFO');
|
| 58 |
+
insert into Student values ( 1031, 'Smith', 'Sarah', 20, 'F', 550, 8772,'PHL');
|
| 59 |
+
insert into Student values ( 1032, 'Brown', 'Eric', 20, 'M', 550, 8772,'ATL');
|
| 60 |
+
insert into Student values ( 1033, 'Simms', 'William', 18, 'M', 550, 8772,'NAR');
|
| 61 |
+
insert into Student values ( 1034, 'Epp', 'Eric', 18, 'M', 050, 5718,'BOS');
|
| 62 |
+
insert into Student values ( 1035, 'Schmidt', 'Sarah', 26, 'F', 050, 5718,'WAS');
|
| 63 |
+
|
| 64 |
+
|
| 65 |
+
insert into Club values ( 1, 'Bootup Baltimore', 'Refurbish computers; teach kids and adults about computer basics.', 'AKW');
|
| 66 |
+
insert into Club values ( 2, 'Hopkins Student Enterprises', 'Venture capital fund for student business.', 'AKW');
|
| 67 |
+
insert into Club values ( 3, 'Pen and Paper Gaming', 'Play pen and paper games on campus.', 'HHH');
|
| 68 |
+
insert into Club values ( 4, 'Tennis Club', 'A competitive tennis club.', 'AKW');
|
| 69 |
+
|
| 70 |
+
insert into Member_of_club values ( 1001, 1, 'President');
|
| 71 |
+
insert into Member_of_club values ( 1007, 4, 'Vice-President');
|
| 72 |
+
insert into Member_of_club values ( 1008, 2, 'CTO');
|
| 73 |
+
insert into Member_of_club values ( 1010, 1, 'Teaching Coordinator');
|
test_database/college_2/link.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
http://www.cs.dartmouth.edu/~cs61/Examples/
|
test_database/cre_Docs_and_Epenses/cre_Docs_and_Epenses.sqlite
ADDED
|
Binary file (41 kB). View file
|
|
|
test_database/cre_Drama_Workshop_Groups/schema.sql
ADDED
|
@@ -0,0 +1,468 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PRAGMA foreign_keys = ON;
|
| 2 |
+
|
| 3 |
+
CREATE TABLE Ref_Payment_Methods (
|
| 4 |
+
payment_method_code CHAR(10) NOT NULL,
|
| 5 |
+
payment_method_description VARCHAR(80),
|
| 6 |
+
PRIMARY KEY (payment_method_code),
|
| 7 |
+
UNIQUE (payment_method_code)
|
| 8 |
+
);
|
| 9 |
+
INSERT INTO Ref_Payment_Methods (`payment_method_code`, `payment_method_description`) VALUES ('American E', 'credit');
|
| 10 |
+
INSERT INTO Ref_Payment_Methods (`payment_method_code`, `payment_method_description`) VALUES ('MasterCard', 'debit');
|
| 11 |
+
INSERT INTO Ref_Payment_Methods (`payment_method_code`, `payment_method_description`) VALUES ('Visa', 'Visa');
|
| 12 |
+
|
| 13 |
+
CREATE TABLE Ref_Service_Types (
|
| 14 |
+
Service_Type_Code CHAR(15) NOT NULL,
|
| 15 |
+
Parent_Service_Type_Code CHAR(15),
|
| 16 |
+
Service_Type_Description VARCHAR(255),
|
| 17 |
+
PRIMARY KEY (Service_Type_Code),
|
| 18 |
+
UNIQUE (Service_Type_Code)
|
| 19 |
+
);
|
| 20 |
+
|
| 21 |
+
INSERT INTO Ref_Service_Types ( `Service_Type_Code`,`Parent_Service_Type_Code`,`Service_Type_Description`) VALUES ('1','1','provide photo service');
|
| 22 |
+
INSERT INTO Ref_Service_Types ( `Service_Type_Code`,`Parent_Service_Type_Code`,`Service_Type_Description`) VALUES ('2','1','provide dinning service');
|
| 23 |
+
INSERT INTO Ref_Service_Types ( `Service_Type_Code`,`Parent_Service_Type_Code`,`Service_Type_Description`) VALUES ('3','1','provide filming service');
|
| 24 |
+
INSERT INTO Ref_Service_Types ( `Service_Type_Code`,`Parent_Service_Type_Code`,`Service_Type_Description`) VALUES ('4','1','provide adv promoting service');
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
CREATE TABLE Addresses (
|
| 29 |
+
Address_ID VARCHAR(100) NOT NULL,
|
| 30 |
+
Line_1 VARCHAR(255),
|
| 31 |
+
Line_2 VARCHAR(255),
|
| 32 |
+
City_Town VARCHAR(255),
|
| 33 |
+
State_County VARCHAR(255),
|
| 34 |
+
Other_Details VARCHAR(255),
|
| 35 |
+
PRIMARY KEY (Address_ID),
|
| 36 |
+
UNIQUE (Address_ID)
|
| 37 |
+
);
|
| 38 |
+
INSERT INTO Addresses (`Address_ID`, `Line_1`, `Line_2`, `City_Town`, `State_County`, `Other_Details`) VALUES ('110', '4753 Dach Highway', 'Suite 846', 'Feliciaberg', 'Florida', NULL);
|
| 39 |
+
INSERT INTO Addresses (`Address_ID`, `Line_1`, `Line_2`, `City_Town`, `State_County`, `Other_Details`) VALUES ('124', '391 Vandervort Fall Apt. 446', 'Apt. 107', 'West Sherwoodstad', 'Indiana', NULL);
|
| 40 |
+
INSERT INTO Addresses (`Address_ID`, `Line_1`, `Line_2`, `City_Town`, `State_County`, `Other_Details`) VALUES ('148', '809 Izabella Islands', 'Suite 271', 'Schadenville', 'Ohio', NULL);
|
| 41 |
+
INSERT INTO Addresses (`Address_ID`, `Line_1`, `Line_2`, `City_Town`, `State_County`, `Other_Details`) VALUES ('15', '3720 Vito View Apt. 148', 'Apt. 584', 'New Jaquelinmouth', 'Ohio', NULL);
|
| 42 |
+
INSERT INTO Addresses (`Address_ID`, `Line_1`, `Line_2`, `City_Town`, `State_County`, `Other_Details`) VALUES ('180', '8835 Boehm Greens', 'Apt. 741', 'Chrisside', 'Maryland', NULL);
|
| 43 |
+
INSERT INTO Addresses (`Address_ID`, `Line_1`, `Line_2`, `City_Town`, `State_County`, `Other_Details`) VALUES ('19', '77667 Nathan Union Apt. 606', 'Apt. 114', 'Desireefort', 'WestVirginia', NULL);
|
| 44 |
+
INSERT INTO Addresses (`Address_ID`, `Line_1`, `Line_2`, `City_Town`, `State_County`, `Other_Details`) VALUES ('192', '545 Lula Mission', 'Suite 311', 'East Aracely', 'Oklahoma', NULL);
|
| 45 |
+
INSERT INTO Addresses (`Address_ID`, `Line_1`, `Line_2`, `City_Town`, `State_County`, `Other_Details`) VALUES ('201', '2893 Jenkins Station Suite 815', 'Suite 570', 'Monahanshire', 'Kentucky', NULL);
|
| 46 |
+
INSERT INTO Addresses (`Address_ID`, `Line_1`, `Line_2`, `City_Town`, `State_County`, `Other_Details`) VALUES ('207', '87789 Reilly Canyon Suite 872', 'Apt. 136', 'Rueckermouth', 'Maryland', NULL);
|
| 47 |
+
INSERT INTO Addresses (`Address_ID`, `Line_1`, `Line_2`, `City_Town`, `State_County`, `Other_Details`) VALUES ('230', '0855 Ziemann Island', 'Apt. 597', 'Purdyville', 'SouthCarolina', NULL);
|
| 48 |
+
INSERT INTO Addresses (`Address_ID`, `Line_1`, `Line_2`, `City_Town`, `State_County`, `Other_Details`) VALUES ('266', '2082 Runolfsson Cliffs', 'Apt. 460', 'Macejkovicchester', 'Alaska', NULL);
|
| 49 |
+
INSERT INTO Addresses (`Address_ID`, `Line_1`, `Line_2`, `City_Town`, `State_County`, `Other_Details`) VALUES ('286', '51237 Maiya Center', 'Suite 714', 'New Lonzoville', 'Nebraska', NULL);
|
| 50 |
+
INSERT INTO Addresses (`Address_ID`, `Line_1`, `Line_2`, `City_Town`, `State_County`, `Other_Details`) VALUES ('314', '70561 Vicenta Islands Apt. 873', 'Apt. 352', 'Cronaborough', 'Ohio', NULL);
|
| 51 |
+
INSERT INTO Addresses (`Address_ID`, `Line_1`, `Line_2`, `City_Town`, `State_County`, `Other_Details`) VALUES ('362', '384 Fahey Flat Apt. 886', 'Suite 583', 'South Birdie', 'Pennsylvania', NULL);
|
| 52 |
+
INSERT INTO Addresses (`Address_ID`, `Line_1`, `Line_2`, `City_Town`, `State_County`, `Other_Details`) VALUES ('369', '899 Okuneva Haven', 'Apt. 615', 'Jasthaven', 'Delaware', NULL);
|
| 53 |
+
INSERT INTO Addresses (`Address_ID`, `Line_1`, `Line_2`, `City_Town`, `State_County`, `Other_Details`) VALUES ('374', '956 Aliyah Cape', 'Suite 226', 'South Eugenia', 'Washington', NULL);
|
| 54 |
+
INSERT INTO Addresses (`Address_ID`, `Line_1`, `Line_2`, `City_Town`, `State_County`, `Other_Details`) VALUES ('383', '788 Flossie Junction Apt. 770', 'Apt. 861', 'Nataliamouth', 'WestVirginia', NULL);
|
| 55 |
+
INSERT INTO Addresses (`Address_ID`, `Line_1`, `Line_2`, `City_Town`, `State_County`, `Other_Details`) VALUES ('39', '9799 Andres Shoal', 'Apt. 012', 'North Antonina', 'SouthDakota', NULL);
|
| 56 |
+
INSERT INTO Addresses (`Address_ID`, `Line_1`, `Line_2`, `City_Town`, `State_County`, `Other_Details`) VALUES ('74', '8682 Boyle Glen', 'Apt. 012', 'Lindberg', 'Alabama', NULL);
|
| 57 |
+
INSERT INTO Addresses (`Address_ID`, `Line_1`, `Line_2`, `City_Town`, `State_County`, `Other_Details`) VALUES ('98', '32128 Klocko Oval', 'Suite 184', 'Port Maximeview', 'Arizona', NULL);
|
| 58 |
+
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
CREATE TABLE Products (
|
| 62 |
+
Product_ID VARCHAR(100) NOT NULL,
|
| 63 |
+
Product_Name VARCHAR(255),
|
| 64 |
+
Product_Price DECIMAL(20,4),
|
| 65 |
+
Product_Description VARCHAR(255),
|
| 66 |
+
Other_Product_Service_Details VARCHAR(255),
|
| 67 |
+
PRIMARY KEY (Product_ID),
|
| 68 |
+
UNIQUE (Product_ID)
|
| 69 |
+
);
|
| 70 |
+
INSERT INTO Products (`Product_ID`, `Product_Name`, `Product_Price`, `Product_Description`, `Other_Product_Service_Details`) VALUES ('11', 'photo', '4448536.0000', NULL, NULL);
|
| 71 |
+
INSERT INTO Products (`Product_ID`, `Product_Name`, `Product_Price`, `Product_Description`, `Other_Product_Service_Details`) VALUES ('154', 'film', '2302.0000', NULL, NULL);
|
| 72 |
+
INSERT INTO Products (`Product_ID`, `Product_Name`, `Product_Price`, `Product_Description`, `Other_Product_Service_Details`) VALUES ('156', 'film', '17622723.0000', NULL, NULL);
|
| 73 |
+
INSERT INTO Products (`Product_ID`, `Product_Name`, `Product_Price`, `Product_Description`, `Other_Product_Service_Details`) VALUES ('179', 'film', '1432324.0000', NULL, NULL);
|
| 74 |
+
INSERT INTO Products (`Product_ID`, `Product_Name`, `Product_Price`, `Product_Description`, `Other_Product_Service_Details`) VALUES ('188', 'film', '49097627.0000', NULL, NULL);
|
| 75 |
+
INSERT INTO Products (`Product_ID`, `Product_Name`, `Product_Price`, `Product_Description`, `Other_Product_Service_Details`) VALUES ('21', 'photo', '22082866.0000', NULL, NULL);
|
| 76 |
+
INSERT INTO Products (`Product_ID`, `Product_Name`, `Product_Price`, `Product_Description`, `Other_Product_Service_Details`) VALUES ('216', 'film', '157216.0000', NULL, NULL);
|
| 77 |
+
INSERT INTO Products (`Product_ID`, `Product_Name`, `Product_Price`, `Product_Description`, `Other_Product_Service_Details`) VALUES ('232', 'photo', '22.0000', NULL, NULL);
|
| 78 |
+
INSERT INTO Products (`Product_ID`, `Product_Name`, `Product_Price`, `Product_Description`, `Other_Product_Service_Details`) VALUES ('233', 'photo', '4082352.0000', NULL, NULL);
|
| 79 |
+
INSERT INTO Products (`Product_ID`, `Product_Name`, `Product_Price`, `Product_Description`, `Other_Product_Service_Details`) VALUES ('250', 'photo', '797.0000', NULL, NULL);
|
| 80 |
+
INSERT INTO Products (`Product_ID`, `Product_Name`, `Product_Price`, `Product_Description`, `Other_Product_Service_Details`) VALUES ('273', 'photo', '1577.0000', NULL, NULL);
|
| 81 |
+
INSERT INTO Products (`Product_ID`, `Product_Name`, `Product_Price`, `Product_Description`, `Other_Product_Service_Details`) VALUES ('300', 'dinning', '30625.0000', NULL, NULL);
|
| 82 |
+
INSERT INTO Products (`Product_ID`, `Product_Name`, `Product_Price`, `Product_Description`, `Other_Product_Service_Details`) VALUES ('46', 'dinning', '50828.0000', NULL, NULL);
|
| 83 |
+
INSERT INTO Products (`Product_ID`, `Product_Name`, `Product_Price`, `Product_Description`, `Other_Product_Service_Details`) VALUES ('81', 'dinning', '634660.0000', NULL, NULL);
|
| 84 |
+
INSERT INTO Products (`Product_ID`, `Product_Name`, `Product_Price`, `Product_Description`, `Other_Product_Service_Details`) VALUES ('83', 'film', '900.0000', NULL, NULL);
|
| 85 |
+
|
| 86 |
+
|
| 87 |
+
CREATE TABLE Marketing_Regions (
|
| 88 |
+
Marketing_Region_Code CHAR(15) NOT NULL,
|
| 89 |
+
Marketing_Region_Name VARCHAR(255) NOT NULL,
|
| 90 |
+
Marketing_Region_Descriptrion VARCHAR(255) NOT NULL,
|
| 91 |
+
Other_Details VARCHAR(255),
|
| 92 |
+
PRIMARY KEY (Marketing_Region_Code),
|
| 93 |
+
UNIQUE (Marketing_Region_Code)
|
| 94 |
+
);
|
| 95 |
+
|
| 96 |
+
INSERT INTO Marketing_Regions (`Marketing_Region_Code`, `Marketing_Region_Name`, `Marketing_Region_Descriptrion`, `Other_Details`) VALUES ('CA', 'Canada', 'Our target market', NULL);
|
| 97 |
+
INSERT INTO Marketing_Regions (`Marketing_Region_Code`, `Marketing_Region_Name`, `Marketing_Region_Descriptrion`, `Other_Details`) VALUES ('CN', 'China', 'Our largest market', NULL);
|
| 98 |
+
INSERT INTO Marketing_Regions (`Marketing_Region_Code`, `Marketing_Region_Name`, `Marketing_Region_Descriptrion`, `Other_Details`) VALUES ('ES', 'Spain', '', NULL);
|
| 99 |
+
INSERT INTO Marketing_Regions (`Marketing_Region_Code`, `Marketing_Region_Name`, `Marketing_Region_Descriptrion`, `Other_Details`) VALUES ('FR', 'France', '', NULL);
|
| 100 |
+
INSERT INTO Marketing_Regions (`Marketing_Region_Code`, `Marketing_Region_Name`, `Marketing_Region_Descriptrion`, `Other_Details`) VALUES ('IN', 'India', '', NULL);
|
| 101 |
+
INSERT INTO Marketing_Regions (`Marketing_Region_Code`, `Marketing_Region_Name`, `Marketing_Region_Descriptrion`, `Other_Details`) VALUES ('MX', 'Mexico', '', NULL);
|
| 102 |
+
INSERT INTO Marketing_Regions (`Marketing_Region_Code`, `Marketing_Region_Name`, `Marketing_Region_Descriptrion`, `Other_Details`) VALUES ('RU', 'Russia', '', NULL);
|
| 103 |
+
INSERT INTO Marketing_Regions (`Marketing_Region_Code`, `Marketing_Region_Name`, `Marketing_Region_Descriptrion`, `Other_Details`) VALUES ('US', 'United States', 'Our main market', NULL);
|
| 104 |
+
|
| 105 |
+
|
| 106 |
+
CREATE TABLE Clients (
|
| 107 |
+
Client_ID INTEGER NOT NULL,
|
| 108 |
+
Address_ID INTEGER NOT NULL,
|
| 109 |
+
Customer_Email_Address VARCHAR(255),
|
| 110 |
+
Customer_Name VARCHAR(255),
|
| 111 |
+
Customer_Phone VARCHAR(255),
|
| 112 |
+
Other_Details VARCHAR(255),
|
| 113 |
+
PRIMARY KEY (Client_ID),
|
| 114 |
+
UNIQUE (Client_ID),
|
| 115 |
+
FOREIGN KEY (Address_ID) REFERENCES Addresses (Address_ID)
|
| 116 |
+
);
|
| 117 |
+
INSERT INTO Clients (`Client_ID`, `Address_ID`, `Customer_Email_Address`, `Customer_Name`, `Customer_Phone`, `Other_Details`) VALUES (423, 201, 'branson94@example.net', 'Clifford', '(042)912-3404x5135', 'VIP');
|
| 118 |
+
INSERT INTO Clients (`Client_ID`, `Address_ID`, `Customer_Email_Address`, `Customer_Name`, `Customer_Phone`, `Other_Details`) VALUES (426, 383, 'alba04@example.com', 'Bettye', '(604)849-0214', NULL);
|
| 119 |
+
INSERT INTO Clients (`Client_ID`, `Address_ID`, `Customer_Email_Address`, `Customer_Name`, `Customer_Phone`, `Other_Details`) VALUES (478, 15, 'westley30@example.net', 'Reinhold', '1-048-214-4640x64380', NULL);
|
| 120 |
+
INSERT INTO Clients (`Client_ID`, `Address_ID`, `Customer_Email_Address`, `Customer_Name`, `Customer_Phone`, `Other_Details`) VALUES (508, 98, 'hudson.kristina@example.net', 'Jack', '(966)022-6448x3428', 'Super VIP');
|
| 121 |
+
INSERT INTO Clients (`Client_ID`, `Address_ID`, `Customer_Email_Address`, `Customer_Name`, `Customer_Phone`, `Other_Details`) VALUES (509, 286, 'white.alysa@example.com', 'Rosanna', '(651)611-6111x61144', NULL);
|
| 122 |
+
INSERT INTO Clients (`Client_ID`, `Address_ID`, `Customer_Email_Address`, `Customer_Name`, `Customer_Phone`, `Other_Details`) VALUES (527, 74, 'buddy98@example.org', 'Kelton', '581.457.6800', NULL);
|
| 123 |
+
INSERT INTO Clients (`Client_ID`, `Address_ID`, `Customer_Email_Address`, `Customer_Name`, `Customer_Phone`, `Other_Details`) VALUES (591, 98, 'considine.shyanne@example.net', 'Connor', '1-479-550-1510x89172', NULL);
|
| 124 |
+
INSERT INTO Clients (`Client_ID`, `Address_ID`, `Customer_Email_Address`, `Customer_Name`, `Customer_Phone`, `Other_Details`) VALUES (605, 15, 'strosin.keara@example.com', 'Garfield', '+63(3)8897932425', NULL);
|
| 125 |
+
INSERT INTO Clients (`Client_ID`, `Address_ID`, `Customer_Email_Address`, `Customer_Name`, `Customer_Phone`, `Other_Details`) VALUES (628, 383, 'cconn@example.net', 'Urban', '405.225.1435', NULL);
|
| 126 |
+
INSERT INTO Clients (`Client_ID`, `Address_ID`, `Customer_Email_Address`, `Customer_Name`, `Customer_Phone`, `Other_Details`) VALUES (631, 374, 'qaltenwerth@example.com', 'Vita', '1-299-766-5382x3122', 'VIP');
|
| 127 |
+
INSERT INTO Clients (`Client_ID`, `Address_ID`, `Customer_Email_Address`, `Customer_Name`, `Customer_Phone`, `Other_Details`) VALUES (699, 98, 'lbalistreri@example.net', 'Rory', '1-431-563-2576x9849', NULL);
|
| 128 |
+
INSERT INTO Clients (`Client_ID`, `Address_ID`, `Customer_Email_Address`, `Customer_Name`, `Customer_Phone`, `Other_Details`) VALUES (735, 110, 'dina.gutmann@example.net', 'Arvid', '(745)818-8559x747', NULL);
|
| 129 |
+
INSERT INTO Clients (`Client_ID`, `Address_ID`, `Customer_Email_Address`, `Customer_Name`, `Customer_Phone`, `Other_Details`) VALUES (768, 369, 'rempel.jamison@example.com', 'Consuelo', '(729)754-0764x6020', NULL);
|
| 130 |
+
INSERT INTO Clients (`Client_ID`, `Address_ID`, `Customer_Email_Address`, `Customer_Name`, `Customer_Phone`, `Other_Details`) VALUES (775, 383, 'jklocko@example.net', 'Alvis', '+12(5)4915316228', NULL);
|
| 131 |
+
INSERT INTO Clients (`Client_ID`, `Address_ID`, `Customer_Email_Address`, `Customer_Name`, `Customer_Phone`, `Other_Details`) VALUES (776, 374, 'lacy92@example.com', 'Tevin', '08761812417', NULL);
|
| 132 |
+
INSERT INTO Clients (`Client_ID`, `Address_ID`, `Customer_Email_Address`, `Customer_Name`, `Customer_Phone`, `Other_Details`) VALUES (868, 74, 'boyer.carleton@example.com', 'Krista', '(066)903-6363', NULL);
|
| 133 |
+
INSERT INTO Clients (`Client_ID`, `Address_ID`, `Customer_Email_Address`, `Customer_Name`, `Customer_Phone`, `Other_Details`) VALUES (887, 39, 'vparker@example.net', 'Genesis', '1-121-643-1101', NULL);
|
| 134 |
+
INSERT INTO Clients (`Client_ID`, `Address_ID`, `Customer_Email_Address`, `Customer_Name`, `Customer_Phone`, `Other_Details`) VALUES (938, 180, 'cleora.strosin@example.org', 'Horace', '935-161-0948x33010', NULL);
|
| 135 |
+
INSERT INTO Clients (`Client_ID`, `Address_ID`, `Customer_Email_Address`, `Customer_Name`, `Customer_Phone`, `Other_Details`) VALUES (943, 39, 'kbailey@example.com', 'Marquis', '398-003-6983x1691', NULL);
|
| 136 |
+
INSERT INTO Clients (`Client_ID`, `Address_ID`, `Customer_Email_Address`, `Customer_Name`, `Customer_Phone`, `Other_Details`) VALUES (953, 362, 'conn.josiane@example.com', 'Malcolm', '(995)964-6385', NULL);
|
| 137 |
+
|
| 138 |
+
|
| 139 |
+
CREATE TABLE Drama_Workshop_Groups (
|
| 140 |
+
Workshop_Group_ID INTEGER NOT NULL,
|
| 141 |
+
Address_ID INTEGER NOT NULL,
|
| 142 |
+
Currency_Code CHAR(15) NOT NULL,
|
| 143 |
+
Marketing_Region_Code CHAR(15) NOT NULL,
|
| 144 |
+
Store_Name VARCHAR(255),
|
| 145 |
+
Store_Phone VARCHAR(255),
|
| 146 |
+
Store_Email_Address VARCHAR(255),
|
| 147 |
+
Other_Details VARCHAR(255),
|
| 148 |
+
PRIMARY KEY (Workshop_Group_ID),
|
| 149 |
+
UNIQUE (Workshop_Group_ID),
|
| 150 |
+
FOREIGN KEY (Address_ID) REFERENCES Addresses (Address_ID)
|
| 151 |
+
);
|
| 152 |
+
INSERT INTO Drama_Workshop_Groups (`Workshop_Group_ID`, `Address_ID`, `Currency_Code`, `Marketing_Region_Code`, `Store_Name`, `Store_Phone`, `Store_Email_Address`, `Other_Details`) VALUES (136, 383, 'EU', 'FR', 'Amely Cafe', '122-084-8029', 'amely.ruecker@example.com', NULL);
|
| 153 |
+
INSERT INTO Drama_Workshop_Groups (`Workshop_Group_ID`, `Address_ID`, `Currency_Code`, `Marketing_Region_Code`, `Store_Name`, `Store_Phone`, `Store_Email_Address`, `Other_Details`) VALUES (140, 180, 'EU', 'DE', 'Veda Film', '793-966-9311x5303', 'breitenberg.veda@example.com', NULL);
|
| 154 |
+
INSERT INTO Drama_Workshop_Groups (`Workshop_Group_ID`, `Address_ID`, `Currency_Code`, `Marketing_Region_Code`, `Store_Name`, `Store_Phone`, `Store_Email_Address`, `Other_Details`) VALUES (176, 286, 'EU', 'RU', 'Queen Art', '492-463-5967', 'quigley.queen@example.org', 'Good');
|
| 155 |
+
INSERT INTO Drama_Workshop_Groups (`Workshop_Group_ID`, `Address_ID`, `Currency_Code`, `Marketing_Region_Code`, `Store_Name`, `Store_Phone`, `Store_Email_Address`, `Other_Details`) VALUES (314, 369, 'EU', 'RU', 'Kole Photo', '(256)743-0310', 'kole.torp@example.org', NULL);
|
| 156 |
+
INSERT INTO Drama_Workshop_Groups (`Workshop_Group_ID`, `Address_ID`, `Currency_Code`, `Marketing_Region_Code`, `Store_Name`, `Store_Phone`, `Store_Email_Address`, `Other_Details`) VALUES (382, 266, 'USD', 'US', 'WAT Food', '(411)133-9128', 'watsica.hettie@example.com', NULL);
|
| 157 |
+
INSERT INTO Drama_Workshop_Groups (`Workshop_Group_ID`, `Address_ID`, `Currency_Code`, `Marketing_Region_Code`, `Store_Name`, `Store_Phone`, `Store_Email_Address`, `Other_Details`) VALUES (405, 207, 'EU', 'ES', 'Hansen Print', '1-764-337-3453', 'hansen.krista@example.net', 'Good');
|
| 158 |
+
INSERT INTO Drama_Workshop_Groups (`Workshop_Group_ID`, `Address_ID`, `Currency_Code`, `Marketing_Region_Code`, `Store_Name`, `Store_Phone`, `Store_Email_Address`, `Other_Details`) VALUES (415, 383, 'EU', 'RU', 'Roo Place', '(422)705-5633', 'roosevelt61@example.com', NULL);
|
| 159 |
+
INSERT INTO Drama_Workshop_Groups (`Workshop_Group_ID`, `Address_ID`, `Currency_Code`, `Marketing_Region_Code`, `Store_Name`, `Store_Phone`, `Store_Email_Address`, `Other_Details`) VALUES (431, 110, 'USD', 'MX', 'Uhuels Fruit', '(636)443-4067', 'uhuels@example.net', NULL);
|
| 160 |
+
INSERT INTO Drama_Workshop_Groups (`Workshop_Group_ID`, `Address_ID`, `Currency_Code`, `Marketing_Region_Code`, `Store_Name`, `Store_Phone`, `Store_Email_Address`, `Other_Details`) VALUES (470, 369, 'USD', 'DE', 'Harry Beef', '(904)958-9909x0087', 'harry.nicolas@example.org', NULL);
|
| 161 |
+
INSERT INTO Drama_Workshop_Groups (`Workshop_Group_ID`, `Address_ID`, `Currency_Code`, `Marketing_Region_Code`, `Store_Name`, `Store_Phone`, `Store_Email_Address`, `Other_Details`) VALUES (685, 201, 'EU', 'RU', 'Welch Flower', '334-591-4561x465', 'welch.colby@example.net', 'Bad');
|
| 162 |
+
INSERT INTO Drama_Workshop_Groups (`Workshop_Group_ID`, `Address_ID`, `Currency_Code`, `Marketing_Region_Code`, `Store_Name`, `Store_Phone`, `Store_Email_Address`, `Other_Details`) VALUES (708, 230, 'EU', 'RU', 'Kling Workshop', '499-032-2149', 'katherine.kling@example.org', NULL);
|
| 163 |
+
INSERT INTO Drama_Workshop_Groups (`Workshop_Group_ID`, `Address_ID`, `Currency_Code`, `Marketing_Region_Code`, `Store_Name`, `Store_Phone`, `Store_Email_Address`, `Other_Details`) VALUES (735, 286, 'EU', 'FR', 'Orn News', '+60(6)8081312118', 'arturo.orn@example.org', NULL);
|
| 164 |
+
INSERT INTO Drama_Workshop_Groups (`Workshop_Group_ID`, `Address_ID`, `Currency_Code`, `Marketing_Region_Code`, `Store_Name`, `Store_Phone`, `Store_Email_Address`, `Other_Details`) VALUES (838, 124, 'EU', 'RU', 'Bednar Film', '1-351-773-1587x95545', 'bednar.michael@example.org', NULL);
|
| 165 |
+
INSERT INTO Drama_Workshop_Groups (`Workshop_Group_ID`, `Address_ID`, `Currency_Code`, `Marketing_Region_Code`, `Store_Name`, `Store_Phone`, `Store_Email_Address`, `Other_Details`) VALUES (942, 98, 'EU', 'IE', 'Kessler Exploration', '(020)161-0983x567', 'kessler.maximillia@example.net', NULL);
|
| 166 |
+
INSERT INTO Drama_Workshop_Groups (`Workshop_Group_ID`, `Address_ID`, `Currency_Code`, `Marketing_Region_Code`, `Store_Name`, `Store_Phone`, `Store_Email_Address`, `Other_Details`) VALUES (954, 374, 'EU', 'PT', 'Warino Photo', '1-811-875-3222', 'waino.king@example.com', NULL);
|
| 167 |
+
|
| 168 |
+
|
| 169 |
+
|
| 170 |
+
CREATE TABLE Performers (
|
| 171 |
+
Performer_ID INTEGER NOT NULL,
|
| 172 |
+
Address_ID INTEGER NOT NULL,
|
| 173 |
+
Customer_Name VARCHAR(255),
|
| 174 |
+
Customer_Phone VARCHAR(255),
|
| 175 |
+
Customer_Email_Address VARCHAR(255),
|
| 176 |
+
Other_Details VARCHAR(255),
|
| 177 |
+
PRIMARY KEY (Performer_ID),
|
| 178 |
+
UNIQUE (Performer_ID),
|
| 179 |
+
FOREIGN KEY (Address_ID) REFERENCES Addresses (Address_ID)
|
| 180 |
+
);
|
| 181 |
+
INSERT INTO Performers (`Performer_ID`, `Address_ID`, `Customer_Name`, `Customer_Phone`, `Customer_Email_Address`, `Other_Details`) VALUES (153, 124, 'Shawna', '664.495.1939', 'krogahn@example.com', NULL);
|
| 182 |
+
INSERT INTO Performers (`Performer_ID`, `Address_ID`, `Customer_Name`, `Customer_Phone`, `Customer_Email_Address`, `Other_Details`) VALUES (211, 124, 'Ashley', '893-536-8857', 'preston45@example.net', NULL);
|
| 183 |
+
INSERT INTO Performers (`Performer_ID`, `Address_ID`, `Customer_Name`, `Customer_Phone`, `Customer_Email_Address`, `Other_Details`) VALUES (313, 39, 'Oren', '1-952-052-6685x28082', 'ferry.carolina@example.net', NULL);
|
| 184 |
+
INSERT INTO Performers (`Performer_ID`, `Address_ID`, `Customer_Name`, `Customer_Phone`, `Customer_Email_Address`, `Other_Details`) VALUES (341, 110, 'Issac', '08639382978', 'wisozk.john@example.org', NULL);
|
| 185 |
+
INSERT INTO Performers (`Performer_ID`, `Address_ID`, `Customer_Name`, `Customer_Phone`, `Customer_Email_Address`, `Other_Details`) VALUES (360, 207, 'Shaniya', '472.072.6649x4161', 'wschroeder@example.org', NULL);
|
| 186 |
+
INSERT INTO Performers (`Performer_ID`, `Address_ID`, `Customer_Name`, `Customer_Phone`, `Customer_Email_Address`, `Other_Details`) VALUES (376, 180, 'Peyton', '905.705.9514', 'clotilde04@example.net', NULL);
|
| 187 |
+
INSERT INTO Performers (`Performer_ID`, `Address_ID`, `Customer_Name`, `Customer_Phone`, `Customer_Email_Address`, `Other_Details`) VALUES (379, 192, 'Trudie', '782-118-0067', 'trey88@example.net', NULL);
|
| 188 |
+
INSERT INTO Performers (`Performer_ID`, `Address_ID`, `Customer_Name`, `Customer_Phone`, `Customer_Email_Address`, `Other_Details`) VALUES (415, 110, 'Gwen', '342-389-0010x682', 'okub@example.org', NULL);
|
| 189 |
+
INSERT INTO Performers (`Performer_ID`, `Address_ID`, `Customer_Name`, `Customer_Phone`, `Customer_Email_Address`, `Other_Details`) VALUES (433, 110, 'Doyle', '547.535.3455', 'otilia.ortiz@example.net', NULL);
|
| 190 |
+
INSERT INTO Performers (`Performer_ID`, `Address_ID`, `Customer_Name`, `Customer_Phone`, `Customer_Email_Address`, `Other_Details`) VALUES (448, 192, 'Fritz', '858.603.7004', 'cummings.matteo@example.com', 'Did not pay');
|
| 191 |
+
INSERT INTO Performers (`Performer_ID`, `Address_ID`, `Customer_Name`, `Customer_Phone`, `Customer_Email_Address`, `Other_Details`) VALUES (466, 374, 'Tyrique', '1-417-019-8634', 'cokuneva@example.com', NULL);
|
| 192 |
+
INSERT INTO Performers (`Performer_ID`, `Address_ID`, `Customer_Name`, `Customer_Phone`, `Customer_Email_Address`, `Other_Details`) VALUES (650, 15, 'Keanu', '(654)496-1642x31167', 'hudson.cristobal@example.net', 'Did not pay');
|
| 193 |
+
INSERT INTO Performers (`Performer_ID`, `Address_ID`, `Customer_Name`, `Customer_Phone`, `Customer_Email_Address`, `Other_Details`) VALUES (656, 148, 'Dariana', '320.705.7190x0354', 'hbreitenberg@example.com', NULL);
|
| 194 |
+
INSERT INTO Performers (`Performer_ID`, `Address_ID`, `Customer_Name`, `Customer_Phone`, `Customer_Email_Address`, `Other_Details`) VALUES (798, 266, 'Sid', '1-260-605-6483', 'kellen89@example.com', NULL);
|
| 195 |
+
INSERT INTO Performers (`Performer_ID`, `Address_ID`, `Customer_Name`, `Customer_Phone`, `Customer_Email_Address`, `Other_Details`) VALUES (808, 374, 'Vernon', '+11(1)8172674604', 'ianderson@example.com', 'Pay good tips');
|
| 196 |
+
INSERT INTO Performers (`Performer_ID`, `Address_ID`, `Customer_Name`, `Customer_Phone`, `Customer_Email_Address`, `Other_Details`) VALUES (832, 124, 'Marques', '087-833-4617x095', 'joel24@example.com', NULL);
|
| 197 |
+
INSERT INTO Performers (`Performer_ID`, `Address_ID`, `Customer_Name`, `Customer_Phone`, `Customer_Email_Address`, `Other_Details`) VALUES (882, 207, 'Destiney', '(054)005-5168', 'jennyfer81@example.com', NULL);
|
| 198 |
+
INSERT INTO Performers (`Performer_ID`, `Address_ID`, `Customer_Name`, `Customer_Phone`, `Customer_Email_Address`, `Other_Details`) VALUES (904, 314, 'Jeanie', '323-787-3435x31522', 'anderson34@example.net', NULL);
|
| 199 |
+
INSERT INTO Performers (`Performer_ID`, `Address_ID`, `Customer_Name`, `Customer_Phone`, `Customer_Email_Address`, `Other_Details`) VALUES (954, 362, 'Joannie', '1-856-024-7910x2017', 'chaim10@example.com', NULL);
|
| 200 |
+
INSERT INTO Performers (`Performer_ID`, `Address_ID`, `Customer_Name`, `Customer_Phone`, `Customer_Email_Address`, `Other_Details`) VALUES (976, 19, 'Elyse', '483.180.0168x1288', 'myrtice.satterfield@example.net', NULL);
|
| 201 |
+
|
| 202 |
+
|
| 203 |
+
CREATE TABLE Customers (
|
| 204 |
+
Customer_ID VARCHAR(100) NOT NULL,
|
| 205 |
+
Address_ID INTEGER NOT NULL,
|
| 206 |
+
Customer_Name VARCHAR(255),
|
| 207 |
+
Customer_Phone VARCHAR(255),
|
| 208 |
+
Customer_Email_Address VARCHAR(255),
|
| 209 |
+
Other_Details VARCHAR(255),
|
| 210 |
+
PRIMARY KEY (Customer_ID),
|
| 211 |
+
UNIQUE (Customer_ID),
|
| 212 |
+
FOREIGN KEY (Address_ID) REFERENCES Addresses (Address_ID)
|
| 213 |
+
);
|
| 214 |
+
INSERT INTO Customers (`Customer_ID`, `Address_ID`, `Customer_Name`, `Customer_Phone`, `Customer_Email_Address`, `Other_Details`) VALUES ('240', 286, 'Harold', '624-096-7791', 'jerde.harmon@example.com', NULL);
|
| 215 |
+
INSERT INTO Customers (`Customer_ID`, `Address_ID`, `Customer_Name`, `Customer_Phone`, `Customer_Email_Address`, `Other_Details`) VALUES ('267', 98, 'Federico', '914-915-7483', 'johnson27@example.com', NULL);
|
| 216 |
+
INSERT INTO Customers (`Customer_ID`, `Address_ID`, `Customer_Name`, `Customer_Phone`, `Customer_Email_Address`, `Other_Details`) VALUES ('304', 369, 'Samson', '1-463-121-4086x655', 'dalton75@example.com', NULL);
|
| 217 |
+
INSERT INTO Customers (`Customer_ID`, `Address_ID`, `Customer_Name`, `Customer_Phone`, `Customer_Email_Address`, `Other_Details`) VALUES ('418', 369, 'Daryl', '(191)727-6065x6351', 'hickle.jazmyn@example.org', NULL);
|
| 218 |
+
INSERT INTO Customers (`Customer_ID`, `Address_ID`, `Customer_Name`, `Customer_Phone`, `Customer_Email_Address`, `Other_Details`) VALUES ('516', 110, 'Robert', '903.657.6967x467', 'fheathcote@example.com', 'VIP');
|
| 219 |
+
INSERT INTO Customers (`Customer_ID`, `Address_ID`, `Customer_Name`, `Customer_Phone`, `Customer_Email_Address`, `Other_Details`) VALUES ('518', 180, 'Jacques', '02902266118', 'eleannon@example.org', NULL);
|
| 220 |
+
INSERT INTO Customers (`Customer_ID`, `Address_ID`, `Customer_Name`, `Customer_Phone`, `Customer_Email_Address`, `Other_Details`) VALUES ('546', 266, 'Davonte', '(941)313-1839x94608', 'keanu70@example.net', 'VIP');
|
| 221 |
+
INSERT INTO Customers (`Customer_ID`, `Address_ID`, `Customer_Name`, `Customer_Phone`, `Customer_Email_Address`, `Other_Details`) VALUES ('556', 19, 'Blake', '056.568.7725', 'clemens43@example.org', NULL);
|
| 222 |
+
INSERT INTO Customers (`Customer_ID`, `Address_ID`, `Customer_Name`, `Customer_Phone`, `Customer_Email_Address`, `Other_Details`) VALUES ('633', 148, 'Elwyn', '388.863.3459x0915', 'ggrant@example.com', NULL);
|
| 223 |
+
INSERT INTO Customers (`Customer_ID`, `Address_ID`, `Customer_Name`, `Customer_Phone`, `Customer_Email_Address`, `Other_Details`) VALUES ('712', 266, 'Alek', '398.352.1753', 'terry.nels@example.com', NULL);
|
| 224 |
+
INSERT INTO Customers (`Customer_ID`, `Address_ID`, `Customer_Name`, `Customer_Phone`, `Customer_Email_Address`, `Other_Details`) VALUES ('714', 230, 'Adelbert', '(514)659-1318x46123', 'hermann.veum@example.org', NULL);
|
| 225 |
+
INSERT INTO Customers (`Customer_ID`, `Address_ID`, `Customer_Name`, `Customer_Phone`, `Customer_Email_Address`, `Other_Details`) VALUES ('793', 74, 'Isaiah', '347.178.3326', 'dudley08@example.net', NULL);
|
| 226 |
+
INSERT INTO Customers (`Customer_ID`, `Address_ID`, `Customer_Name`, `Customer_Phone`, `Customer_Email_Address`, `Other_Details`) VALUES ('823', 383, 'Ephraim', '03189033909', 'gage.johns@example.org', NULL);
|
| 227 |
+
INSERT INTO Customers (`Customer_ID`, `Address_ID`, `Customer_Name`, `Customer_Phone`, `Customer_Email_Address`, `Other_Details`) VALUES ('957', 207, 'Cedrick', '620-987-5897', 'nschmidt@example.org', NULL);
|
| 228 |
+
INSERT INTO Customers (`Customer_ID`, `Address_ID`, `Customer_Name`, `Customer_Phone`, `Customer_Email_Address`, `Other_Details`) VALUES ('998', 201, 'Wade', '+46(5)7576252034', 'cassin.cielo@example.org', NULL);
|
| 229 |
+
|
| 230 |
+
|
| 231 |
+
CREATE TABLE Stores (
|
| 232 |
+
Store_ID VARCHAR(100) NOT NULL,
|
| 233 |
+
Address_ID INTEGER NOT NULL,
|
| 234 |
+
Marketing_Region_Code CHAR(15) NOT NULL,
|
| 235 |
+
Store_Name VARCHAR(255),
|
| 236 |
+
Store_Phone VARCHAR(255),
|
| 237 |
+
Store_Email_Address VARCHAR(255),
|
| 238 |
+
Other_Details VARCHAR(255),
|
| 239 |
+
PRIMARY KEY (Store_ID),
|
| 240 |
+
UNIQUE (Store_ID),
|
| 241 |
+
FOREIGN KEY (Address_ID) REFERENCES Addresses (Address_ID),
|
| 242 |
+
FOREIGN KEY (Marketing_Region_Code) REFERENCES Marketing_Regions (Marketing_Region_Code)
|
| 243 |
+
);
|
| 244 |
+
INSERT INTO Stores (`Store_ID`, `Address_ID`, `Marketing_Region_Code`, `Store_Name`, `Store_Phone`, `Store_Email_Address`, `Other_Details`) VALUES ('150', 286, 'IN', 'FJA Filming', '+65(1)3590790358', 'fjacobson@example.com', NULL);
|
| 245 |
+
INSERT INTO Stores (`Store_ID`, `Address_ID`, `Marketing_Region_Code`, `Store_Name`, `Store_Phone`, `Store_Email_Address`, `Other_Details`) VALUES ('229', 266, 'CA', 'Rob Dinning', '1-327-185-9368', 'rborer@example.org', '5 stars');
|
| 246 |
+
INSERT INTO Stores (`Store_ID`, `Address_ID`, `Marketing_Region_Code`, `Store_Name`, `Store_Phone`, `Store_Email_Address`, `Other_Details`) VALUES ('231', 230, 'ES', 'Adan Dinning', '896-931-9633x869', 'adan93@example.com', NULL);
|
| 247 |
+
INSERT INTO Stores (`Store_ID`, `Address_ID`, `Marketing_Region_Code`, `Store_Name`, `Store_Phone`, `Store_Email_Address`, `Other_Details`) VALUES ('236', 74, 'CA', 'Fred Dinning', '893-457-3102x4293', 'frederik37@example.org', NULL);
|
| 248 |
+
INSERT INTO Stores (`Store_ID`, `Address_ID`, `Marketing_Region_Code`, `Store_Name`, `Store_Phone`, `Store_Email_Address`, `Other_Details`) VALUES ('291', 266, 'RU', 'Ewi Filming', '+46(1)1411714927', 'ewisoky@example.org', NULL);
|
| 249 |
+
INSERT INTO Stores (`Store_ID`, `Address_ID`, `Marketing_Region_Code`, `Store_Name`, `Store_Phone`, `Store_Email_Address`, `Other_Details`) VALUES ('344', 369, 'ES', 'Shery Photo', '1-678-902-9434x1148', 'shirley07@example.net', '4 stars');
|
| 250 |
+
INSERT INTO Stores (`Store_ID`, `Address_ID`, `Marketing_Region_Code`, `Store_Name`, `Store_Phone`, `Store_Email_Address`, `Other_Details`) VALUES ('421', 192, 'FR', 'Carmol Photo', '(941)444-7666x7089', 'carmel04@example.com', '3 stars');
|
| 251 |
+
INSERT INTO Stores (`Store_ID`, `Address_ID`, `Marketing_Region_Code`, `Store_Name`, `Store_Phone`, `Store_Email_Address`, `Other_Details`) VALUES ('444', 110, 'CN', 'FK Filming', '086-705-8793', 'fkuvalis@example.net', NULL);
|
| 252 |
+
INSERT INTO Stores (`Store_ID`, `Address_ID`, `Marketing_Region_Code`, `Store_Name`, `Store_Phone`, `Store_Email_Address`, `Other_Details`) VALUES ('512', 369, 'CA', 'Adam Photo', '127.870.0753x54565', 'adams.miles@example.net', '5 stars');
|
| 253 |
+
INSERT INTO Stores (`Store_ID`, `Address_ID`, `Marketing_Region_Code`, `Store_Name`, `Store_Phone`, `Store_Email_Address`, `Other_Details`) VALUES ('518', 110, 'ES', 'Lur Photo', '605-319-8245', 'lurline24@example.org', NULL);
|
| 254 |
+
|
| 255 |
+
|
| 256 |
+
CREATE TABLE Bookings (
|
| 257 |
+
Booking_ID INTEGER NOT NULL ,
|
| 258 |
+
Customer_ID INTEGER NOT NULL,
|
| 259 |
+
Workshop_Group_ID VARCHAR(100) NOT NULL,
|
| 260 |
+
Status_Code CHAR(15) NOT NULL,
|
| 261 |
+
Store_ID INTEGER NOT NULL,
|
| 262 |
+
Order_Date DATETIME NOT NULL,
|
| 263 |
+
Planned_Delivery_Date DATETIME NOT NULL,
|
| 264 |
+
Actual_Delivery_Date DATETIME NOT NULL,
|
| 265 |
+
Other_Order_Details VARCHAR(255),
|
| 266 |
+
PRIMARY KEY (Booking_ID),
|
| 267 |
+
UNIQUE (Booking_ID),
|
| 268 |
+
FOREIGN KEY (Customer_ID) REFERENCES Clients (Client_ID),
|
| 269 |
+
FOREIGN KEY (Workshop_Group_ID) REFERENCES Drama_Workshop_Groups (Workshop_Group_ID)
|
| 270 |
+
);
|
| 271 |
+
INSERT INTO Bookings (`Booking_ID`, `Customer_ID`, `Workshop_Group_ID`, `Status_Code`, `Store_ID`, `Order_Date`, `Planned_Delivery_Date`, `Actual_Delivery_Date`, `Other_Order_Details`) VALUES (1, 938, '140', 'good', 8, '2016-12-12 10:43:01', '2013-03-10 18:47:05', '1997-11-21 10:07:40', NULL);
|
| 272 |
+
INSERT INTO Bookings (`Booking_ID`, `Customer_ID`, `Workshop_Group_ID`, `Status_Code`, `Store_ID`, `Order_Date`, `Planned_Delivery_Date`, `Actual_Delivery_Date`, `Other_Order_Details`) VALUES (2, 868, '838', 'stop', 7, '1976-08-20 00:33:08', '2009-07-09 09:18:38', '1976-01-08 07:19:23', NULL);
|
| 273 |
+
INSERT INTO Bookings (`Booking_ID`, `Customer_ID`, `Workshop_Group_ID`, `Status_Code`, `Store_ID`, `Order_Date`, `Planned_Delivery_Date`, `Actual_Delivery_Date`, `Other_Order_Details`) VALUES (3, 735, '176', 'good', 9, '1975-11-23 06:28:47', '1989-01-05 19:24:45', '1990-03-16 19:38:47', NULL);
|
| 274 |
+
INSERT INTO Bookings (`Booking_ID`, `Customer_ID`, `Workshop_Group_ID`, `Status_Code`, `Store_ID`, `Order_Date`, `Planned_Delivery_Date`, `Actual_Delivery_Date`, `Other_Order_Details`) VALUES (4, 527, '708', 'stop', 6, '1995-02-02 15:52:57', '2017-04-27 00:16:00', '1996-10-24 21:15:27', NULL);
|
| 275 |
+
INSERT INTO Bookings (`Booking_ID`, `Customer_ID`, `Workshop_Group_ID`, `Status_Code`, `Store_ID`, `Order_Date`, `Planned_Delivery_Date`, `Actual_Delivery_Date`, `Other_Order_Details`) VALUES (5, 591, '176', 'good', 9, '1995-05-10 14:49:47', '1979-07-19 19:44:01', '1971-01-13 13:24:52', NULL);
|
| 276 |
+
INSERT INTO Bookings (`Booking_ID`, `Customer_ID`, `Workshop_Group_ID`, `Status_Code`, `Store_ID`, `Order_Date`, `Planned_Delivery_Date`, `Actual_Delivery_Date`, `Other_Order_Details`) VALUES (6, 953, '735', 'good', 1, '1992-11-26 18:11:10', '2016-06-06 20:35:14', '2016-04-30 11:45:39', NULL);
|
| 277 |
+
INSERT INTO Bookings (`Booking_ID`, `Customer_ID`, `Workshop_Group_ID`, `Status_Code`, `Store_ID`, `Order_Date`, `Planned_Delivery_Date`, `Actual_Delivery_Date`, `Other_Order_Details`) VALUES (7, 735, '954', 'stop', 4, '1975-12-30 14:12:32', '2008-07-18 18:15:40', '1983-10-09 10:48:48', NULL);
|
| 278 |
+
INSERT INTO Bookings (`Booking_ID`, `Customer_ID`, `Workshop_Group_ID`, `Status_Code`, `Store_ID`, `Order_Date`, `Planned_Delivery_Date`, `Actual_Delivery_Date`, `Other_Order_Details`) VALUES (8, 605, '176', 'good', 2, '1992-05-11 23:22:41', '1973-04-02 03:10:21', '1983-07-01 22:10:19', NULL);
|
| 279 |
+
INSERT INTO Bookings (`Booking_ID`, `Customer_ID`, `Workshop_Group_ID`, `Status_Code`, `Store_ID`, `Order_Date`, `Planned_Delivery_Date`, `Actual_Delivery_Date`, `Other_Order_Details`) VALUES (9, 508, '405', 'good', 4, '1971-05-11 06:53:01', '1974-05-07 21:40:39', '1986-10-04 13:31:10', NULL);
|
| 280 |
+
INSERT INTO Bookings (`Booking_ID`, `Customer_ID`, `Workshop_Group_ID`, `Status_Code`, `Store_ID`, `Order_Date`, `Planned_Delivery_Date`, `Actual_Delivery_Date`, `Other_Order_Details`) VALUES (10, 938, '735', 'good', 4, '1982-05-19 05:37:51', '1999-05-11 01:26:06', '1989-11-17 00:32:13', NULL);
|
| 281 |
+
INSERT INTO Bookings (`Booking_ID`, `Customer_ID`, `Workshop_Group_ID`, `Status_Code`, `Store_ID`, `Order_Date`, `Planned_Delivery_Date`, `Actual_Delivery_Date`, `Other_Order_Details`) VALUES (11, 423, '136', 'good', 4, '1991-10-11 17:24:15', '1978-04-10 12:23:59', '1983-02-07 20:27:10', NULL);
|
| 282 |
+
INSERT INTO Bookings (`Booking_ID`, `Customer_ID`, `Workshop_Group_ID`, `Status_Code`, `Store_ID`, `Order_Date`, `Planned_Delivery_Date`, `Actual_Delivery_Date`, `Other_Order_Details`) VALUES (12, 776, '954', 'good', 5, '1984-12-17 12:53:51', '2014-06-05 10:19:46', '1985-09-02 11:34:39', NULL);
|
| 283 |
+
INSERT INTO Bookings (`Booking_ID`, `Customer_ID`, `Workshop_Group_ID`, `Status_Code`, `Store_ID`, `Order_Date`, `Planned_Delivery_Date`, `Actual_Delivery_Date`, `Other_Order_Details`) VALUES (13, 605, '685', 'good', 6, '1996-09-14 10:17:55', '1993-04-17 23:53:01', '1982-04-18 02:59:08', NULL);
|
| 284 |
+
INSERT INTO Bookings (`Booking_ID`, `Customer_ID`, `Workshop_Group_ID`, `Status_Code`, `Store_ID`, `Order_Date`, `Planned_Delivery_Date`, `Actual_Delivery_Date`, `Other_Order_Details`) VALUES (14, 426, '954', 'stop', 6, '2007-08-05 15:46:29', '1971-06-29 03:04:47', '1995-12-21 05:01:38', NULL);
|
| 285 |
+
INSERT INTO Bookings (`Booking_ID`, `Customer_ID`, `Workshop_Group_ID`, `Status_Code`, `Store_ID`, `Order_Date`, `Planned_Delivery_Date`, `Actual_Delivery_Date`, `Other_Order_Details`) VALUES (15, 426, '176', 'stop', 8, '1976-10-24 07:40:47', '1972-06-25 15:51:34', '2004-02-22 04:37:14', NULL);
|
| 286 |
+
|
| 287 |
+
|
| 288 |
+
CREATE TABLE Performers_in_Bookings (
|
| 289 |
+
Order_ID INTEGER NOT NULL,
|
| 290 |
+
Performer_ID INTEGER NOT NULL,
|
| 291 |
+
PRIMARY KEY (Order_ID, Performer_ID),
|
| 292 |
+
FOREIGN KEY (Performer_ID) REFERENCES Performers (Performer_ID),
|
| 293 |
+
FOREIGN KEY (Order_ID) REFERENCES Bookings (Booking_ID)
|
| 294 |
+
);
|
| 295 |
+
INSERT INTO Performers_in_Bookings (`Order_ID`, `Performer_ID`) VALUES (1, 153);
|
| 296 |
+
INSERT INTO Performers_in_Bookings (`Order_ID`, `Performer_ID`) VALUES (1, 341);
|
| 297 |
+
INSERT INTO Performers_in_Bookings (`Order_ID`, `Performer_ID`) VALUES (2, 466);
|
| 298 |
+
INSERT INTO Performers_in_Bookings (`Order_ID`, `Performer_ID`) VALUES (3, 798);
|
| 299 |
+
INSERT INTO Performers_in_Bookings (`Order_ID`, `Performer_ID`) VALUES (4, 313);
|
| 300 |
+
INSERT INTO Performers_in_Bookings (`Order_ID`, `Performer_ID`) VALUES (7, 882);
|
| 301 |
+
INSERT INTO Performers_in_Bookings (`Order_ID`, `Performer_ID`) VALUES (8, 650);
|
| 302 |
+
INSERT INTO Performers_in_Bookings (`Order_ID`, `Performer_ID`) VALUES (8, 976);
|
| 303 |
+
INSERT INTO Performers_in_Bookings (`Order_ID`, `Performer_ID`) VALUES (9, 376);
|
| 304 |
+
INSERT INTO Performers_in_Bookings (`Order_ID`, `Performer_ID`) VALUES (9, 656);
|
| 305 |
+
INSERT INTO Performers_in_Bookings (`Order_ID`, `Performer_ID`) VALUES (9, 954);
|
| 306 |
+
INSERT INTO Performers_in_Bookings (`Order_ID`, `Performer_ID`) VALUES (11, 360);
|
| 307 |
+
INSERT INTO Performers_in_Bookings (`Order_ID`, `Performer_ID`) VALUES (13, 313);
|
| 308 |
+
INSERT INTO Performers_in_Bookings (`Order_ID`, `Performer_ID`) VALUES (13, 808);
|
| 309 |
+
INSERT INTO Performers_in_Bookings (`Order_ID`, `Performer_ID`) VALUES (15, 313);
|
| 310 |
+
INSERT INTO Performers_in_Bookings (`Order_ID`, `Performer_ID`) VALUES (15, 656);
|
| 311 |
+
INSERT INTO Performers_in_Bookings (`Order_ID`, `Performer_ID`) VALUES (15, 832);
|
| 312 |
+
INSERT INTO Performers_in_Bookings (`Order_ID`, `Performer_ID`) VALUES (15, 904);
|
| 313 |
+
|
| 314 |
+
|
| 315 |
+
CREATE TABLE Customer_Orders (
|
| 316 |
+
Order_ID INTEGER NOT NULL ,
|
| 317 |
+
Customer_ID INTEGER NOT NULL,
|
| 318 |
+
Store_ID INTEGER NOT NULL,
|
| 319 |
+
Order_Date DATETIME NOT NULL,
|
| 320 |
+
Planned_Delivery_Date DATETIME NOT NULL,
|
| 321 |
+
Actual_Delivery_Date DATETIME NOT NULL,
|
| 322 |
+
Other_Order_Details VARCHAR(255),
|
| 323 |
+
PRIMARY KEY (Order_ID),
|
| 324 |
+
UNIQUE (Order_ID),
|
| 325 |
+
FOREIGN KEY (Customer_ID) REFERENCES Customers (Customer_ID),
|
| 326 |
+
FOREIGN KEY (Store_ID) REFERENCES Stores (Store_ID)
|
| 327 |
+
);
|
| 328 |
+
INSERT INTO Customer_Orders (`Order_ID`, `Customer_ID`, `Store_ID`, `Order_Date`, `Planned_Delivery_Date`, `Actual_Delivery_Date`, `Other_Order_Details`) VALUES (1, 516, 231, '1994-08-03 12:34:58', '1977-03-11 03:58:19', '1992-07-21 22:11:11', NULL);
|
| 329 |
+
INSERT INTO Customer_Orders (`Order_ID`, `Customer_ID`, `Store_ID`, `Order_Date`, `Planned_Delivery_Date`, `Actual_Delivery_Date`, `Other_Order_Details`) VALUES (2, 418, 229, '2014-07-10 10:56:01', '1996-08-26 19:19:59', '1998-08-22 17:57:32', NULL);
|
| 330 |
+
INSERT INTO Customer_Orders (`Order_ID`, `Customer_ID`, `Store_ID`, `Order_Date`, `Planned_Delivery_Date`, `Actual_Delivery_Date`, `Other_Order_Details`) VALUES (3, 712, 229, '1981-06-20 16:29:43', '1980-12-19 05:49:35', '2011-04-13 07:15:35', NULL);
|
| 331 |
+
INSERT INTO Customer_Orders (`Order_ID`, `Customer_ID`, `Store_ID`, `Order_Date`, `Planned_Delivery_Date`, `Actual_Delivery_Date`, `Other_Order_Details`) VALUES (4, 240, 229, '1999-11-20 18:48:05', '1973-08-20 08:52:39', '2004-03-27 23:30:12', NULL);
|
| 332 |
+
INSERT INTO Customer_Orders (`Order_ID`, `Customer_ID`, `Store_ID`, `Order_Date`, `Planned_Delivery_Date`, `Actual_Delivery_Date`, `Other_Order_Details`) VALUES (5, 418, 150, '1973-02-16 19:28:34', '1990-09-25 07:14:01', '2004-04-23 21:19:39', NULL);
|
| 333 |
+
INSERT INTO Customer_Orders (`Order_ID`, `Customer_ID`, `Store_ID`, `Order_Date`, `Planned_Delivery_Date`, `Actual_Delivery_Date`, `Other_Order_Details`) VALUES (6, 556, 344, '1988-11-13 15:42:13', '2012-05-19 00:38:52', '2015-06-20 20:51:17', NULL);
|
| 334 |
+
INSERT INTO Customer_Orders (`Order_ID`, `Customer_ID`, `Store_ID`, `Order_Date`, `Planned_Delivery_Date`, `Actual_Delivery_Date`, `Other_Order_Details`) VALUES (7, 546, 291, '1998-03-10 14:01:00', '2014-06-18 09:42:23', '1972-08-15 19:12:14', NULL);
|
| 335 |
+
INSERT INTO Customer_Orders (`Order_ID`, `Customer_ID`, `Store_ID`, `Order_Date`, `Planned_Delivery_Date`, `Actual_Delivery_Date`, `Other_Order_Details`) VALUES (8, 240, 231, '1979-09-01 06:29:01', '1996-05-17 09:10:57', '1996-02-16 04:20:17', NULL);
|
| 336 |
+
INSERT INTO Customer_Orders (`Order_ID`, `Customer_ID`, `Store_ID`, `Order_Date`, `Planned_Delivery_Date`, `Actual_Delivery_Date`, `Other_Order_Details`) VALUES (9, 240, 344, '1993-11-22 14:56:28', '1984-05-07 12:05:33', '1976-05-20 03:24:23', NULL);
|
| 337 |
+
INSERT INTO Customer_Orders (`Order_ID`, `Customer_ID`, `Store_ID`, `Order_Date`, `Planned_Delivery_Date`, `Actual_Delivery_Date`, `Other_Order_Details`) VALUES (10, 546, 518, '1985-05-29 01:20:18', '1977-07-08 16:35:46', '2003-12-16 23:37:19', NULL);
|
| 338 |
+
INSERT INTO Customer_Orders (`Order_ID`, `Customer_ID`, `Store_ID`, `Order_Date`, `Planned_Delivery_Date`, `Actual_Delivery_Date`, `Other_Order_Details`) VALUES (11, 304, 421, '2000-07-03 21:41:50', '1994-08-08 03:08:23', '1990-11-14 03:53:06', NULL);
|
| 339 |
+
INSERT INTO Customer_Orders (`Order_ID`, `Customer_ID`, `Store_ID`, `Order_Date`, `Planned_Delivery_Date`, `Actual_Delivery_Date`, `Other_Order_Details`) VALUES (12, 516, 231, '2011-01-05 08:01:07', '2004-04-24 01:52:57', '1993-09-16 23:20:05', NULL);
|
| 340 |
+
INSERT INTO Customer_Orders (`Order_ID`, `Customer_ID`, `Store_ID`, `Order_Date`, `Planned_Delivery_Date`, `Actual_Delivery_Date`, `Other_Order_Details`) VALUES (13, 240, 512, '2003-06-24 11:44:51', '1979-05-15 03:00:09', '2011-04-23 06:39:09', NULL);
|
| 341 |
+
INSERT INTO Customer_Orders (`Order_ID`, `Customer_ID`, `Store_ID`, `Order_Date`, `Planned_Delivery_Date`, `Actual_Delivery_Date`, `Other_Order_Details`) VALUES (14, 546, 444, '1971-05-12 10:12:46', '1987-03-21 18:50:27', '2016-10-18 16:11:20', NULL);
|
| 342 |
+
INSERT INTO Customer_Orders (`Order_ID`, `Customer_ID`, `Store_ID`, `Order_Date`, `Planned_Delivery_Date`, `Actual_Delivery_Date`, `Other_Order_Details`) VALUES (15, 712, 231, '2008-04-02 18:00:15', '1994-11-12 04:49:11', '1996-04-13 19:05:34', NULL);
|
| 343 |
+
|
| 344 |
+
CREATE TABLE Order_Items (
|
| 345 |
+
Order_Item_ID INTEGER NOT NULL ,
|
| 346 |
+
Order_ID INTEGER NOT NULL,
|
| 347 |
+
Product_ID INTEGER NOT NULL,
|
| 348 |
+
Order_Quantity VARCHAR(288),
|
| 349 |
+
Other_Item_Details VARCHAR(255),
|
| 350 |
+
PRIMARY KEY (Order_Item_ID),
|
| 351 |
+
FOREIGN KEY (Order_ID) REFERENCES Customer_Orders (Order_ID),
|
| 352 |
+
FOREIGN KEY (Product_ID) REFERENCES Products (Product_ID)
|
| 353 |
+
);
|
| 354 |
+
INSERT INTO Order_Items (`Order_Item_ID`, `Order_ID`, `Product_ID`, `Order_Quantity`, `Other_Item_Details`) VALUES (1, 3, 233, '1', NULL);
|
| 355 |
+
INSERT INTO Order_Items (`Order_Item_ID`, `Order_ID`, `Product_ID`, `Order_Quantity`, `Other_Item_Details`) VALUES (2, 15, 300, '2', NULL);
|
| 356 |
+
INSERT INTO Order_Items (`Order_Item_ID`, `Order_ID`, `Product_ID`, `Order_Quantity`, `Other_Item_Details`) VALUES (3, 12, 300, '1', NULL);
|
| 357 |
+
INSERT INTO Order_Items (`Order_Item_ID`, `Order_ID`, `Product_ID`, `Order_Quantity`, `Other_Item_Details`) VALUES (4, 4, 273, '1', NULL);
|
| 358 |
+
INSERT INTO Order_Items (`Order_Item_ID`, `Order_ID`, `Product_ID`, `Order_Quantity`, `Other_Item_Details`) VALUES (5, 3, 46, '2', NULL);
|
| 359 |
+
INSERT INTO Order_Items (`Order_Item_ID`, `Order_ID`, `Product_ID`, `Order_Quantity`, `Other_Item_Details`) VALUES (6, 5, 83, '2', NULL);
|
| 360 |
+
INSERT INTO Order_Items (`Order_Item_ID`, `Order_ID`, `Product_ID`, `Order_Quantity`, `Other_Item_Details`) VALUES (7, 10, 179, '2', NULL);
|
| 361 |
+
INSERT INTO Order_Items (`Order_Item_ID`, `Order_ID`, `Product_ID`, `Order_Quantity`, `Other_Item_Details`) VALUES (8, 4, 156, '1', NULL);
|
| 362 |
+
INSERT INTO Order_Items (`Order_Item_ID`, `Order_ID`, `Product_ID`, `Order_Quantity`, `Other_Item_Details`) VALUES (9, 12, 216, '1', NULL);
|
| 363 |
+
INSERT INTO Order_Items (`Order_Item_ID`, `Order_ID`, `Product_ID`, `Order_Quantity`, `Other_Item_Details`) VALUES (10, 11, 46, '1', NULL);
|
| 364 |
+
INSERT INTO Order_Items (`Order_Item_ID`, `Order_ID`, `Product_ID`, `Order_Quantity`, `Other_Item_Details`) VALUES (11, 2, 300, '1', NULL);
|
| 365 |
+
INSERT INTO Order_Items (`Order_Item_ID`, `Order_ID`, `Product_ID`, `Order_Quantity`, `Other_Item_Details`) VALUES (12, 12, 156, '2', NULL);
|
| 366 |
+
INSERT INTO Order_Items (`Order_Item_ID`, `Order_ID`, `Product_ID`, `Order_Quantity`, `Other_Item_Details`) VALUES (13, 6, 233, '1', NULL);
|
| 367 |
+
INSERT INTO Order_Items (`Order_Item_ID`, `Order_ID`, `Product_ID`, `Order_Quantity`, `Other_Item_Details`) VALUES (14, 1, 81, '1', NULL);
|
| 368 |
+
INSERT INTO Order_Items (`Order_Item_ID`, `Order_ID`, `Product_ID`, `Order_Quantity`, `Other_Item_Details`) VALUES (15, 7, 300, '2', NULL);
|
| 369 |
+
|
| 370 |
+
CREATE TABLE Invoices (
|
| 371 |
+
Invoice_ID INTEGER NOT NULL,
|
| 372 |
+
Order_ID INTEGER NOT NULL,
|
| 373 |
+
payment_method_code CHAR(15),
|
| 374 |
+
Product_ID INTEGER NOT NULL,
|
| 375 |
+
Order_Quantity VARCHAR(288),
|
| 376 |
+
Other_Item_Details VARCHAR(255),
|
| 377 |
+
Order_Item_ID INTEGER NOT NULL,
|
| 378 |
+
PRIMARY KEY (Invoice_ID),
|
| 379 |
+
FOREIGN KEY (Order_ID) REFERENCES Customer_Orders (Order_ID),
|
| 380 |
+
FOREIGN KEY (Order_ID) REFERENCES Bookings (Booking_ID),
|
| 381 |
+
FOREIGN KEY (payment_method_code) REFERENCES Ref_Payment_Methods (payment_method_code)
|
| 382 |
+
);
|
| 383 |
+
INSERT INTO Invoices (`Invoice_ID`, `Order_ID`, `payment_method_code`, `Product_ID`, `Order_Quantity`, `Other_Item_Details`, `Order_Item_ID`) VALUES (128, 14, 'MasterCard', 4, 2, NULL, 1);
|
| 384 |
+
INSERT INTO Invoices (`Invoice_ID`, `Order_ID`, `payment_method_code`, `Product_ID`, `Order_Quantity`, `Other_Item_Details`, `Order_Item_ID`) VALUES (162, 13, 'MasterCard', 9, 2, NULL, 9);
|
| 385 |
+
INSERT INTO Invoices (`Invoice_ID`, `Order_ID`, `payment_method_code`, `Product_ID`, `Order_Quantity`, `Other_Item_Details`, `Order_Item_ID`) VALUES (164, 7, 'Visa', 7, 2, NULL, 1);
|
| 386 |
+
INSERT INTO Invoices (`Invoice_ID`, `Order_ID`, `payment_method_code`, `Product_ID`, `Order_Quantity`, `Other_Item_Details`, `Order_Item_ID`) VALUES (212, 8, 'Visa', 4, 2, NULL, 8);
|
| 387 |
+
INSERT INTO Invoices (`Invoice_ID`, `Order_ID`, `payment_method_code`, `Product_ID`, `Order_Quantity`, `Other_Item_Details`, `Order_Item_ID`) VALUES (272, 10, 'American E', 3, 2, NULL, 5);
|
| 388 |
+
INSERT INTO Invoices (`Invoice_ID`, `Order_ID`, `payment_method_code`, `Product_ID`, `Order_Quantity`, `Other_Item_Details`, `Order_Item_ID`) VALUES (398, 3, 'American E', 4, 1, NULL, 5);
|
| 389 |
+
INSERT INTO Invoices (`Invoice_ID`, `Order_ID`, `payment_method_code`, `Product_ID`, `Order_Quantity`, `Other_Item_Details`, `Order_Item_ID`) VALUES (406, 14, 'MasterCard', 7, 2, NULL, 1);
|
| 390 |
+
INSERT INTO Invoices (`Invoice_ID`, `Order_ID`, `payment_method_code`, `Product_ID`, `Order_Quantity`, `Other_Item_Details`, `Order_Item_ID`) VALUES (483, 7, 'Visa', 8, 1, NULL, 3);
|
| 391 |
+
INSERT INTO Invoices (`Invoice_ID`, `Order_ID`, `payment_method_code`, `Product_ID`, `Order_Quantity`, `Other_Item_Details`, `Order_Item_ID`) VALUES (548, 4, 'MasterCard', 3, 1, NULL, 1);
|
| 392 |
+
INSERT INTO Invoices (`Invoice_ID`, `Order_ID`, `payment_method_code`, `Product_ID`, `Order_Quantity`, `Other_Item_Details`, `Order_Item_ID`) VALUES (587, 1, 'American E', 4, 2, NULL, 1);
|
| 393 |
+
INSERT INTO Invoices (`Invoice_ID`, `Order_ID`, `payment_method_code`, `Product_ID`, `Order_Quantity`, `Other_Item_Details`, `Order_Item_ID`) VALUES (612, 6, 'American E', 3, 1, NULL, 8);
|
| 394 |
+
INSERT INTO Invoices (`Invoice_ID`, `Order_ID`, `payment_method_code`, `Product_ID`, `Order_Quantity`, `Other_Item_Details`, `Order_Item_ID`) VALUES (633, 11, 'Visa', 2, 1, NULL, 7);
|
| 395 |
+
INSERT INTO Invoices (`Invoice_ID`, `Order_ID`, `payment_method_code`, `Product_ID`, `Order_Quantity`, `Other_Item_Details`, `Order_Item_ID`) VALUES (679, 12, 'MasterCard', 9, 2, NULL, 8);
|
| 396 |
+
INSERT INTO Invoices (`Invoice_ID`, `Order_ID`, `payment_method_code`, `Product_ID`, `Order_Quantity`, `Other_Item_Details`, `Order_Item_ID`) VALUES (733, 11, 'Visa', 6, 1, NULL, 4);
|
| 397 |
+
INSERT INTO Invoices (`Invoice_ID`, `Order_ID`, `payment_method_code`, `Product_ID`, `Order_Quantity`, `Other_Item_Details`, `Order_Item_ID`) VALUES (777, 7, 'MasterCard', 6, 2, NULL, 7);
|
| 398 |
+
|
| 399 |
+
|
| 400 |
+
CREATE TABLE Services (
|
| 401 |
+
Service_ID INTEGER NOT NULL,
|
| 402 |
+
Service_Type_Code CHAR(15),
|
| 403 |
+
Workshop_Group_ID INTEGER NOT NULL,
|
| 404 |
+
Product_Description VARCHAR(255),
|
| 405 |
+
Product_Name VARCHAR(255),
|
| 406 |
+
Product_Price DECIMAL(20,4),
|
| 407 |
+
Other_Product_Service_Details VARCHAR(255),
|
| 408 |
+
PRIMARY KEY (Service_ID),
|
| 409 |
+
UNIQUE (Service_ID),
|
| 410 |
+
FOREIGN KEY (Workshop_Group_ID) REFERENCES Drama_Workshop_Groups (Workshop_Group_ID),
|
| 411 |
+
FOREIGN KEY (Service_Type_Code) REFERENCES Ref_Service_Types (Service_Type_Code)
|
| 412 |
+
);
|
| 413 |
+
INSERT INTO Services (`Service_ID`, `Service_Type_Code`, `Workshop_Group_ID`, `Product_Description`, `Product_Name`, `Product_Price`, `Other_Product_Service_Details`) VALUES (191, '1', 415, NULL, 'film', '58932775.8822', NULL);
|
| 414 |
+
INSERT INTO Services (`Service_ID`, `Service_Type_Code`, `Workshop_Group_ID`, `Product_Description`, `Product_Name`, `Product_Price`, `Other_Product_Service_Details`) VALUES (219, '2', 838, NULL, 'film', '2704.4719', NULL);
|
| 415 |
+
INSERT INTO Services (`Service_ID`, `Service_Type_Code`, `Workshop_Group_ID`, `Product_Description`, `Product_Name`, `Product_Price`, `Other_Product_Service_Details`) VALUES (220, '1', 708, NULL, 'dinning', '6888.8306', NULL);
|
| 416 |
+
INSERT INTO Services (`Service_ID`, `Service_Type_Code`, `Workshop_Group_ID`, `Product_Description`, `Product_Name`, `Product_Price`, `Other_Product_Service_Details`) VALUES (396, '3', 735, NULL, 'photo', '31862.0853', NULL);
|
| 417 |
+
INSERT INTO Services (`Service_ID`, `Service_Type_Code`, `Workshop_Group_ID`, `Product_Description`, `Product_Name`, `Product_Price`, `Other_Product_Service_Details`) VALUES (414, '2', 954, NULL, 'photo', '213.9459', NULL);
|
| 418 |
+
INSERT INTO Services (`Service_ID`, `Service_Type_Code`, `Workshop_Group_ID`, `Product_Description`, `Product_Name`, `Product_Price`, `Other_Product_Service_Details`) VALUES (421, '3', 470, NULL, 'photo', '8004.9880', NULL);
|
| 419 |
+
INSERT INTO Services (`Service_ID`, `Service_Type_Code`, `Workshop_Group_ID`, `Product_Description`, `Product_Name`, `Product_Price`, `Other_Product_Service_Details`) VALUES (525, '4', 838, NULL, 'photo', '3499362.8145', NULL);
|
| 420 |
+
INSERT INTO Services (`Service_ID`, `Service_Type_Code`, `Workshop_Group_ID`, `Product_Description`, `Product_Name`, `Product_Price`, `Other_Product_Service_Details`) VALUES (597, '2', 735, NULL, 'photo', '5396.2935', NULL);
|
| 421 |
+
INSERT INTO Services (`Service_ID`, `Service_Type_Code`, `Workshop_Group_ID`, `Product_Description`, `Product_Name`, `Product_Price`, `Other_Product_Service_Details`) VALUES (630, '4', 176, NULL, 'photo', '19845767.8923', NULL);
|
| 422 |
+
INSERT INTO Services (`Service_ID`, `Service_Type_Code`, `Workshop_Group_ID`, `Product_Description`, `Product_Name`, `Product_Price`, `Other_Product_Service_Details`) VALUES (640, '2', 382, NULL, 'dinning', '7299.6747', NULL);
|
| 423 |
+
INSERT INTO Services (`Service_ID`, `Service_Type_Code`, `Workshop_Group_ID`, `Product_Description`, `Product_Name`, `Product_Price`, `Other_Product_Service_Details`) VALUES (662, '2', 954, NULL, 'dinning', '641544.2835', NULL);
|
| 424 |
+
INSERT INTO Services (`Service_ID`, `Service_Type_Code`, `Workshop_Group_ID`, `Product_Description`, `Product_Name`, `Product_Price`, `Other_Product_Service_Details`) VALUES (773, '3', 314, NULL, 'dinning', '827055.7309', NULL);
|
| 425 |
+
INSERT INTO Services (`Service_ID`, `Service_Type_Code`, `Workshop_Group_ID`, `Product_Description`, `Product_Name`, `Product_Price`, `Other_Product_Service_Details`) VALUES (779, '1', 431, NULL, 'film', '9130.7326', NULL);
|
| 426 |
+
INSERT INTO Services (`Service_ID`, `Service_Type_Code`, `Workshop_Group_ID`, `Product_Description`, `Product_Name`, `Product_Price`, `Other_Product_Service_Details`) VALUES (798, '1', 176, NULL, 'film', '84063402.4351', NULL);
|
| 427 |
+
INSERT INTO Services (`Service_ID`, `Service_Type_Code`, `Workshop_Group_ID`, `Product_Description`, `Product_Name`, `Product_Price`, `Other_Product_Service_Details`) VALUES (840, '1', 405, NULL, 'film', '187358.6469', NULL);
|
| 428 |
+
|
| 429 |
+
|
| 430 |
+
|
| 431 |
+
CREATE TABLE Bookings_Services (
|
| 432 |
+
Order_ID INTEGER NOT NULL,
|
| 433 |
+
Product_ID INTEGER NOT NULL,
|
| 434 |
+
PRIMARY KEY (Order_ID, Product_ID),
|
| 435 |
+
FOREIGN KEY (Order_ID) REFERENCES Bookings (Booking_ID),
|
| 436 |
+
FOREIGN KEY (Product_ID) REFERENCES Services (Service_ID)
|
| 437 |
+
);
|
| 438 |
+
|
| 439 |
+
INSERT INTO Bookings_Services (`Order_ID`, `Product_ID`) VALUES (1, 396);
|
| 440 |
+
INSERT INTO Bookings_Services (`Order_ID`, `Product_ID`) VALUES (1, 779);
|
| 441 |
+
INSERT INTO Bookings_Services (`Order_ID`, `Product_ID`) VALUES (4, 191);
|
| 442 |
+
INSERT INTO Bookings_Services (`Order_ID`, `Product_ID`) VALUES (4, 414);
|
| 443 |
+
INSERT INTO Bookings_Services (`Order_ID`, `Product_ID`) VALUES (5, 773);
|
| 444 |
+
INSERT INTO Bookings_Services (`Order_ID`, `Product_ID`) VALUES (7, 191);
|
| 445 |
+
INSERT INTO Bookings_Services (`Order_ID`, `Product_ID`) VALUES (7, 640);
|
| 446 |
+
INSERT INTO Bookings_Services (`Order_ID`, `Product_ID`) VALUES (8, 414);
|
| 447 |
+
INSERT INTO Bookings_Services (`Order_ID`, `Product_ID`) VALUES (9, 630);
|
| 448 |
+
INSERT INTO Bookings_Services (`Order_ID`, `Product_ID`) VALUES (12, 597);
|
| 449 |
+
INSERT INTO Bookings_Services (`Order_ID`, `Product_ID`) VALUES (13, 396);
|
| 450 |
+
INSERT INTO Bookings_Services (`Order_ID`, `Product_ID`) VALUES (14, 525);
|
| 451 |
+
|
| 452 |
+
|
| 453 |
+
|
| 454 |
+
CREATE TABLE Invoice_Items (
|
| 455 |
+
Invoice_Item_ID INTEGER NOT NULL ,
|
| 456 |
+
Invoice_ID INTEGER NOT NULL,
|
| 457 |
+
Order_ID INTEGER NOT NULL,
|
| 458 |
+
Order_Item_ID INTEGER NOT NULL,
|
| 459 |
+
Product_ID INTEGER NOT NULL,
|
| 460 |
+
Order_Quantity INTEGER,
|
| 461 |
+
Other_Item_Details VARCHAR(255),
|
| 462 |
+
PRIMARY KEY (Invoice_Item_ID),
|
| 463 |
+
FOREIGN KEY (Order_Item_ID) REFERENCES Order_Items (Order_Item_ID),
|
| 464 |
+
FOREIGN KEY (Invoice_ID) REFERENCES Invoices (Invoice_ID),
|
| 465 |
+
FOREIGN KEY (Order_ID, Product_ID) REFERENCES Bookings_Services (Order_ID,Product_ID)
|
| 466 |
+
);
|
| 467 |
+
INSERT INTO Invoice_Items (`Invoice_Item_ID`, `Invoice_ID`, `Order_ID`, `Order_Item_ID`, `Product_ID`, `Order_Quantity`, `Other_Item_Details`) VALUES (1, 128, 1, 5, 396, 2, NULL);
|
| 468 |
+
INSERT INTO Invoice_Items (`Invoice_Item_ID`, `Invoice_ID`, `Order_ID`, `Order_Item_ID`, `Product_ID`, `Order_Quantity`, `Other_Item_Details`) VALUES (2, 162, 4, 6, 191, 6, 'Good quality');
|
test_database/customers_and_addresses/customers_and_addresses.sqlite
ADDED
|
Binary file (32.8 kB). View file
|
|
|
test_database/customers_and_addresses/schema.sql
ADDED
|
@@ -0,0 +1,163 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PRAGMA foreign_keys = ON;
|
| 2 |
+
|
| 3 |
+
CREATE TABLE `Addresses` (
|
| 4 |
+
`address_id` INTEGER PRIMARY KEY,
|
| 5 |
+
`address_content` VARCHAR(80),
|
| 6 |
+
`city` VARCHAR(50),
|
| 7 |
+
`zip_postcode` VARCHAR(20),
|
| 8 |
+
`state_province_county` VARCHAR(50),
|
| 9 |
+
`country` VARCHAR(50),
|
| 10 |
+
`other_address_details` VARCHAR(255)
|
| 11 |
+
);
|
| 12 |
+
|
| 13 |
+
INSERT INTO Addresses (`address_id`, `address_content`, `city`, `zip_postcode`, `state_province_county`, `country`, `other_address_details`) VALUES (1, '9443 Boyle Route Suite 857', 'Lucasville', '416', 'Colorado', 'USA', NULL);
|
| 14 |
+
INSERT INTO Addresses (`address_id`, `address_content`, `city`, `zip_postcode`, `state_province_county`, `country`, `other_address_details`) VALUES (2, '1969 Jabari Port Suite 393', 'New Sabryna', '721', 'SouthCarolina', 'USA', NULL);
|
| 15 |
+
INSERT INTO Addresses (`address_id`, `address_content`, `city`, `zip_postcode`, `state_province_county`, `country`, `other_address_details`) VALUES (3, '295 Hackett Curve', 'Reingertown', '255', 'NewJersey', 'USA', NULL);
|
| 16 |
+
INSERT INTO Addresses (`address_id`, `address_content`, `city`, `zip_postcode`, `state_province_county`, `country`, `other_address_details`) VALUES (4, '92865 Margaretta Streets Suite 467', 'Gleasonmouth', '940', 'Arizona', 'USA', NULL);
|
| 17 |
+
INSERT INTO Addresses (`address_id`, `address_content`, `city`, `zip_postcode`, `state_province_county`, `country`, `other_address_details`) VALUES (5, '08996 Brisa Lane Apt. 583', 'Stantonville', '354', 'Mississippi', 'USA', NULL);
|
| 18 |
+
INSERT INTO Addresses (`address_id`, `address_content`, `city`, `zip_postcode`, `state_province_county`, `country`, `other_address_details`) VALUES (6, '826 Murray Locks Apt. 654', 'South Meghanview', '918', 'Colorado', 'USA', NULL);
|
| 19 |
+
INSERT INTO Addresses (`address_id`, `address_content`, `city`, `zip_postcode`, `state_province_county`, `country`, `other_address_details`) VALUES (7, '59540 Grover Wells Apt. 814', 'Lake Walterton', '767', 'Virginia', 'USA', NULL);
|
| 20 |
+
INSERT INTO Addresses (`address_id`, `address_content`, `city`, `zip_postcode`, `state_province_county`, `country`, `other_address_details`) VALUES (8, '78614 Maybell Alley Suite 057', 'South Bellaland', '921', 'Florida', 'USA', NULL);
|
| 21 |
+
INSERT INTO Addresses (`address_id`, `address_content`, `city`, `zip_postcode`, `state_province_county`, `country`, `other_address_details`) VALUES (9, '9168 King Rest', 'Felicityfort', '482', 'Texas', 'USA', NULL);
|
| 22 |
+
INSERT INTO Addresses (`address_id`, `address_content`, `city`, `zip_postcode`, `state_province_county`, `country`, `other_address_details`) VALUES (10, '120 Noble Radial', 'East Julianaside', '821', 'Texas', 'USA', NULL);
|
| 23 |
+
INSERT INTO Addresses (`address_id`, `address_content`, `city`, `zip_postcode`, `state_province_county`, `country`, `other_address_details`) VALUES (11, '618 Odie Villages Suite 133', 'Lake Geovannyton', '623', 'NewMexico', 'USA', NULL);
|
| 24 |
+
INSERT INTO Addresses (`address_id`, `address_content`, `city`, `zip_postcode`, `state_province_county`, `country`, `other_address_details`) VALUES (12, '16438 Herman Pine', 'New Terrillport', '684', 'Arkansas', 'USA', NULL);
|
| 25 |
+
INSERT INTO Addresses (`address_id`, `address_content`, `city`, `zip_postcode`, `state_province_county`, `country`, `other_address_details`) VALUES (13, '47831 Martin Islands', 'Port Lilyan', '235', 'RhodeIsland', 'USA', NULL);
|
| 26 |
+
INSERT INTO Addresses (`address_id`, `address_content`, `city`, `zip_postcode`, `state_province_county`, `country`, `other_address_details`) VALUES (14, '995 Weimann Gateway', 'Lake Ryann', '470', 'Kentucky', 'USA', NULL);
|
| 27 |
+
INSERT INTO Addresses (`address_id`, `address_content`, `city`, `zip_postcode`, `state_province_county`, `country`, `other_address_details`) VALUES (15, '41632 Kerluke Field', 'East Pascale', '720', 'Texas', 'USA', NULL);
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
CREATE TABLE `Products` (
|
| 32 |
+
`product_id` INTEGER PRIMARY KEY,
|
| 33 |
+
`product_details` VARCHAR(255)
|
| 34 |
+
);
|
| 35 |
+
INSERT INTO Products (`product_id`, `product_details`) VALUES (1, 'Americano');
|
| 36 |
+
INSERT INTO Products (`product_id`, `product_details`) VALUES (2, 'Dove Chocolate');
|
| 37 |
+
INSERT INTO Products (`product_id`, `product_details`) VALUES (3, 'Latte');
|
| 38 |
+
|
| 39 |
+
|
| 40 |
+
CREATE TABLE `Customers` (
|
| 41 |
+
`customer_id` INTEGER PRIMARY KEY,
|
| 42 |
+
`payment_method` VARCHAR(15) NOT NULL,
|
| 43 |
+
`customer_name` VARCHAR(80),
|
| 44 |
+
`date_became_customer` DATETIME,
|
| 45 |
+
`other_customer_details` VARCHAR(255)
|
| 46 |
+
);
|
| 47 |
+
INSERT INTO Customers (`customer_id`, `payment_method`, `customer_name`, `date_became_customer`, `other_customer_details`) VALUES (1, 'Cash', 'Dr. Julia Wuckert MD', '2018-03-01 23:20:10', NULL);
|
| 48 |
+
INSERT INTO Customers (`customer_id`, `payment_method`, `customer_name`, `date_became_customer`, `other_customer_details`) VALUES (2, 'Cheque', 'Tillman Ernser', '2018-02-28 11:37:44', NULL);
|
| 49 |
+
INSERT INTO Customers (`customer_id`, `payment_method`, `customer_name`, `date_became_customer`, `other_customer_details`) VALUES (3, 'Credit Card', 'Rodrick Heaney', '2018-03-09 17:41:58', NULL);
|
| 50 |
+
INSERT INTO Customers (`customer_id`, `payment_method`, `customer_name`, `date_became_customer`, `other_customer_details`) VALUES (4, 'Credit Card', 'Prof. Alexzander Hamill', '2018-02-24 00:20:18', 'VIP');
|
| 51 |
+
INSERT INTO Customers (`customer_id`, `payment_method`, `customer_name`, `date_became_customer`, `other_customer_details`) VALUES (5, 'Cheque', 'Prof. Reyes Berge II', '2018-03-07 18:05:11', NULL);
|
| 52 |
+
INSERT INTO Customers (`customer_id`, `payment_method`, `customer_name`, `date_became_customer`, `other_customer_details`) VALUES (6, 'Cash', 'Maudie Kertzmann', '2018-02-26 11:57:47', NULL);
|
| 53 |
+
INSERT INTO Customers (`customer_id`, `payment_method`, `customer_name`, `date_became_customer`, `other_customer_details`) VALUES (7, 'Credit Card', 'Mozell Morissette', '2018-02-25 13:15:04', 'VIP');
|
| 54 |
+
INSERT INTO Customers (`customer_id`, `payment_method`, `customer_name`, `date_became_customer`, `other_customer_details`) VALUES (8, 'Credit Card', 'Eunice Morar', '2018-03-21 01:01:04', NULL);
|
| 55 |
+
INSERT INTO Customers (`customer_id`, `payment_method`, `customer_name`, `date_became_customer`, `other_customer_details`) VALUES (9, 'Cheque', 'Devin Mills', '2018-03-05 16:52:51', NULL);
|
| 56 |
+
INSERT INTO Customers (`customer_id`, `payment_method`, `customer_name`, `date_became_customer`, `other_customer_details`) VALUES (10, 'Cash', 'Kitty Padberg III', '2018-03-22 18:09:09', NULL);
|
| 57 |
+
INSERT INTO Customers (`customer_id`, `payment_method`, `customer_name`, `date_became_customer`, `other_customer_details`) VALUES (11, 'Cheque', 'Salvatore Tillman', '2018-03-04 00:17:48', NULL);
|
| 58 |
+
INSERT INTO Customers (`customer_id`, `payment_method`, `customer_name`, `date_became_customer`, `other_customer_details`) VALUES (12, 'Cheque', 'Clifford Pagac', '2018-02-24 10:24:23', NULL);
|
| 59 |
+
INSERT INTO Customers (`customer_id`, `payment_method`, `customer_name`, `date_became_customer`, `other_customer_details`) VALUES (13, 'Credit Card', 'Miss Aliyah Witting', '2018-03-05 07:19:45', NULL);
|
| 60 |
+
INSERT INTO Customers (`customer_id`, `payment_method`, `customer_name`, `date_became_customer`, `other_customer_details`) VALUES (14, 'Cheque', 'Alexane Kilback', '2018-03-08 01:17:31', NULL);
|
| 61 |
+
INSERT INTO Customers (`customer_id`, `payment_method`, `customer_name`, `date_became_customer`, `other_customer_details`) VALUES (15, 'Cash', 'Prof. Ibrahim Bashirian', '2018-03-15 02:54:27', NULL);
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
CREATE TABLE `Customer_Addresses` (
|
| 65 |
+
`customer_id` INTEGER NOT NULL,
|
| 66 |
+
`address_id` INTEGER NOT NULL,
|
| 67 |
+
`date_address_from` DATETIME NOT NULL,
|
| 68 |
+
`address_type` VARCHAR(15) NOT NULL,
|
| 69 |
+
`date_address_to` DATETIME,
|
| 70 |
+
FOREIGN KEY (`address_id` ) REFERENCES `Addresses`(`address_id` ),
|
| 71 |
+
FOREIGN KEY (`customer_id` ) REFERENCES `Customers`(`customer_id` )
|
| 72 |
+
);
|
| 73 |
+
INSERT INTO Customer_Addresses (`customer_id`, `address_id`, `date_address_from`, `address_type`, `date_address_to`) VALUES (2, 11, '1985-03-29 20:31:43', 'Billing', '1993-02-17 17:55:18');
|
| 74 |
+
INSERT INTO Customer_Addresses (`customer_id`, `address_id`, `date_address_from`, `address_type`, `date_address_to`) VALUES (13, 11, '2010-08-25 04:24:35', 'Billing', '1972-02-17 22:23:38');
|
| 75 |
+
INSERT INTO Customer_Addresses (`customer_id`, `address_id`, `date_address_from`, `address_type`, `date_address_to`) VALUES (2, 14, '2010-12-26 08:52:50', 'Residential', '1979-07-16 18:22:39');
|
| 76 |
+
INSERT INTO Customer_Addresses (`customer_id`, `address_id`, `date_address_from`, `address_type`, `date_address_to`) VALUES (15, 15, '1995-12-16 07:21:04', 'Billing', '1990-06-29 13:39:18');
|
| 77 |
+
INSERT INTO Customer_Addresses (`customer_id`, `address_id`, `date_address_from`, `address_type`, `date_address_to`) VALUES (6, 7, '1972-12-08 17:12:08', 'Residential', '2010-11-10 11:35:28');
|
| 78 |
+
INSERT INTO Customer_Addresses (`customer_id`, `address_id`, `date_address_from`, `address_type`, `date_address_to`) VALUES (10, 12, '1979-01-26 17:55:38', 'Residential', '1977-07-07 08:38:29');
|
| 79 |
+
INSERT INTO Customer_Addresses (`customer_id`, `address_id`, `date_address_from`, `address_type`, `date_address_to`) VALUES (1, 14, '1990-11-25 12:40:25', 'Residential', '1974-03-28 18:09:39');
|
| 80 |
+
INSERT INTO Customer_Addresses (`customer_id`, `address_id`, `date_address_from`, `address_type`, `date_address_to`) VALUES (10, 3, '1986-09-12 22:07:06', 'Residential', '2003-11-08 12:14:09');
|
| 81 |
+
INSERT INTO Customer_Addresses (`customer_id`, `address_id`, `date_address_from`, `address_type`, `date_address_to`) VALUES (14, 15, '2003-07-08 05:33:19', 'Residential', '2010-05-08 10:00:17');
|
| 82 |
+
INSERT INTO Customer_Addresses (`customer_id`, `address_id`, `date_address_from`, `address_type`, `date_address_to`) VALUES (13, 6, '2010-02-25 11:15:16', 'Residential', '1977-05-17 23:47:09');
|
| 83 |
+
INSERT INTO Customer_Addresses (`customer_id`, `address_id`, `date_address_from`, `address_type`, `date_address_to`) VALUES (12, 7, '2013-01-29 23:14:00', 'Residential', '2008-04-30 00:20:58');
|
| 84 |
+
INSERT INTO Customer_Addresses (`customer_id`, `address_id`, `date_address_from`, `address_type`, `date_address_to`) VALUES (4, 5, '2005-06-22 09:38:54', 'Billing', '1970-02-22 03:46:01');
|
| 85 |
+
INSERT INTO Customer_Addresses (`customer_id`, `address_id`, `date_address_from`, `address_type`, `date_address_to`) VALUES (8, 6, '2016-11-24 11:00:17', 'Billing', '1970-09-18 09:07:32');
|
| 86 |
+
INSERT INTO Customer_Addresses (`customer_id`, `address_id`, `date_address_from`, `address_type`, `date_address_to`) VALUES (5, 5, '1980-04-11 23:46:50', 'Billing', '1977-12-07 13:55:11');
|
| 87 |
+
INSERT INTO Customer_Addresses (`customer_id`, `address_id`, `date_address_from`, `address_type`, `date_address_to`) VALUES (11, 11, '1979-01-11 13:53:30', 'Residential', '1971-11-17 18:29:57');
|
| 88 |
+
|
| 89 |
+
|
| 90 |
+
CREATE TABLE `Customer_Contact_Channels` (
|
| 91 |
+
`customer_id` INTEGER NOT NULL,
|
| 92 |
+
`channel_code` VARCHAR(15) NOT NULL,
|
| 93 |
+
`active_from_date` DATETIME NOT NULL,
|
| 94 |
+
`active_to_date` DATETIME,
|
| 95 |
+
`contact_number` VARCHAR(50) NOT NULL,
|
| 96 |
+
FOREIGN KEY (`customer_id` ) REFERENCES `Customers`(`customer_id` )
|
| 97 |
+
);
|
| 98 |
+
CREATE TABLE `Customer_Orders` (
|
| 99 |
+
`order_id` INTEGER PRIMARY KEY,
|
| 100 |
+
`customer_id` INTEGER NOT NULL,
|
| 101 |
+
`order_status` VARCHAR(15) NOT NULL,
|
| 102 |
+
`order_date` DATETIME,
|
| 103 |
+
`order_details` VARCHAR(255),
|
| 104 |
+
FOREIGN KEY (`customer_id` ) REFERENCES `Customers`(`customer_id` )
|
| 105 |
+
);
|
| 106 |
+
|
| 107 |
+
CREATE TABLE `Order_Items` (
|
| 108 |
+
`order_id` INTEGER NOT NULL,
|
| 109 |
+
`product_id` INTEGER NOT NULL,
|
| 110 |
+
`order_quantity` VARCHAR(15),
|
| 111 |
+
FOREIGN KEY (`product_id` ) REFERENCES `Products`(`product_id` ),
|
| 112 |
+
FOREIGN KEY (`order_id` ) REFERENCES `Customer_Orders`(`order_id` )
|
| 113 |
+
);
|
| 114 |
+
INSERT INTO Customer_Contact_Channels (`customer_id`, `channel_code`, `active_from_date`, `active_to_date`, `contact_number`) VALUES (9, 'Email', '2017-12-07 18:18:15', '2018-03-23 13:37:14', '940.035.6435x0225');
|
| 115 |
+
INSERT INTO Customer_Contact_Channels (`customer_id`, `channel_code`, `active_from_date`, `active_to_date`, `contact_number`) VALUES (2, 'Email', '2017-04-07 04:51:41', '2018-03-23 01:30:52', '189.449.8326x7607');
|
| 116 |
+
INSERT INTO Customer_Contact_Channels (`customer_id`, `channel_code`, `active_from_date`, `active_to_date`, `contact_number`) VALUES (9, 'Email', '2017-05-25 16:08:45', '2018-03-13 07:32:25', '958-653-2640');
|
| 117 |
+
INSERT INTO Customer_Contact_Channels (`customer_id`, `channel_code`, `active_from_date`, `active_to_date`, `contact_number`) VALUES (2, 'Email', '2018-01-05 21:42:56', '2018-03-15 14:58:13', '1-968-863-4947x96956');
|
| 118 |
+
INSERT INTO Customer_Contact_Channels (`customer_id`, `channel_code`, `active_from_date`, `active_to_date`, `contact_number`) VALUES (4, 'Cell', '2017-08-07 08:07:10', '2018-03-02 17:44:49', '(165)527-5756x2419');
|
| 119 |
+
INSERT INTO Customer_Contact_Channels (`customer_id`, `channel_code`, `active_from_date`, `active_to_date`, `contact_number`) VALUES (2, 'Cell', '2017-09-21 12:41:56', '2018-03-08 19:28:16', '1-077-864-0102');
|
| 120 |
+
INSERT INTO Customer_Contact_Channels (`customer_id`, `channel_code`, `active_from_date`, `active_to_date`, `contact_number`) VALUES (3, 'Handheld', '2017-05-11 12:32:16', '2018-03-20 14:35:34', '06068550461');
|
| 121 |
+
INSERT INTO Customer_Contact_Channels (`customer_id`, `channel_code`, `active_from_date`, `active_to_date`, `contact_number`) VALUES (14, 'Handheld', '2017-05-23 15:20:20', '2018-03-15 02:34:01', '542.983.0224');
|
| 122 |
+
INSERT INTO Customer_Contact_Channels (`customer_id`, `channel_code`, `active_from_date`, `active_to_date`, `contact_number`) VALUES (13, 'Handheld', '2017-08-26 15:16:44', '2018-03-16 14:00:15', '(379)834-0867x267');
|
| 123 |
+
INSERT INTO Customer_Contact_Channels (`customer_id`, `channel_code`, `active_from_date`, `active_to_date`, `contact_number`) VALUES (6, 'Handheld', '2017-07-01 17:59:48', '2018-02-25 22:20:55', '(620)266-6990x8590');
|
| 124 |
+
INSERT INTO Customer_Contact_Channels (`customer_id`, `channel_code`, `active_from_date`, `active_to_date`, `contact_number`) VALUES (10, 'Fax', '2017-06-21 06:41:19', '2018-03-15 06:00:34', '(068)656-5276x84466');
|
| 125 |
+
INSERT INTO Customer_Contact_Channels (`customer_id`, `channel_code`, `active_from_date`, `active_to_date`, `contact_number`) VALUES (13, 'Fax', '2017-10-29 04:16:39', '2018-03-08 17:19:29', '496-074-8589x5477');
|
| 126 |
+
INSERT INTO Customer_Contact_Channels (`customer_id`, `channel_code`, `active_from_date`, `active_to_date`, `contact_number`) VALUES (15, 'Handheld', '2017-09-08 14:00:01', '2018-03-04 13:35:57', '1-687-190-8968x63811');
|
| 127 |
+
INSERT INTO Customer_Contact_Channels (`customer_id`, `channel_code`, `active_from_date`, `active_to_date`, `contact_number`) VALUES (2, 'Handheld', '2018-03-01 10:17:18', '2018-03-20 14:01:12', '118.523.6764x57405');
|
| 128 |
+
INSERT INTO Customer_Contact_Channels (`customer_id`, `channel_code`, `active_from_date`, `active_to_date`, `contact_number`) VALUES (5, 'Handheld', '2017-11-14 16:16:02', '2018-03-02 03:22:26', '445.924.9417');
|
| 129 |
+
INSERT INTO Customer_Contact_Channels (`customer_id`, `channel_code`, `active_from_date`, `active_to_date`, `contact_number`) VALUES (9, 'Mobile', '2017-05-25 20:36:21', '2018-02-24 00:57:39', '(155)830-6182');
|
| 130 |
+
INSERT INTO Customer_Contact_Channels (`customer_id`, `channel_code`, `active_from_date`, `active_to_date`, `contact_number`) VALUES (3, 'Handheld', '2017-09-11 05:05:47', '2018-03-14 14:56:28', '1-453-027-1291');
|
| 131 |
+
INSERT INTO Customer_Contact_Channels (`customer_id`, `channel_code`, `active_from_date`, `active_to_date`, `contact_number`) VALUES (9, 'Handheld', '2018-01-02 18:37:48', '2018-03-10 05:10:35', '026.019.5981x72518');
|
| 132 |
+
INSERT INTO Customer_Contact_Channels (`customer_id`, `channel_code`, `active_from_date`, `active_to_date`, `contact_number`) VALUES (10, 'Cell', '2017-12-06 15:25:33', '2018-03-19 06:34:34', '495-168-9662');
|
| 133 |
+
INSERT INTO Customer_Contact_Channels (`customer_id`, `channel_code`, `active_from_date`, `active_to_date`, `contact_number`) VALUES (14, 'Cell', '2017-10-17 11:46:37', '2018-03-08 20:07:20', '846.043.4809x0426');
|
| 134 |
+
INSERT INTO Customer_Orders (`order_id`, `customer_id`, `order_status`, `order_date`, `order_details`) VALUES (1, 15, 'Cancelled', '2018-03-21 11:20:46', NULL);
|
| 135 |
+
INSERT INTO Customer_Orders (`order_id`, `customer_id`, `order_status`, `order_date`, `order_details`) VALUES (2, 3, 'Cancelled', '2018-03-05 06:35:33', NULL);
|
| 136 |
+
INSERT INTO Customer_Orders (`order_id`, `customer_id`, `order_status`, `order_date`, `order_details`) VALUES (3, 5, 'Delivered', '2018-03-04 07:16:22', 'Second time');
|
| 137 |
+
INSERT INTO Customer_Orders (`order_id`, `customer_id`, `order_status`, `order_date`, `order_details`) VALUES (4, 12, 'Cancelled', '2018-02-28 15:46:06', NULL);
|
| 138 |
+
INSERT INTO Customer_Orders (`order_id`, `customer_id`, `order_status`, `order_date`, `order_details`) VALUES (5, 12, 'Delivered', '2018-03-08 15:30:24', NULL);
|
| 139 |
+
INSERT INTO Customer_Orders (`order_id`, `customer_id`, `order_status`, `order_date`, `order_details`) VALUES (6, 5, 'Cancelled', '2018-03-10 06:12:51', NULL);
|
| 140 |
+
INSERT INTO Customer_Orders (`order_id`, `customer_id`, `order_status`, `order_date`, `order_details`) VALUES (7, 10, 'Cancelled', '2018-03-23 04:39:50', 'Second time');
|
| 141 |
+
INSERT INTO Customer_Orders (`order_id`, `customer_id`, `order_status`, `order_date`, `order_details`) VALUES (8, 3, 'Cancelled', '2018-03-17 02:51:37', NULL);
|
| 142 |
+
INSERT INTO Customer_Orders (`order_id`, `customer_id`, `order_status`, `order_date`, `order_details`) VALUES (9, 8, 'Cancelled', '2018-03-23 06:25:41', NULL);
|
| 143 |
+
INSERT INTO Customer_Orders (`order_id`, `customer_id`, `order_status`, `order_date`, `order_details`) VALUES (10, 12, 'Cancelled', '2018-03-17 07:13:53', NULL);
|
| 144 |
+
INSERT INTO Customer_Orders (`order_id`, `customer_id`, `order_status`, `order_date`, `order_details`) VALUES (11, 8, 'Cancelled', '2018-03-19 18:05:50', 'Second time');
|
| 145 |
+
INSERT INTO Customer_Orders (`order_id`, `customer_id`, `order_status`, `order_date`, `order_details`) VALUES (12, 10, 'Delivered', '2018-03-16 03:16:57', 'Second time');
|
| 146 |
+
INSERT INTO Customer_Orders (`order_id`, `customer_id`, `order_status`, `order_date`, `order_details`) VALUES (13, 4, 'Delivered', '2018-03-22 14:57:30', NULL);
|
| 147 |
+
INSERT INTO Customer_Orders (`order_id`, `customer_id`, `order_status`, `order_date`, `order_details`) VALUES (14, 11, 'Cancelled', '2018-02-24 13:18:49', 'Second time');
|
| 148 |
+
INSERT INTO Customer_Orders (`order_id`, `customer_id`, `order_status`, `order_date`, `order_details`) VALUES (15, 10, 'Delivered', '2018-03-06 12:31:35', NULL);
|
| 149 |
+
INSERT INTO Order_Items (`order_id`, `product_id`, `order_quantity`) VALUES (14, 2, '5');
|
| 150 |
+
INSERT INTO Order_Items (`order_id`, `product_id`, `order_quantity`) VALUES (5, 2, '9');
|
| 151 |
+
INSERT INTO Order_Items (`order_id`, `product_id`, `order_quantity`) VALUES (14, 3, '2');
|
| 152 |
+
INSERT INTO Order_Items (`order_id`, `product_id`, `order_quantity`) VALUES (2, 2, '9');
|
| 153 |
+
INSERT INTO Order_Items (`order_id`, `product_id`, `order_quantity`) VALUES (13, 1, '9');
|
| 154 |
+
INSERT INTO Order_Items (`order_id`, `product_id`, `order_quantity`) VALUES (10, 1, '5');
|
| 155 |
+
INSERT INTO Order_Items (`order_id`, `product_id`, `order_quantity`) VALUES (10, 3, '6');
|
| 156 |
+
INSERT INTO Order_Items (`order_id`, `product_id`, `order_quantity`) VALUES (7, 2, '9');
|
| 157 |
+
INSERT INTO Order_Items (`order_id`, `product_id`, `order_quantity`) VALUES (14, 3, '8');
|
| 158 |
+
INSERT INTO Order_Items (`order_id`, `product_id`, `order_quantity`) VALUES (10, 2, '5');
|
| 159 |
+
INSERT INTO Order_Items (`order_id`, `product_id`, `order_quantity`) VALUES (10, 2, '9');
|
| 160 |
+
INSERT INTO Order_Items (`order_id`, `product_id`, `order_quantity`) VALUES (11, 2, '1');
|
| 161 |
+
INSERT INTO Order_Items (`order_id`, `product_id`, `order_quantity`) VALUES (10, 3, '6');
|
| 162 |
+
INSERT INTO Order_Items (`order_id`, `product_id`, `order_quantity`) VALUES (8, 1, '7');
|
| 163 |
+
INSERT INTO Order_Items (`order_id`, `product_id`, `order_quantity`) VALUES (8, 2, '5');
|
test_database/customers_campaigns_ecommerce/schema.sql
ADDED
|
@@ -0,0 +1,207 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PRAGMA foreign_keys = ON;
|
| 2 |
+
|
| 3 |
+
CREATE TABLE `Premises` (
|
| 4 |
+
`premise_id` INTEGER PRIMARY KEY,
|
| 5 |
+
`premises_type` VARCHAR(15) NOT NULL,
|
| 6 |
+
`premise_details` VARCHAR(255)
|
| 7 |
+
);
|
| 8 |
+
INSERT INTO Premises (`premise_id`, `premises_type`, `premise_details`) VALUES (1, 'Warehouse', '036 Lueilwitz Harbor');
|
| 9 |
+
INSERT INTO Premises (`premise_id`, `premises_type`, `premise_details`) VALUES (2, 'Warehouse', '676 Kelly Spur');
|
| 10 |
+
INSERT INTO Premises (`premise_id`, `premises_type`, `premise_details`) VALUES (3, 'Residence', '27839 Carissa Tunnel Suite 048');
|
| 11 |
+
INSERT INTO Premises (`premise_id`, `premises_type`, `premise_details`) VALUES (4, 'Residence', '2219 Barrows Tunnel Apt. 893');
|
| 12 |
+
INSERT INTO Premises (`premise_id`, `premises_type`, `premise_details`) VALUES (5, 'Office', '38291 Jerde Light Apt. 713');
|
| 13 |
+
INSERT INTO Premises (`premise_id`, `premises_type`, `premise_details`) VALUES (6, 'Office', '5585 Abbott Walk');
|
| 14 |
+
INSERT INTO Premises (`premise_id`, `premises_type`, `premise_details`) VALUES (7, 'Residence', '5510 Veum Green');
|
| 15 |
+
INSERT INTO Premises (`premise_id`, `premises_type`, `premise_details`) VALUES (8, 'Warehouse', '7230 Tillman Glens Suite 202');
|
| 16 |
+
INSERT INTO Premises (`premise_id`, `premises_type`, `premise_details`) VALUES (9, 'Warehouse', '62282 Wiza Glen Apt. 430');
|
| 17 |
+
INSERT INTO Premises (`premise_id`, `premises_type`, `premise_details`) VALUES (10, 'Office', '07318 Annetta Motorway');
|
| 18 |
+
INSERT INTO Premises (`premise_id`, `premises_type`, `premise_details`) VALUES (11, 'Office', '00100 Green Mountains Apt. 653');
|
| 19 |
+
INSERT INTO Premises (`premise_id`, `premises_type`, `premise_details`) VALUES (12, 'Office', '33294 William Lodge Apt. 953');
|
| 20 |
+
INSERT INTO Premises (`premise_id`, `premises_type`, `premise_details`) VALUES (13, 'Office', '2760 Austin Station');
|
| 21 |
+
INSERT INTO Premises (`premise_id`, `premises_type`, `premise_details`) VALUES (14, 'Residence', '5109 Jules Squares Apt. 082');
|
| 22 |
+
INSERT INTO Premises (`premise_id`, `premises_type`, `premise_details`) VALUES (15, 'Office', '867 Emard Drives Apt. 066');
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
CREATE TABLE `Products` (
|
| 26 |
+
`product_id` INTEGER PRIMARY KEY,
|
| 27 |
+
`product_category` VARCHAR(15) NOT NULL,
|
| 28 |
+
`product_name` VARCHAR(80)
|
| 29 |
+
);
|
| 30 |
+
|
| 31 |
+
INSERT INTO Products (`product_id`, `product_category`, `product_name`) VALUES (1, 'Food', 'Coffee Bean');
|
| 32 |
+
INSERT INTO Products (`product_id`, `product_category`, `product_name`) VALUES (2, 'Electronics', 'Keyboard');
|
| 33 |
+
INSERT INTO Products (`product_id`, `product_category`, `product_name`) VALUES (3, 'Books', 'Four Seasons');
|
| 34 |
+
INSERT INTO Products (`product_id`, `product_category`, `product_name`) VALUES (4, 'Hardware', 'Mouse');
|
| 35 |
+
INSERT INTO Products (`product_id`, `product_category`, `product_name`) VALUES (5, 'Books', 'Life of Van gogh');
|
| 36 |
+
INSERT INTO Products (`product_id`, `product_category`, `product_name`) VALUES (6, 'Hardware', 'Monitor');
|
| 37 |
+
INSERT INTO Products (`product_id`, `product_category`, `product_name`) VALUES (7, 'Electronics', 'MP3');
|
| 38 |
+
INSERT INTO Products (`product_id`, `product_category`, `product_name`) VALUES (8, 'Books', 'Learning French');
|
| 39 |
+
INSERT INTO Products (`product_id`, `product_category`, `product_name`) VALUES (9, 'Books', 'How to read a book');
|
| 40 |
+
INSERT INTO Products (`product_id`, `product_category`, `product_name`) VALUES (10, 'Electronics', 'iWatch');
|
| 41 |
+
INSERT INTO Products (`product_id`, `product_category`, `product_name`) VALUES (11, 'Books', 'IOS Programming');
|
| 42 |
+
INSERT INTO Products (`product_id`, `product_category`, `product_name`) VALUES (12, 'Books', 'Everything about Amazon');
|
| 43 |
+
INSERT INTO Products (`product_id`, `product_category`, `product_name`) VALUES (13, 'Hardware', 'Drive');
|
| 44 |
+
INSERT INTO Products (`product_id`, `product_category`, `product_name`) VALUES (14, 'Food', 'Chocolate');
|
| 45 |
+
INSERT INTO Products (`product_id`, `product_category`, `product_name`) VALUES (15, 'Electronics', 'iPhone');
|
| 46 |
+
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
CREATE TABLE `Customers` (
|
| 50 |
+
`customer_id` INTEGER PRIMARY KEY,
|
| 51 |
+
`payment_method` VARCHAR(15) NOT NULL,
|
| 52 |
+
`customer_name` VARCHAR(80),
|
| 53 |
+
`customer_phone` VARCHAR(80),
|
| 54 |
+
`customer_email` VARCHAR(80),
|
| 55 |
+
`customer_address` VARCHAR(255),
|
| 56 |
+
`customer_login` VARCHAR(80),
|
| 57 |
+
`customer_password` VARCHAR(10)
|
| 58 |
+
);
|
| 59 |
+
INSERT INTO Customers (`customer_id`, `payment_method`, `customer_name`, `customer_phone`, `customer_email`, `customer_address`, `customer_login`, `customer_password`) VALUES (1, 'Credit Card', 'Wendell', '(773)971-9411x759', 'rodriguez.nathanael@example.net', '618 Webster Stream Apt. 161', NULL, 'b4459ad261');
|
| 60 |
+
INSERT INTO Customers (`customer_id`, `payment_method`, `customer_name`, `customer_phone`, `customer_email`, `customer_address`, `customer_login`, `customer_password`) VALUES (2, 'Direct Debit', 'Gage', '(402)890-2603x6005', 'stark.elna@example.net', '0260 Walker Trace', NULL, '7905d7f1b1');
|
| 61 |
+
INSERT INTO Customers (`customer_id`, `payment_method`, `customer_name`, `customer_phone`, `customer_email`, `customer_address`, `customer_login`, `customer_password`) VALUES (3, 'Direct Debit', 'Elvera', '1-878-600-7193x8180', 'madyson.mclaughlin@example.org', '280 Landen Lake', NULL, '0b9f651030');
|
| 62 |
+
INSERT INTO Customers (`customer_id`, `payment_method`, `customer_name`, `customer_phone`, `customer_email`, `customer_address`, `customer_login`, `customer_password`) VALUES (4, 'Direct Debit', 'Stella', '+43(3)1861877192', 'kristina85@example.org', '5607 Ryann Canyon', NULL, 'f64f0fd096');
|
| 63 |
+
INSERT INTO Customers (`customer_id`, `payment_method`, `customer_name`, `customer_phone`, `customer_email`, `customer_address`, `customer_login`, `customer_password`) VALUES (5, 'Credit Card', 'Magdalena', '1-352-291-1721x265', 'franecki.danial@example.com', '523 Mose Hills', NULL, 'bdfdc8e91a');
|
| 64 |
+
INSERT INTO Customers (`customer_id`, `payment_method`, `customer_name`, `customer_phone`, `customer_email`, `customer_address`, `customer_login`, `customer_password`) VALUES (6, 'Direct Debit', 'Carlotta', '+66(7)1491041398', 'fstanton@example.net', '31932 Kailey Lodge', NULL, 'a8467590fd');
|
| 65 |
+
INSERT INTO Customers (`customer_id`, `payment_method`, `customer_name`, `customer_phone`, `customer_email`, `customer_address`, `customer_login`, `customer_password`) VALUES (7, 'Direct Debit', 'Leanna', '203-036-0511x96487', 'marc.schiller@example.com', '94105 Bahringer Oval Suite 178', NULL, '67e9037197');
|
| 66 |
+
INSERT INTO Customers (`customer_id`, `payment_method`, `customer_name`, `customer_phone`, `customer_email`, `customer_address`, `customer_login`, `customer_password`) VALUES (8, 'Direct Debit', 'Ruthie', '(840)754-4148x20545', 'elva.mccullough@example.org', '5514 Ophelia Cliffs Apt. 266', NULL, '280160b7b3');
|
| 67 |
+
INSERT INTO Customers (`customer_id`, `payment_method`, `customer_name`, `customer_phone`, `customer_email`, `customer_address`, `customer_login`, `customer_password`) VALUES (9, 'Credit Card', 'Donnie', '(030)521-0681x0191', 'saul30@example.net', '115 Farrell Squares Suite 599', NULL, '22dc8bfaf5');
|
| 68 |
+
INSERT INTO Customers (`customer_id`, `payment_method`, `customer_name`, `customer_phone`, `customer_email`, `customer_address`, `customer_login`, `customer_password`) VALUES (10, 'Direct Debit', 'Shanel', '1-957-676-9414', 'kheathcote@example.org', '80569 Crona Path Suite 165', NULL, 'd93857e0c2');
|
| 69 |
+
INSERT INTO Customers (`customer_id`, `payment_method`, `customer_name`, `customer_phone`, `customer_email`, `customer_address`, `customer_login`, `customer_password`) VALUES (11, 'Direct Debit', 'Osborne', '232.171.7032', 'vpowlowski@example.net', '509 Isabelle Route', NULL, 'b00e35cc0a');
|
| 70 |
+
INSERT INTO Customers (`customer_id`, `payment_method`, `customer_name`, `customer_phone`, `customer_email`, `customer_address`, `customer_login`, `customer_password`) VALUES (12, 'Direct Debit', 'Kyle', '291-425-7193', 'davis.rosamond@example.net', '056 Ibrahim Path Suite 669', NULL, '341f672c2c');
|
| 71 |
+
INSERT INTO Customers (`customer_id`, `payment_method`, `customer_name`, `customer_phone`, `customer_email`, `customer_address`, `customer_login`, `customer_password`) VALUES (13, 'Credit Card', 'Annabel', '100.220.3484', 'yoshiko.balistreri@example.org', '56955 Desmond Lake Apt. 120', NULL, '9dc50bc5b6');
|
| 72 |
+
INSERT INTO Customers (`customer_id`, `payment_method`, `customer_name`, `customer_phone`, `customer_email`, `customer_address`, `customer_login`, `customer_password`) VALUES (14, 'Direct Debit', 'Geovanny', '205.496.0690x53058', 'jesus.robel@example.org', '0813 Carolina Bridge Suite 488', NULL, '49f32173a2');
|
| 73 |
+
INSERT INTO Customers (`customer_id`, `payment_method`, `customer_name`, `customer_phone`, `customer_email`, `customer_address`, `customer_login`, `customer_password`) VALUES (15, 'Direct Debit', 'Mitchell', '698-327-5792', 'princess75@example.com', '6735 Daron Lane Apt. 271', NULL, '791b1b3e64');
|
| 74 |
+
|
| 75 |
+
|
| 76 |
+
CREATE TABLE `Mailshot_Campaigns` (
|
| 77 |
+
`mailshot_id` INTEGER PRIMARY KEY,
|
| 78 |
+
`product_category` VARCHAR(15),
|
| 79 |
+
`mailshot_name` VARCHAR(80),
|
| 80 |
+
`mailshot_start_date` DATETIME,
|
| 81 |
+
`mailshot_end_date` DATETIME
|
| 82 |
+
);
|
| 83 |
+
INSERT INTO Mailshot_Campaigns (`mailshot_id`, `product_category`, `mailshot_name`, `mailshot_start_date`, `mailshot_end_date`) VALUES (1, 'food', 'US', '2018-02-15 09:52:17', '2018-03-08 14:40:20');
|
| 84 |
+
INSERT INTO Mailshot_Campaigns (`mailshot_id`, `product_category`, `mailshot_name`, `mailshot_start_date`, `mailshot_end_date`) VALUES (2, 'clothes', 'US', '2017-09-14 12:05:30', '2018-03-15 01:06:16');
|
| 85 |
+
INSERT INTO Mailshot_Campaigns (`mailshot_id`, `product_category`, `mailshot_name`, `mailshot_start_date`, `mailshot_end_date`) VALUES (3, 'food', 'FED', '2017-06-16 11:18:45', '2018-03-13 14:42:26');
|
| 86 |
+
INSERT INTO Mailshot_Campaigns (`mailshot_id`, `product_category`, `mailshot_name`, `mailshot_start_date`, `mailshot_end_date`) VALUES (4, 'clothes', 'USPS', '2017-09-27 02:35:45', '2018-03-18 11:29:56');
|
| 87 |
+
INSERT INTO Mailshot_Campaigns (`mailshot_id`, `product_category`, `mailshot_name`, `mailshot_start_date`, `mailshot_end_date`) VALUES (5, 'food', 'AL', '2017-05-20 20:05:09', '2018-03-02 21:41:46');
|
| 88 |
+
INSERT INTO Mailshot_Campaigns (`mailshot_id`, `product_category`, `mailshot_name`, `mailshot_start_date`, `mailshot_end_date`) VALUES (6, 'clothes', 'FED', '2017-10-23 05:41:45', '2018-03-03 08:01:57');
|
| 89 |
+
INSERT INTO Mailshot_Campaigns (`mailshot_id`, `product_category`, `mailshot_name`, `mailshot_start_date`, `mailshot_end_date`) VALUES (7, 'food', 'FED', '2017-11-25 03:14:25', '2018-03-05 03:08:48');
|
| 90 |
+
INSERT INTO Mailshot_Campaigns (`mailshot_id`, `product_category`, `mailshot_name`, `mailshot_start_date`, `mailshot_end_date`) VALUES (8, 'clothes', 'AL', '2017-10-22 08:46:29', '2018-03-01 13:42:09');
|
| 91 |
+
INSERT INTO Mailshot_Campaigns (`mailshot_id`, `product_category`, `mailshot_name`, `mailshot_start_date`, `mailshot_end_date`) VALUES (9, 'food', 'US', '2017-11-12 08:26:08', '2018-02-27 07:58:02');
|
| 92 |
+
INSERT INTO Mailshot_Campaigns (`mailshot_id`, `product_category`, `mailshot_name`, `mailshot_start_date`, `mailshot_end_date`) VALUES (10, 'clothes', 'USPS', '2018-01-14 21:03:10', '2018-03-19 13:07:33');
|
| 93 |
+
INSERT INTO Mailshot_Campaigns (`mailshot_id`, `product_category`, `mailshot_name`, `mailshot_start_date`, `mailshot_end_date`) VALUES (11, 'food', 'US', '2017-12-13 01:40:06', '2018-03-24 02:05:36');
|
| 94 |
+
INSERT INTO Mailshot_Campaigns (`mailshot_id`, `product_category`, `mailshot_name`, `mailshot_start_date`, `mailshot_end_date`) VALUES (12, 'clothes', 'USPS', '2018-01-20 05:22:29', '2018-03-23 07:48:46');
|
| 95 |
+
INSERT INTO Mailshot_Campaigns (`mailshot_id`, `product_category`, `mailshot_name`, `mailshot_start_date`, `mailshot_end_date`) VALUES (13, 'food', 'AL', '2017-05-08 21:14:52', '2018-03-12 12:06:50');
|
| 96 |
+
INSERT INTO Mailshot_Campaigns (`mailshot_id`, `product_category`, `mailshot_name`, `mailshot_start_date`, `mailshot_end_date`) VALUES (14, 'clothes', 'AL', '2017-06-11 23:24:31', '2018-03-23 03:36:49');
|
| 97 |
+
INSERT INTO Mailshot_Campaigns (`mailshot_id`, `product_category`, `mailshot_name`, `mailshot_start_date`, `mailshot_end_date`) VALUES (15, 'food', 'FED', '2017-11-29 00:56:35', '2018-03-17 07:54:46');
|
| 98 |
+
INSERT INTO Mailshot_Campaigns (`mailshot_id`, `product_category`, `mailshot_name`, `mailshot_start_date`, `mailshot_end_date`) VALUES (16, 'clothes', 'US', '2017-11-02 17:26:30', '2018-03-02 17:07:50');
|
| 99 |
+
INSERT INTO Mailshot_Campaigns (`mailshot_id`, `product_category`, `mailshot_name`, `mailshot_start_date`, `mailshot_end_date`) VALUES (17, 'food', 'FED', '2018-02-04 13:13:36', '2018-02-26 16:12:30');
|
| 100 |
+
INSERT INTO Mailshot_Campaigns (`mailshot_id`, `product_category`, `mailshot_name`, `mailshot_start_date`, `mailshot_end_date`) VALUES (18, 'clothes', 'USPS', '2017-12-08 10:24:12', '2018-03-20 20:10:16');
|
| 101 |
+
INSERT INTO Mailshot_Campaigns (`mailshot_id`, `product_category`, `mailshot_name`, `mailshot_start_date`, `mailshot_end_date`) VALUES (19, 'food', 'US', '2017-06-25 11:43:09', '2018-03-15 11:58:52');
|
| 102 |
+
INSERT INTO Mailshot_Campaigns (`mailshot_id`, `product_category`, `mailshot_name`, `mailshot_start_date`, `mailshot_end_date`) VALUES (20, 'food', 'US', '2017-11-15 15:58:17', '2018-03-15 06:00:47');
|
| 103 |
+
|
| 104 |
+
|
| 105 |
+
CREATE TABLE `Customer_Addresses` (
|
| 106 |
+
`customer_id` INTEGER NOT NULL,
|
| 107 |
+
`premise_id` INTEGER NOT NULL,
|
| 108 |
+
`date_address_from` DATETIME NOT NULL,
|
| 109 |
+
`address_type_code` VARCHAR(15) NOT NULL,
|
| 110 |
+
`date_address_to` DATETIME,
|
| 111 |
+
FOREIGN KEY (`premise_id` ) REFERENCES `Premises`(`premise_id` )
|
| 112 |
+
FOREIGN KEY (`customer_id` ) REFERENCES `Customers`(`customer_id` )
|
| 113 |
+
);
|
| 114 |
+
|
| 115 |
+
INSERT INTO Customer_Addresses (`customer_id`, `premise_id`, `date_address_from`, `address_type_code`, `date_address_to`) VALUES (15, 1, '1992-08-23 21:17:38', 'Billing', '2018-02-28 20:54:58');
|
| 116 |
+
INSERT INTO Customer_Addresses (`customer_id`, `premise_id`, `date_address_from`, `address_type_code`, `date_address_to`) VALUES (2, 2, '2010-02-23 02:49:50', 'Billing', '2018-03-15 18:34:41');
|
| 117 |
+
INSERT INTO Customer_Addresses (`customer_id`, `premise_id`, `date_address_from`, `address_type_code`, `date_address_to`) VALUES (1, 1, '1975-12-24 10:01:37', 'Shipping', '2018-03-08 08:03:51');
|
| 118 |
+
INSERT INTO Customer_Addresses (`customer_id`, `premise_id`, `date_address_from`, `address_type_code`, `date_address_to`) VALUES (3, 2, '1995-03-26 17:39:46', 'Shipping', '2018-02-27 17:42:19');
|
| 119 |
+
INSERT INTO Customer_Addresses (`customer_id`, `premise_id`, `date_address_from`, `address_type_code`, `date_address_to`) VALUES (7, 1, '1929-05-14 04:29:43', 'Billing', '2018-03-16 18:51:47');
|
| 120 |
+
INSERT INTO Customer_Addresses (`customer_id`, `premise_id`, `date_address_from`, `address_type_code`, `date_address_to`) VALUES (8, 4, '1939-01-15 17:55:39', 'Shipping', '2018-03-13 08:21:27');
|
| 121 |
+
INSERT INTO Customer_Addresses (`customer_id`, `premise_id`, `date_address_from`, `address_type_code`, `date_address_to`) VALUES (5, 5, '1931-03-24 11:44:07', 'Shipping', '2018-03-05 02:34:01');
|
| 122 |
+
INSERT INTO Customer_Addresses (`customer_id`, `premise_id`, `date_address_from`, `address_type_code`, `date_address_to`) VALUES (11, 6, '1975-04-23 20:41:01', 'Billing', '2018-03-04 03:08:46');
|
| 123 |
+
INSERT INTO Customer_Addresses (`customer_id`, `premise_id`, `date_address_from`, `address_type_code`, `date_address_to`) VALUES (11, 3, '1920-08-18 04:42:55', 'Shipping', '2018-03-22 22:46:52');
|
| 124 |
+
INSERT INTO Customer_Addresses (`customer_id`, `premise_id`, `date_address_from`, `address_type_code`, `date_address_to`) VALUES (11, 5, '1960-07-31 06:10:20', 'Shipping', '2018-03-09 03:34:11');
|
| 125 |
+
INSERT INTO Customer_Addresses (`customer_id`, `premise_id`, `date_address_from`, `address_type_code`, `date_address_to`) VALUES (13, 6, '1990-12-19 22:02:27', 'Billing', '2018-03-24 07:12:35');
|
| 126 |
+
INSERT INTO Customer_Addresses (`customer_id`, `premise_id`, `date_address_from`, `address_type_code`, `date_address_to`) VALUES (4, 8, '1985-03-18 20:46:30', 'Shipping', '2018-02-27 16:47:24');
|
| 127 |
+
INSERT INTO Customer_Addresses (`customer_id`, `premise_id`, `date_address_from`, `address_type_code`, `date_address_to`) VALUES (10, 10, '1972-06-06 01:50:40', 'Billing', '2018-03-08 21:09:30');
|
| 128 |
+
INSERT INTO Customer_Addresses (`customer_id`, `premise_id`, `date_address_from`, `address_type_code`, `date_address_to`) VALUES (8, 12, '1984-06-16 10:10:37', 'Billing', '2018-03-05 11:26:03');
|
| 129 |
+
INSERT INTO Customer_Addresses (`customer_id`, `premise_id`, `date_address_from`, `address_type_code`, `date_address_to`) VALUES (3, 14, '2002-02-01 02:55:13', 'Billing', '2018-03-16 11:55:11');
|
| 130 |
+
|
| 131 |
+
|
| 132 |
+
CREATE TABLE `Customer_Orders` (
|
| 133 |
+
`order_id` INTEGER PRIMARY KEY,
|
| 134 |
+
`customer_id` INTEGER NOT NULL,
|
| 135 |
+
`order_status_code` VARCHAR(15) NOT NULL,
|
| 136 |
+
`shipping_method_code` VARCHAR(15) NOT NULL,
|
| 137 |
+
`order_placed_datetime` DATETIME NOT NULL,
|
| 138 |
+
`order_delivered_datetime` DATETIME,
|
| 139 |
+
`order_shipping_charges` VARCHAR(255),
|
| 140 |
+
FOREIGN KEY (`customer_id` ) REFERENCES `Customers`(`customer_id` )
|
| 141 |
+
);
|
| 142 |
+
|
| 143 |
+
CREATE TABLE `Mailshot_Customers` (
|
| 144 |
+
`mailshot_id` INTEGER NOT NULL,
|
| 145 |
+
`customer_id` INTEGER NOT NULL,
|
| 146 |
+
`outcome_code` VARCHAR(15) NOT NULL,
|
| 147 |
+
`mailshot_customer_date` DATETIME,
|
| 148 |
+
FOREIGN KEY (`customer_id` ) REFERENCES `Customers`(`customer_id` ),
|
| 149 |
+
FOREIGN KEY (`mailshot_id` ) REFERENCES `Mailshot_Campaigns`(`mailshot_id` )
|
| 150 |
+
);
|
| 151 |
+
CREATE TABLE `Order_Items` (
|
| 152 |
+
`item_id` INTEGER NOT NULL ,
|
| 153 |
+
`order_item_status_code` VARCHAR(15) NOT NULL,
|
| 154 |
+
`order_id` INTEGER NOT NULL,
|
| 155 |
+
`product_id` INTEGER NOT NULL,
|
| 156 |
+
`item_status_code` VARCHAR(15),
|
| 157 |
+
`item_delivered_datetime` DATETIME,
|
| 158 |
+
`item_order_quantity` VARCHAR(80),
|
| 159 |
+
FOREIGN KEY (`product_id` ) REFERENCES `Products`(`product_id` ),
|
| 160 |
+
FOREIGN KEY (`order_id` ) REFERENCES `Customer_Orders`(`order_id` )
|
| 161 |
+
);
|
| 162 |
+
|
| 163 |
+
INSERT INTO Customer_Orders (`order_id`, `customer_id`, `order_status_code`, `shipping_method_code`, `order_placed_datetime`, `order_delivered_datetime`, `order_shipping_charges`) VALUES (1, 2, 'Cancelled', 'Unspecified', '2015-06-15 18:19:26', '2018-03-20 12:00:00', '85.79');
|
| 164 |
+
INSERT INTO Customer_Orders (`order_id`, `customer_id`, `order_status_code`, `shipping_method_code`, `order_placed_datetime`, `order_delivered_datetime`, `order_shipping_charges`) VALUES (2, 8, 'Cancelled', 'Unspecified', '2009-07-05 20:02:55', '2018-03-20 12:00:00', '98.4');
|
| 165 |
+
INSERT INTO Customer_Orders (`order_id`, `customer_id`, `order_status_code`, `shipping_method_code`, `order_placed_datetime`, `order_delivered_datetime`, `order_shipping_charges`) VALUES (3, 9, 'Cancelled', 'FedEx', '2008-11-15 12:22:36', '2018-03-20 12:00:00', '36.87');
|
| 166 |
+
INSERT INTO Customer_Orders (`order_id`, `customer_id`, `order_status_code`, `shipping_method_code`, `order_placed_datetime`, `order_delivered_datetime`, `order_shipping_charges`) VALUES (4, 1, 'Delivered', 'UPS', '2008-10-23 06:42:10', '2018-03-20 12:00:00', '98.73');
|
| 167 |
+
INSERT INTO Customer_Orders (`order_id`, `customer_id`, `order_status_code`, `shipping_method_code`, `order_placed_datetime`, `order_delivered_datetime`, `order_shipping_charges`) VALUES (5, 7, 'Paid', 'FedEx', '2017-05-28 05:48:26', '2018-03-20 12:00:00', '35.63');
|
| 168 |
+
INSERT INTO Customer_Orders (`order_id`, `customer_id`, `order_status_code`, `shipping_method_code`, `order_placed_datetime`, `order_delivered_datetime`, `order_shipping_charges`) VALUES (6, 2, 'Cancelled', 'Unspecified', '2014-06-24 13:53:54', '2018-03-20 12:00:00', '99.26');
|
| 169 |
+
INSERT INTO Customer_Orders (`order_id`, `customer_id`, `order_status_code`, `shipping_method_code`, `order_placed_datetime`, `order_delivered_datetime`, `order_shipping_charges`) VALUES (7, 15, 'Cancelled', 'FedEx', '2014-08-28 15:08:12', '2018-03-20 12:00:00', '26.56');
|
| 170 |
+
INSERT INTO Customer_Orders (`order_id`, `customer_id`, `order_status_code`, `shipping_method_code`, `order_placed_datetime`, `order_delivered_datetime`, `order_shipping_charges`) VALUES (8, 2, 'Delivered', 'Unspecified', '2012-06-05 09:05:34', '2018-03-20 12:00:00', '77.32');
|
| 171 |
+
INSERT INTO Customer_Orders (`order_id`, `customer_id`, `order_status_code`, `shipping_method_code`, `order_placed_datetime`, `order_delivered_datetime`, `order_shipping_charges`) VALUES (9, 1, 'Cancelled', 'FedEx', '2009-05-30 16:13:26', '2018-03-20 12:00:00', '57.36');
|
| 172 |
+
INSERT INTO Customer_Orders (`order_id`, `customer_id`, `order_status_code`, `shipping_method_code`, `order_placed_datetime`, `order_delivered_datetime`, `order_shipping_charges`) VALUES (10, 14, 'Paid', 'Unspecified', '2013-08-29 03:17:04', '2018-03-20 12:00:00', '33.58');
|
| 173 |
+
INSERT INTO Customer_Orders (`order_id`, `customer_id`, `order_status_code`, `shipping_method_code`, `order_placed_datetime`, `order_delivered_datetime`, `order_shipping_charges`) VALUES (11, 1, 'Paid', 'Unspecified', '2015-12-29 10:39:56', '2018-03-20 12:00:00', '22.84');
|
| 174 |
+
INSERT INTO Customer_Orders (`order_id`, `customer_id`, `order_status_code`, `shipping_method_code`, `order_placed_datetime`, `order_delivered_datetime`, `order_shipping_charges`) VALUES (12, 12, 'Cancelled', 'Unspecified', '2016-10-20 20:59:35', '2018-03-20 12:00:00', '21.24');
|
| 175 |
+
INSERT INTO Customer_Orders (`order_id`, `customer_id`, `order_status_code`, `shipping_method_code`, `order_placed_datetime`, `order_delivered_datetime`, `order_shipping_charges`) VALUES (13, 12, 'Paid', 'FedEx', '2013-06-16 17:51:45', '2018-03-20 12:00:00', '31.33');
|
| 176 |
+
INSERT INTO Customer_Orders (`order_id`, `customer_id`, `order_status_code`, `shipping_method_code`, `order_placed_datetime`, `order_delivered_datetime`, `order_shipping_charges`) VALUES (14, 14, 'Paid', 'UPS', '2010-04-29 08:21:49', '2018-03-20 12:00:00', '46.4');
|
| 177 |
+
INSERT INTO Customer_Orders (`order_id`, `customer_id`, `order_status_code`, `shipping_method_code`, `order_placed_datetime`, `order_delivered_datetime`, `order_shipping_charges`) VALUES (15, 5, 'Delivered', 'FedEx', '2009-01-18 20:06:19', '2018-03-20 12:00:00', '74.28');
|
| 178 |
+
INSERT INTO Mailshot_Customers (`mailshot_id`, `customer_id`, `outcome_code`, `mailshot_customer_date`) VALUES (4, 3, 'Order', '2018-03-15 15:43:14');
|
| 179 |
+
INSERT INTO Mailshot_Customers (`mailshot_id`, `customer_id`, `outcome_code`, `mailshot_customer_date`) VALUES (10, 1, 'No Response', '2018-03-04 13:06:55');
|
| 180 |
+
INSERT INTO Mailshot_Customers (`mailshot_id`, `customer_id`, `outcome_code`, `mailshot_customer_date`) VALUES (15, 9, 'No Response', '2018-03-11 11:32:20');
|
| 181 |
+
INSERT INTO Mailshot_Customers (`mailshot_id`, `customer_id`, `outcome_code`, `mailshot_customer_date`) VALUES (20, 11, 'Order', '2018-03-01 21:39:07');
|
| 182 |
+
INSERT INTO Mailshot_Customers (`mailshot_id`, `customer_id`, `outcome_code`, `mailshot_customer_date`) VALUES (7, 1, 'Order', '2018-03-13 05:18:16');
|
| 183 |
+
INSERT INTO Mailshot_Customers (`mailshot_id`, `customer_id`, `outcome_code`, `mailshot_customer_date`) VALUES (10, 4, 'No Response', '2018-03-15 04:05:08');
|
| 184 |
+
INSERT INTO Mailshot_Customers (`mailshot_id`, `customer_id`, `outcome_code`, `mailshot_customer_date`) VALUES (15, 6, 'Order', '2018-03-06 21:21:38');
|
| 185 |
+
INSERT INTO Mailshot_Customers (`mailshot_id`, `customer_id`, `outcome_code`, `mailshot_customer_date`) VALUES (10, 13, 'Order', '2018-02-26 02:17:16');
|
| 186 |
+
INSERT INTO Mailshot_Customers (`mailshot_id`, `customer_id`, `outcome_code`, `mailshot_customer_date`) VALUES (15, 13, 'Order', '2018-03-07 11:19:43');
|
| 187 |
+
INSERT INTO Mailshot_Customers (`mailshot_id`, `customer_id`, `outcome_code`, `mailshot_customer_date`) VALUES (17, 11, 'Order', '2018-03-05 20:48:13');
|
| 188 |
+
INSERT INTO Mailshot_Customers (`mailshot_id`, `customer_id`, `outcome_code`, `mailshot_customer_date`) VALUES (18, 14, 'Order', '2018-03-14 01:08:29');
|
| 189 |
+
INSERT INTO Mailshot_Customers (`mailshot_id`, `customer_id`, `outcome_code`, `mailshot_customer_date`) VALUES (15, 6, 'Order', '2018-02-27 20:51:37');
|
| 190 |
+
INSERT INTO Mailshot_Customers (`mailshot_id`, `customer_id`, `outcome_code`, `mailshot_customer_date`) VALUES (18, 2, 'Order', '2018-03-20 23:40:02');
|
| 191 |
+
INSERT INTO Mailshot_Customers (`mailshot_id`, `customer_id`, `outcome_code`, `mailshot_customer_date`) VALUES (7, 1, 'No Response', '2018-03-03 15:29:56');
|
| 192 |
+
INSERT INTO Mailshot_Customers (`mailshot_id`, `customer_id`, `outcome_code`, `mailshot_customer_date`) VALUES (6, 6, 'No Response', '2018-03-05 17:35:24');
|
| 193 |
+
INSERT INTO Order_Items (`item_id`, `order_item_status_code`, `order_id`, `product_id`, `item_status_code`, `item_delivered_datetime`, `item_order_quantity`) VALUES (1, 'Delivered', 10, 13, 'good', '2018-02-25 18:22:10', '6');
|
| 194 |
+
INSERT INTO Order_Items (`item_id`, `order_item_status_code`, `order_id`, `product_id`, `item_status_code`, `item_delivered_datetime`, `item_order_quantity`) VALUES (2, 'Paid', 6, 7, 'good', '2018-02-27 18:04:55', '7');
|
| 195 |
+
INSERT INTO Order_Items (`item_id`, `order_item_status_code`, `order_id`, `product_id`, `item_status_code`, `item_delivered_datetime`, `item_order_quantity`) VALUES (3, 'Cancelled', 8, 1, 'good', '2018-03-16 15:58:27', '4');
|
| 196 |
+
INSERT INTO Order_Items (`item_id`, `order_item_status_code`, `order_id`, `product_id`, `item_status_code`, `item_delivered_datetime`, `item_order_quantity`) VALUES (4, 'Cancelled', 13, 11, 'good', '2018-03-04 18:19:12', '3');
|
| 197 |
+
INSERT INTO Order_Items (`item_id`, `order_item_status_code`, `order_id`, `product_id`, `item_status_code`, `item_delivered_datetime`, `item_order_quantity`) VALUES (5, 'Paid', 11, 5, 'good', '2018-03-07 12:35:59', '6');
|
| 198 |
+
INSERT INTO Order_Items (`item_id`, `order_item_status_code`, `order_id`, `product_id`, `item_status_code`, `item_delivered_datetime`, `item_order_quantity`) VALUES (6, 'Delivered', 6, 10, 'good', '2018-03-03 22:22:38', '5');
|
| 199 |
+
INSERT INTO Order_Items (`item_id`, `order_item_status_code`, `order_id`, `product_id`, `item_status_code`, `item_delivered_datetime`, `item_order_quantity`) VALUES (7, 'Delivered', 7, 14, 'good', '2018-03-04 01:39:37', '6');
|
| 200 |
+
INSERT INTO Order_Items (`item_id`, `order_item_status_code`, `order_id`, `product_id`, `item_status_code`, `item_delivered_datetime`, `item_order_quantity`) VALUES (8, 'Delivered', 2, 5, 'good', '2018-03-05 14:33:02', '4');
|
| 201 |
+
INSERT INTO Order_Items (`item_id`, `order_item_status_code`, `order_id`, `product_id`, `item_status_code`, `item_delivered_datetime`, `item_order_quantity`) VALUES (9, 'Delivered', 6, 6, 'good', '2018-03-22 04:33:17', '6');
|
| 202 |
+
INSERT INTO Order_Items (`item_id`, `order_item_status_code`, `order_id`, `product_id`, `item_status_code`, `item_delivered_datetime`, `item_order_quantity`) VALUES (10, 'Cancelled', 7, 9, 'good', '2018-03-03 00:37:19', '2');
|
| 203 |
+
INSERT INTO Order_Items (`item_id`, `order_item_status_code`, `order_id`, `product_id`, `item_status_code`, `item_delivered_datetime`, `item_order_quantity`) VALUES (11, 'Paid', 15, 3, 'good', '2018-03-12 20:01:38', '1');
|
| 204 |
+
INSERT INTO Order_Items (`item_id`, `order_item_status_code`, `order_id`, `product_id`, `item_status_code`, `item_delivered_datetime`, `item_order_quantity`) VALUES (12, 'Delivered', 11, 9, 'good', '2018-03-03 00:19:41', '5');
|
| 205 |
+
INSERT INTO Order_Items (`item_id`, `order_item_status_code`, `order_id`, `product_id`, `item_status_code`, `item_delivered_datetime`, `item_order_quantity`) VALUES (13, 'Paid', 14, 1, 'good', '2018-03-07 15:53:54', '5');
|
| 206 |
+
INSERT INTO Order_Items (`item_id`, `order_item_status_code`, `order_id`, `product_id`, `item_status_code`, `item_delivered_datetime`, `item_order_quantity`) VALUES (14, 'Paid', 15, 13, 'good', '2018-03-17 07:10:51', '9');
|
| 207 |
+
INSERT INTO Order_Items (`item_id`, `order_item_status_code`, `order_id`, `product_id`, `item_status_code`, `item_delivered_datetime`, `item_order_quantity`) VALUES (15, 'Paid', 14, 9, 'good', '2018-03-05 12:04:23', '4');
|
test_database/device/device.sqlite
ADDED
|
Binary file (28.7 kB). View file
|
|
|
test_database/election/election.sqlite
ADDED
|
Binary file (28.7 kB). View file
|
|
|
test_database/election/schema.sql
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PRAGMA foreign_keys = ON;
|
| 2 |
+
|
| 3 |
+
CREATE TABLE "county" (
|
| 4 |
+
"County_Id" int,
|
| 5 |
+
"County_name" text,
|
| 6 |
+
"Population" real,
|
| 7 |
+
"Zip_code" text,
|
| 8 |
+
PRIMARY KEY ("County_Id")
|
| 9 |
+
);
|
| 10 |
+
|
| 11 |
+
INSERT INTO "county" VALUES (1,"Howard",21000, "D21");
|
| 12 |
+
INSERT INTO "county" VALUES (2,"Baltimore County", 90000,"D08");
|
| 13 |
+
INSERT INTO "county" VALUES (3,"Colony",79000,"D02");
|
| 14 |
+
INSERT INTO "county" VALUES (4,"Mansfield",87200,"D09");
|
| 15 |
+
INSERT INTO "county" VALUES (5,"Manning",13300,"D11");
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
CREATE TABLE "party" (
|
| 19 |
+
"Party_ID" int,
|
| 20 |
+
"Year" real,
|
| 21 |
+
"Party" text,
|
| 22 |
+
"Governor" text,
|
| 23 |
+
"Lieutenant_Governor" text,
|
| 24 |
+
"Comptroller" text,
|
| 25 |
+
"Attorney_General" text,
|
| 26 |
+
"US_Senate" text,
|
| 27 |
+
PRIMARY KEY ("Party_ID")
|
| 28 |
+
);
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
INSERT INTO "party" VALUES (1,"1998","Democratic","Peter Vallone","Sandra Frankel","Carl McCall","Eliot Spitzer","Charles Schumer");
|
| 32 |
+
INSERT INTO "party" VALUES (2,"1998","Liberal","Betsy McCaughey Ross","Jonathan Reiter","Carl McCall","Eliot Spitzer","Charles Schumer");
|
| 33 |
+
INSERT INTO "party" VALUES (3,"2002","Democratic","Carl McCall","Dennis Mehiel","Alan Hevesi","Eliot Spitzer","(no election)");
|
| 34 |
+
INSERT INTO "party" VALUES (4,"2002","Independence","Tom Golisano","Mary Donohue","John Faso","Eliot Spitzer","(no election)");
|
| 35 |
+
INSERT INTO "party" VALUES (5,"2006","Democratic","Eliot Spitzer","David Paterson","Alan Hevesi","Andrew Cuomo","Hillary Rodham Clinton");
|
| 36 |
+
INSERT INTO "party" VALUES (6,"2006","Independence","Eliot Spitzer","David Paterson","Alan Hevesi","Jeanine Pirro","Hillary Rodham Clinton");
|
| 37 |
+
INSERT INTO "party" VALUES (7,"2006","Working Families","Eliot Spitzer","David Paterson","Alan Hevesi","Andrew Cuomo","Hillary Rodham Clinton");
|
| 38 |
+
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
CREATE TABLE "election" (
|
| 42 |
+
"Election_ID" int,
|
| 43 |
+
"Counties_Represented" text,
|
| 44 |
+
"District" int,
|
| 45 |
+
"Delegate" text,
|
| 46 |
+
"Party" int,
|
| 47 |
+
"First_Elected" real,
|
| 48 |
+
"Committee" text,
|
| 49 |
+
PRIMARY KEY ("Election_ID"),
|
| 50 |
+
FOREIGN KEY (`Party`) REFERENCES `party`(`Party_ID`),
|
| 51 |
+
FOREIGN KEY (`District`) REFERENCES `county`(`County_Id`)
|
| 52 |
+
);
|
| 53 |
+
|
| 54 |
+
INSERT INTO "election" VALUES (1,"09.1 9A",1,"Bates, Gail H. Gail H. Bates",1,"2002","Appropriations");
|
| 55 |
+
INSERT INTO "election" VALUES (2,"09.1 9A",1,"Miller, Warren E. Warren E. Miller",1,"2003","Economic Matters");
|
| 56 |
+
INSERT INTO "election" VALUES (3,"12.1 12A",2,"DeBoy, Steven J. Sr. Steven J. DeBoy, Sr.",2,"2002","Appropriations");
|
| 57 |
+
INSERT INTO "election" VALUES (4,"12.1 12A",3,"Malone, James E. Jr. James E. Malone, Jr.",2,"1994","Environmental Matters (Vice-Chair)");
|
| 58 |
+
INSERT INTO "election" VALUES (5,"12.2 12B",2,"Bobo, Elizabeth Elizabeth Bobo",3,"1994","Environmental Matters");
|
| 59 |
+
INSERT INTO "election" VALUES (6,"13",1,"Pendergrass, Shane E. Shane Pendergrass",4,"1994","Health and Government Operations");
|
| 60 |
+
INSERT INTO "election" VALUES (7,"13",4,"Guzzone, Guy Guy Guzzone",1,"2006","Appropriations");
|
| 61 |
+
INSERT INTO "election" VALUES (8,"13",3,"Turner, Frank S. Frank S. Turner",7,"1994","Ways and Means");
|
| 62 |
+
|
test_database/entrepreneur/entrepreneur.sqlite
ADDED
|
Binary file (20.5 kB). View file
|
|
|
test_database/flight_2/flight_2.sql
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
CREATE TABLE 'airlines' (
|
| 2 |
+
uid INTEGER PRIMARY KEY,
|
| 3 |
+
Airline TEXT,
|
| 4 |
+
Abbreviation TEXT,
|
| 5 |
+
Country TEXT
|
| 6 |
+
);
|
| 7 |
+
CREATE TABLE 'airports' (
|
| 8 |
+
City TEXT,
|
| 9 |
+
AirportCode TEXT PRIMARY KEY,
|
| 10 |
+
AirportName TEXT,
|
| 11 |
+
Country TEXT,
|
| 12 |
+
CountryAbbrev TEXT
|
| 13 |
+
);
|
| 14 |
+
CREATE TABLE 'flights' (
|
| 15 |
+
Airline INTEGER,
|
| 16 |
+
FlightNo INTEGER,
|
| 17 |
+
SourceAirport TEXT,
|
| 18 |
+
DestAirport TEXT,
|
| 19 |
+
PRIMARY KEY(Airline, FlightNo),
|
| 20 |
+
FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode),
|
| 21 |
+
FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode)
|
| 22 |
+
);
|
test_database/game_1/schema.sql
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
create table Student (
|
| 2 |
+
StuID INTEGER PRIMARY KEY,
|
| 3 |
+
LName VARCHAR(12),
|
| 4 |
+
Fname VARCHAR(12),
|
| 5 |
+
Age INTEGER,
|
| 6 |
+
Sex VARCHAR(1),
|
| 7 |
+
Major INTEGER,
|
| 8 |
+
Advisor INTEGER,
|
| 9 |
+
city_code VARCHAR(3)
|
| 10 |
+
);
|
| 11 |
+
|
| 12 |
+
create table Video_Games (
|
| 13 |
+
GameID INTEGER PRIMARY KEY,
|
| 14 |
+
GName VARCHAR(40),
|
| 15 |
+
GType VARCHAR(40)
|
| 16 |
+
);
|
| 17 |
+
|
| 18 |
+
create table Plays_Games (
|
| 19 |
+
StuID INTEGER,
|
| 20 |
+
GameID INTEGER,
|
| 21 |
+
Hours_Played INTEGER,
|
| 22 |
+
FOREIGN KEY(GameID) REFERENCES Video_Games(GameID),
|
| 23 |
+
FOREIGN KEY(StuID) REFERENCES Student(StuID)
|
| 24 |
+
);
|
| 25 |
+
|
| 26 |
+
create table SportsInfo (
|
| 27 |
+
StuID INTEGER,
|
| 28 |
+
SportName VARCHAR(32),
|
| 29 |
+
HoursPerWeek INTEGER,
|
| 30 |
+
GamesPlayed INTEGER,
|
| 31 |
+
OnScholarship VARCHAR(1),
|
| 32 |
+
FOREIGN KEY(StuID) REFERENCES Student(StuID)
|
| 33 |
+
);
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
insert into Student values ( 1001, 'Smith', 'Linda', 18, 'F', 600, 1121,'BAL');
|
| 37 |
+
insert into Student values ( 1002, 'Kim', 'Tracy', 19, 'F', 600, 7712,'HKG');
|
| 38 |
+
insert into Student values ( 1003, 'Jones', 'Shiela', 21, 'F', 600, 7792,'WAS');
|
| 39 |
+
insert into Student values ( 1004, 'Kumar', 'Dinesh', 20, 'M', 600, 8423,'CHI');
|
| 40 |
+
insert into Student values ( 1005, 'Gompers', 'Paul', 26, 'M', 600, 1121,'YYZ');
|
| 41 |
+
insert into Student values ( 1006, 'Schultz', 'Andy', 18, 'M', 600, 1148,'BAL');
|
| 42 |
+
insert into Student values ( 1007, 'Apap', 'Lisa', 18, 'F', 600, 8918,'PIT');
|
| 43 |
+
insert into Student values ( 1008, 'Nelson', 'Jandy', 20, 'F', 600, 9172,'BAL');
|
| 44 |
+
insert into Student values ( 1009, 'Tai', 'Eric', 19, 'M', 600, 2192,'YYZ');
|
| 45 |
+
insert into Student values ( 1010, 'Lee', 'Derek', 17, 'M', 600, 2192,'HOU');
|
| 46 |
+
insert into Student values ( 1011, 'Adams', 'David', 22, 'M', 600, 1148,'PHL');
|
| 47 |
+
insert into Student values ( 1012, 'Davis', 'Steven', 20, 'M', 600, 7723,'PIT');
|
| 48 |
+
insert into Student values ( 1014, 'Norris', 'Charles', 18, 'M', 600, 8741, 'DAL');
|
| 49 |
+
insert into Student values ( 1015, 'Lee', 'Susan', 16, 'F', 600, 8721,'HKG');
|
| 50 |
+
insert into Student values ( 1016, 'Schwartz', 'Mark', 17, 'M', 600, 2192,'DET');
|
| 51 |
+
insert into Student values ( 1017, 'Wilson', 'Bruce', 27, 'M', 600, 1148,'LON');
|
| 52 |
+
insert into Student values ( 1018, 'Leighton', 'Michael', 20, 'M', 600, 1121, 'PIT');
|
| 53 |
+
insert into Student values ( 1019, 'Pang', 'Arthur', 18, 'M', 600, 2192,'WAS');
|
| 54 |
+
insert into Student values ( 1020, 'Thornton', 'Ian', 22, 'M', 520, 7271,'NYC');
|
| 55 |
+
insert into Student values ( 1021, 'Andreou', 'George', 19, 'M', 520, 8722, 'NYC');
|
| 56 |
+
insert into Student values ( 1022, 'Woods', 'Michael', 17, 'M', 540, 8722,'PHL');
|
| 57 |
+
insert into Student values ( 1023, 'Shieber', 'David', 20, 'M', 520, 8722,'NYC');
|
| 58 |
+
insert into Student values ( 1024, 'Prater', 'Stacy', 18, 'F', 540, 7271,'BAL');
|
| 59 |
+
insert into Student values ( 1025, 'Goldman', 'Mark', 18, 'M', 520, 7134,'PIT');
|
| 60 |
+
insert into Student values ( 1026, 'Pang', 'Eric', 19, 'M', 520, 7134,'HKG');
|
| 61 |
+
insert into Student values ( 1027, 'Brody', 'Paul', 18, 'M', 520, 8723,'LOS');
|
| 62 |
+
insert into Student values ( 1028, 'Rugh', 'Eric', 20, 'M', 550, 2311,'ROC');
|
| 63 |
+
insert into Student values ( 1029, 'Han', 'Jun', 17, 'M', 100, 2311,'PEK');
|
| 64 |
+
insert into Student values ( 1030, 'Cheng', 'Lisa', 21, 'F', 550, 2311,'SFO');
|
| 65 |
+
insert into Student values ( 1031, 'Smith', 'Sarah', 20, 'F', 550, 8772,'PHL');
|
| 66 |
+
insert into Student values ( 1032, 'Brown', 'Eric', 20, 'M', 550, 8772,'ATL');
|
| 67 |
+
insert into Student values ( 1033, 'Simms', 'William', 18, 'M', 550, 8772,'NAR');
|
| 68 |
+
insert into Student values ( 1034, 'Epp', 'Eric', 18, 'M', 050, 5718,'BOS');
|
| 69 |
+
insert into Student values ( 1035, 'Schmidt', 'Sarah', 26, 'F', 050, 5718,'WAS');
|
| 70 |
+
|
| 71 |
+
insert into Video_Games values ( 1, 'RNG Stone', 'Collectible card game');
|
| 72 |
+
insert into Video_Games values ( 2, 'The Vanishing of Eric Calder', 'Walking Simulator');
|
| 73 |
+
insert into Video_Games values ( 3, 'Grand Term Assignment', 'Role-playing game');
|
| 74 |
+
insert into Video_Games values ( 4, 'Europe is the Universe', 'Grand strategy');
|
| 75 |
+
insert into Video_Games values ( 5, 'Call of Destiny', 'Frist-person shooter');
|
| 76 |
+
insert into Video_Games values ( 6, 'Works of Widenius', 'Massively multiplayer online game');
|
| 77 |
+
|
| 78 |
+
insert into Plays_Games values ( 1001, 1, 35);
|
| 79 |
+
insert into Plays_Games values ( 1001, 2, 15);
|
| 80 |
+
insert into Plays_Games values ( 1001, 5, 1);
|
| 81 |
+
insert into Plays_Games values ( 1007, 4, 1000);
|
| 82 |
+
insert into Plays_Games values ( 1008, 5, 50);
|
| 83 |
+
insert into Plays_Games values ( 1008, 3, 50);
|
| 84 |
+
insert into Plays_Games values ( 1010, 6, 1337);
|
| 85 |
+
insert into Plays_Games values ( 1032, 1, 47);
|
| 86 |
+
insert into Plays_Games values ( 1032, 2, 10);
|
| 87 |
+
insert into Plays_Games values ( 1032, 3, 100);
|
| 88 |
+
|
| 89 |
+
INSERT INTO SportsInfo VALUES (1001, "Athletics", 2, 5, "N");
|
| 90 |
+
INSERT INTO SportsInfo VALUES (1002, "Football", 7, 20, "Y");
|
| 91 |
+
INSERT INTO SportsInfo VALUES (1003, "Football", 45, 18, "Y");
|
| 92 |
+
INSERT INTO SportsInfo VALUES (1005, "Lacrosse", 35, 16, "N");
|
| 93 |
+
INSERT INTO SportsInfo VALUES (1015, "Lacrosse", 25, 41, "Y");
|
| 94 |
+
INSERT INTO SportsInfo VALUES (1018, "Lacrosse", 39, 25, "N");
|
| 95 |
+
INSERT INTO SportsInfo VALUES (1019, "Swimming", 8, 16, "Y");
|
| 96 |
+
INSERT INTO SportsInfo VALUES (1019, "Tennis", 19, 62, "N");
|
| 97 |
+
INSERT INTO SportsInfo VALUES (1022, "Baseball", 29, 31, "N");
|
| 98 |
+
INSERT INTO SportsInfo VALUES (1023, "Basketball", 14, 8, "Y");
|
| 99 |
+
INSERT INTO SportsInfo VALUES (1023, "Tennis", 1, 56, "Y");
|
| 100 |
+
INSERT INTO SportsInfo VALUES (1026, "Cricket", 23, 37, "Y");
|
| 101 |
+
INSERT INTO SportsInfo VALUES (1033, "Soccer", 45, 45, "Y");
|
| 102 |
+
INSERT INTO SportsInfo VALUES (1035, "Curling", 50, 94, "N");
|
test_database/imdb/schema.sql
ADDED
|
@@ -0,0 +1,138 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PRAGMA foreign_keys = ON;
|
| 2 |
+
CREATE TABLE "actor" (
|
| 3 |
+
"aid" int,
|
| 4 |
+
"gender" text,
|
| 5 |
+
"name" text,
|
| 6 |
+
"nationality" text,
|
| 7 |
+
"birth_city" text,
|
| 8 |
+
"birth_year" int,
|
| 9 |
+
primary key("aid")
|
| 10 |
+
);
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
CREATE TABLE "copyright" (
|
| 14 |
+
"id" int,
|
| 15 |
+
"msid" int,
|
| 16 |
+
"cid" int,
|
| 17 |
+
primary key("id")
|
| 18 |
+
);
|
| 19 |
+
CREATE TABLE "cast" (
|
| 20 |
+
"id" int,
|
| 21 |
+
"msid" int,
|
| 22 |
+
"aid" int,
|
| 23 |
+
"role" int,
|
| 24 |
+
primary key("id"),
|
| 25 |
+
foreign key("aid") references `actor`("aid"),
|
| 26 |
+
foreign key("msid") references `copyright`("msid")
|
| 27 |
+
);
|
| 28 |
+
|
| 29 |
+
CREATE TABLE "genre" (
|
| 30 |
+
"gid" int,
|
| 31 |
+
"genre" text,
|
| 32 |
+
primary key("gid")
|
| 33 |
+
);
|
| 34 |
+
|
| 35 |
+
CREATE TABLE "classification" (
|
| 36 |
+
"id" int,
|
| 37 |
+
"msid" int,
|
| 38 |
+
"gid" int,
|
| 39 |
+
primary key("id"),
|
| 40 |
+
foreign key("gid") references `genre`("gid"),
|
| 41 |
+
foreign key("msid") references `copyright`("msid")
|
| 42 |
+
);
|
| 43 |
+
|
| 44 |
+
CREATE TABLE "company" (
|
| 45 |
+
"id" int,
|
| 46 |
+
"name" text,
|
| 47 |
+
"country_code" text,
|
| 48 |
+
primary key("id")
|
| 49 |
+
);
|
| 50 |
+
|
| 51 |
+
|
| 52 |
+
CREATE TABLE "director" (
|
| 53 |
+
"did" int,
|
| 54 |
+
"gender" text,
|
| 55 |
+
"name" text,
|
| 56 |
+
"nationality" text,
|
| 57 |
+
"birth_city" text,
|
| 58 |
+
"birth_year" int,
|
| 59 |
+
primary key("did")
|
| 60 |
+
);
|
| 61 |
+
|
| 62 |
+
CREATE TABLE "producer" (
|
| 63 |
+
"pid" int,
|
| 64 |
+
"gender" text,
|
| 65 |
+
"name" text,
|
| 66 |
+
"nationality" text,
|
| 67 |
+
"birth_city" text,
|
| 68 |
+
"birth_year" int,
|
| 69 |
+
primary key("pid")
|
| 70 |
+
);
|
| 71 |
+
|
| 72 |
+
CREATE TABLE "directed_by" (
|
| 73 |
+
"id" int,
|
| 74 |
+
"msid" int,
|
| 75 |
+
"did" int,
|
| 76 |
+
primary key("id"),
|
| 77 |
+
foreign key("msid") references `copyright`("msid"),
|
| 78 |
+
foreign key("did") references `director`("did")
|
| 79 |
+
);
|
| 80 |
+
|
| 81 |
+
CREATE TABLE "keyword" (
|
| 82 |
+
"id" int,
|
| 83 |
+
"keyword" text,
|
| 84 |
+
primary key("id")
|
| 85 |
+
);
|
| 86 |
+
|
| 87 |
+
CREATE TABLE "made_by" (
|
| 88 |
+
"id" int,
|
| 89 |
+
"msid" int,
|
| 90 |
+
"pid" int,
|
| 91 |
+
primary key("id"),
|
| 92 |
+
foreign key("msid") references `copyright`("msid"),
|
| 93 |
+
foreign key("pid") references `producer`("pid")
|
| 94 |
+
);
|
| 95 |
+
|
| 96 |
+
CREATE TABLE "movie" (
|
| 97 |
+
"mid" int,
|
| 98 |
+
"title" text,
|
| 99 |
+
"release_year" int,
|
| 100 |
+
"title_aka" text,
|
| 101 |
+
"budget" text,
|
| 102 |
+
primary key("mid")
|
| 103 |
+
);
|
| 104 |
+
CREATE TABLE "tags" (
|
| 105 |
+
"id" int,
|
| 106 |
+
"msid" int,
|
| 107 |
+
"kid" int,
|
| 108 |
+
primary key("id"),
|
| 109 |
+
foreign key("msid") references `copyright`("msid"),
|
| 110 |
+
foreign key("kid") references `keyword`("kid")
|
| 111 |
+
);
|
| 112 |
+
CREATE TABLE "tv_series" (
|
| 113 |
+
"sid" int,
|
| 114 |
+
"title" text,
|
| 115 |
+
"release_year" int,
|
| 116 |
+
"num_of_seasons" int,
|
| 117 |
+
"num_of_episodes" int,
|
| 118 |
+
"title_aka" text,
|
| 119 |
+
"budget" text,
|
| 120 |
+
primary key("sid")
|
| 121 |
+
);
|
| 122 |
+
CREATE TABLE "writer" (
|
| 123 |
+
"wid" int,
|
| 124 |
+
"gender" text,
|
| 125 |
+
"name" int,
|
| 126 |
+
"nationality" int,
|
| 127 |
+
"num_of_episodes" int,
|
| 128 |
+
"birth_city" text,
|
| 129 |
+
"birth_year" int,
|
| 130 |
+
primary key("wid")
|
| 131 |
+
);
|
| 132 |
+
CREATE TABLE "written_by" (
|
| 133 |
+
"id" int,
|
| 134 |
+
"msid" int,
|
| 135 |
+
"wid" int,
|
| 136 |
+
foreign key("msid") references `copyright`("msid"),
|
| 137 |
+
foreign key("wid") references `writer`("wid")
|
| 138 |
+
);
|
test_database/inn_1/data_csv/README.INN.TXT
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*****************************************************
|
| 2 |
+
CPE 365 Alex Dekhtyar
|
| 3 |
+
Cal Poly Computer Science Department
|
| 4 |
+
San Luis Obispo College of Engineering
|
| 5 |
+
California dekhtyar@calpoly.edu
|
| 6 |
+
*****************************************************
|
| 7 |
+
INN DATASET
|
| 8 |
+
Version 1.0
|
| 9 |
+
April 6, 2011
|
| 10 |
+
*****************************************************
|
| 11 |
+
Sources: this is a synthesized dataset.
|
| 12 |
+
|
| 13 |
+
******************************************************
|
| 14 |
+
|
| 15 |
+
This file describes the contents of the INN dataset
|
| 16 |
+
developed for the CPE 365, Introduction to Databases,
|
| 17 |
+
course at Cal Poly.
|
| 18 |
+
|
| 19 |
+
The dataset contains information a one year worth of reservations
|
| 20 |
+
at a fictional Bed & Breakfast hotel called Seaside Grove Inn.
|
| 21 |
+
The hotel has 10 rooms. The dataset contains information about
|
| 22 |
+
the completed (i.e., guests arrived and stayed) reservations for
|
| 23 |
+
one year of the hotel's operation.
|
| 24 |
+
|
| 25 |
+
General Conventions.
|
| 26 |
+
|
| 27 |
+
1. All files in the dataset are CSV (comma-separated values) files.
|
| 28 |
+
2. First line of each file provides the names of
|
| 29 |
+
columns. Second line may be empty, or may contain
|
| 30 |
+
the first row of the data.
|
| 31 |
+
3. All string values are enclosed in single quotes (')
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
The dataset consists of the following files:
|
| 35 |
+
|
| 36 |
+
- Rooms.csv : list of Seaside Grove Inn rooms
|
| 37 |
+
- Reservations.csv : list of completed room reservations
|
| 38 |
+
|
| 39 |
+
|
| 40 |
+
Individual files have the following formats.
|
| 41 |
+
|
| 42 |
+
**************************************************************************
|
| 43 |
+
|
| 44 |
+
Rooms.csv
|
| 45 |
+
|
| 46 |
+
RoomId : a three-letter unique Id code of a room
|
| 47 |
+
roomName : official name of the room (all rooms in B&B inns
|
| 48 |
+
typically have names)
|
| 49 |
+
beds : number of beds in the room
|
| 50 |
+
bedType : type of the bed(s) in the room. All beds in each room
|
| 51 |
+
are of the same type.
|
| 52 |
+
maxOccupancy : maximum number of people allowed to stay in the room
|
| 53 |
+
basePrice : base price (in US dollars) of one night of stay in the room.
|
| 54 |
+
decor : decoration style of the room
|
| 55 |
+
|
| 56 |
+
**************************************************************************
|
| 57 |
+
|
| 58 |
+
Reservations.csv
|
| 59 |
+
|
| 60 |
+
Code : reservation code
|
| 61 |
+
Room : the three-letter room code (see Rooms.RoomId)
|
| 62 |
+
CheckIn : date of check-in/arrival
|
| 63 |
+
CheckOut : date of check-out/departure
|
| 64 |
+
Rate : actual nightly rate. Each night of stay on one reservation
|
| 65 |
+
always costs the same amount, although rates may vary
|
| 66 |
+
for the same room from one reservation to another
|
| 67 |
+
LastName : last name of the person who made the reservation
|
| 68 |
+
FirstName : first name of the person who made the reservation
|
| 69 |
+
Adults : number of adults (18 and above) staying in the room. Each
|
| 70 |
+
reservation must have at least one adult
|
| 71 |
+
Kids : number of kids (ages 0-17) staying in the room.
|
| 72 |
+
|
| 73 |
+
**************************************************************************
|
| 74 |
+
**************************************************************************
|
| 75 |
+
|
| 76 |
+
Permission granted to use and distribute this dataset in its current form,
|
| 77 |
+
provided this file is kept unchanged and is distributed together with the
|
| 78 |
+
data.
|
| 79 |
+
|
| 80 |
+
Permission granted to modify and expand this dataset, provided this
|
| 81 |
+
file is updated accordingly with new information.
|
| 82 |
+
|
| 83 |
+
Acknowledgements. We thank Dr. Clint Staley for the software script that
|
| 84 |
+
produced the names of the rooms.
|
| 85 |
+
|
| 86 |
+
**************************************************************************
|
| 87 |
+
**************************************************************************
|
test_database/inn_1/data_csv/Reservations.csv
ADDED
|
@@ -0,0 +1,601 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Code,Room,CheckIn,CheckOut,Rate,LastName,FirstName,Adults,Kids
|
| 2 |
+
47496,'RND','01-JAN-10','06-JAN-10',150.00,'KLEVER','ERASMO',1,0
|
| 3 |
+
41112,'RND','06-JAN-10','11-JAN-10',135.00,'HOOLEY','EUGENIO',1,0
|
| 4 |
+
76809,'RND','12-JAN-10','14-JAN-10',187.50,'WISWELL','JERROD',1,0
|
| 5 |
+
70172,'RND','23-JAN-10','25-JAN-10',150.00,'ALMANZA','PHEBE',1,0
|
| 6 |
+
44358,'RND','25-JAN-10','27-JAN-10',150.00,'BOBROW','CLINTON',2,0
|
| 7 |
+
55344,'RND','30-JAN-10','31-JAN-10',135.00,'RENSCH','LIANA',1,0
|
| 8 |
+
99471,'RND','31-JAN-10','01-FEB-10',135.00,'ABRAHAMS','ANNETT',1,0
|
| 9 |
+
81473,'RND','01-FEB-10','02-FEB-10',127.50,'EVERITT','YUK',1,1
|
| 10 |
+
49253,'RND','03-FEB-10','06-FEB-10',150.00,'NANI','GARRY',1,0
|
| 11 |
+
16748,'RND','21-FEB-10','23-FEB-10',135.00,'KLIMKO','DONTE',1,0
|
| 12 |
+
69316,'RND','26-FEB-10','07-MAR-10',150.00,'SULOUFF','JESSICA',1,0
|
| 13 |
+
69844,'RND','07-MAR-10','11-MAR-10',172.50,'BONIOL','CLINT',1,0
|
| 14 |
+
96839,'RND','11-MAR-10','12-MAR-10',150.00,'ARANAS','ROD',1,0
|
| 15 |
+
43911,'RND','12-MAR-10','13-MAR-10',127.50,'NEIN','TEODORO',1,0
|
| 16 |
+
48382,'RND','13-MAR-10','14-MAR-10',150.00,'SCHLADWEILER','ELEASE',1,0
|
| 17 |
+
77032,'RND','14-MAR-10','17-MAR-10',172.50,'FRANC','HERBERT',1,0
|
| 18 |
+
30043,'RND','17-MAR-10','18-MAR-10',150.00,'HELFRITZ','RHEA',2,0
|
| 19 |
+
48539,'RND','21-MAR-10','28-MAR-10',135.00,'CHINAULT','EDWARDO',2,0
|
| 20 |
+
23850,'RND','11-APR-10','17-APR-10',150.00,'PENNELLA','LAKIA',2,0
|
| 21 |
+
97303,'RND','21-APR-10','30-APR-10',150.00,'WAEGNER','STANFORD',1,0
|
| 22 |
+
21553,'RND','01-MAY-10','05-MAY-10',172.50,'MECHLING','KERRI',1,0
|
| 23 |
+
28465,'RND','05-MAY-10','06-MAY-10',150.00,'SALLE','SANTANA',1,0
|
| 24 |
+
62147,'RND','06-MAY-10','13-MAY-10',135.00,'BURCHAM','JONATHON',1,1
|
| 25 |
+
38368,'RND','30-MAY-10','06-JUN-10',150.00,'FOCKE','HONEY',1,1
|
| 26 |
+
48822,'RND','08-JUN-10','12-JUN-10',187.50,'HULETTE','DARIUS',1,0
|
| 27 |
+
18822,'RND','12-JUN-10','14-JUN-10',150.00,'NORN','GARLAND',2,0
|
| 28 |
+
34034,'RND','14-JUN-10','20-JUN-10',172.50,'GABBETT','ALLEN',1,0
|
| 29 |
+
52470,'RND','20-JUN-10','21-JUN-10',127.50,'BAIRAM','BRADLY',1,1
|
| 30 |
+
95709,'RND','21-JUN-10','02-JUL-10',135.00,'TRUDEN','LEWIS',1,0
|
| 31 |
+
93984,'RND','02-JUL-10','03-JUL-10',187.50,'DEBARDELABEN','NELL',1,0
|
| 32 |
+
76245,'RND','18-JUL-10','19-JUL-10',150.00,'TOSTI','DAN',1,1
|
| 33 |
+
30300,'RND','19-JUL-10','20-JUL-10',135.00,'PRIAL','MYLES',1,0
|
| 34 |
+
70440,'RND','23-JUL-10','27-JUL-10',150.00,'DEVEY','GIUSEPPE',1,0
|
| 35 |
+
44933,'RND','27-JUL-10','29-JUL-10',150.00,'FURIA','ELWANDA',2,0
|
| 36 |
+
63458,'RND','31-JUL-10','01-AUG-10',172.50,'LELEUX','PORTER',1,1
|
| 37 |
+
78964,'RND','05-AUG-10','06-AUG-10',150.00,'SPERAZZA','WILBUR',2,0
|
| 38 |
+
64503,'RND','06-AUG-10','11-AUG-10',172.50,'MAURER','TEODORO',2,0
|
| 39 |
+
15534,'RND','28-AUG-10','01-SEP-10',150.00,'GAUD','REINALDO',1,0
|
| 40 |
+
87560,'RND','01-SEP-10','02-SEP-10',150.00,'SABALA','MORTON',1,0
|
| 41 |
+
59083,'RND','03-SEP-10','10-SEP-10',172.50,'HARTFORD','NATHANAEL',2,0
|
| 42 |
+
91895,'RND','10-SEP-10','11-SEP-10',150.00,'BLADE','RUBEN',1,0
|
| 43 |
+
65416,'RND','11-SEP-10','13-SEP-10',127.50,'STRICK','NICHOLLE',1,0
|
| 44 |
+
94375,'RND','13-SEP-10','19-SEP-10',150.00,'WEGER','TOBY',1,0
|
| 45 |
+
69494,'RND','21-SEP-10','22-SEP-10',135.00,'MINDEN','STACEY',1,0
|
| 46 |
+
14845,'RND','27-SEP-10','30-SEP-10',150.00,'ROTCH','FLORIDA',1,1
|
| 47 |
+
10449,'RND','30-SEP-10','01-OCT-10',150.00,'KLESS','NELSON',1,0
|
| 48 |
+
28494,'RND','01-OCT-10','13-OCT-10',135.00,'DERKAS','GUS',1,0
|
| 49 |
+
67343,'RND','14-OCT-10','25-OCT-10',172.50,'ALBROUGH','OLYMPIA',2,0
|
| 50 |
+
63293,'RND','25-OCT-10','01-NOV-10',127.50,'KUTA','HERMAN',1,1
|
| 51 |
+
55551,'RND','04-NOV-10','08-NOV-10',127.50,'COOKUS','KASHA',2,0
|
| 52 |
+
57705,'RND','12-NOV-10','15-NOV-10',172.50,'ROTHMAN','GLENNIS',1,0
|
| 53 |
+
48532,'RND','20-NOV-10','22-NOV-10',135.00,'VANDEBRINK','TRESSIE',1,0
|
| 54 |
+
32049,'RND','22-NOV-10','04-DEC-10',135.00,'PANOS','LESTER',1,1
|
| 55 |
+
54369,'RND','04-DEC-10','06-DEC-10',172.50,'MULE','DIONNA',1,0
|
| 56 |
+
24667,'RND','08-DEC-10','09-DEC-10',187.50,'BAUGUESS','ERYN',1,0
|
| 57 |
+
68385,'RND','10-DEC-10','12-DEC-10',172.50,'ALBERO','ABBEY',1,0
|
| 58 |
+
46577,'RND','12-DEC-10','14-DEC-10',135.00,'MAURER','TEODORO',1,0
|
| 59 |
+
41783,'RND','19-DEC-10','20-DEC-10',187.50,'LEDOUX','LENA',1,0
|
| 60 |
+
30020,'RND','21-DEC-10','28-DEC-10',135.00,'PORTO','MARIANO',1,1
|
| 61 |
+
26701,'RND','28-DEC-10','30-DEC-10',150.00,'DEJAEGER','WELDON',2,0
|
| 62 |
+
69598,'RND','30-DEC-10','31-DEC-10',150.00,'RENIER','MARCELLUS',1,0
|
| 63 |
+
97512,'RND','31-DEC-10','02-JAN-11',150.00,'FRAILEY','JUANITA',1,0
|
| 64 |
+
74548,'IBS','13-JAN-10','16-JAN-10',172.50,'BORROMEO','EBONY',1,1
|
| 65 |
+
89123,'IBS','20-JAN-10','30-JAN-10',172.50,'GISSLER','EFRAIN',1,0
|
| 66 |
+
77967,'IBS','30-JAN-10','06-FEB-10',172.50,'MCNEELEY','ARTHUR',1,0
|
| 67 |
+
62333,'IBS','06-FEB-10','07-FEB-10',150.00,'ABATIELL','CATHRYN',2,0
|
| 68 |
+
72456,'IBS','08-FEB-10','10-FEB-10',150.00,'STARTIN','BRUNA',1,1
|
| 69 |
+
15733,'IBS','11-FEB-10','13-FEB-10',172.50,'BEALLE','RASHAD',1,0
|
| 70 |
+
39602,'IBS','13-FEB-10','23-FEB-10',150.00,'STUART','IVA',1,1
|
| 71 |
+
75477,'IBS','23-FEB-10','24-FEB-10',172.50,'JAHR','JESSIE',2,0
|
| 72 |
+
41754,'IBS','24-FEB-10','25-FEB-10',172.50,'ANA','ELLAN',1,0
|
| 73 |
+
12138,'IBS','28-FEB-10','05-MAR-10',150.00,'SHARIAT','JARRED',1,0
|
| 74 |
+
95260,'IBS','07-MAR-10','19-MAR-10',187.50,'PERRINO','DENNY',1,0
|
| 75 |
+
63558,'IBS','20-MAR-10','22-MAR-10',150.00,'KEPKE','HAROLD',1,1
|
| 76 |
+
53535,'IBS','22-MAR-10','25-MAR-10',172.50,'ALLENDE','VIRGIL',1,1
|
| 77 |
+
63746,'IBS','25-MAR-10','27-MAR-10',187.50,'SCARLES','LANDON',1,1
|
| 78 |
+
58881,'IBS','27-MAR-10','29-MAR-10',150.00,'RONFELDT','JERMAINE',1,0
|
| 79 |
+
16933,'IBS','01-APR-10','03-APR-10',150.00,'NORSWORTHY','AUBREY',2,0
|
| 80 |
+
18900,'IBS','03-APR-10','05-APR-10',172.50,'LAURY','EMILY',2,0
|
| 81 |
+
58762,'IBS','05-APR-10','07-APR-10',127.50,'REDEPENNING','FAITH',1,0
|
| 82 |
+
50223,'IBS','12-APR-10','14-APR-10',135.00,'CALLICUTT','HONG',1,0
|
| 83 |
+
84715,'IBS','18-APR-10','19-APR-10',150.00,'BECKUM','MISSY',1,0
|
| 84 |
+
55641,'IBS','23-APR-10','25-APR-10',150.00,'ISHIBASHI','CAPRICE',1,1
|
| 85 |
+
99268,'IBS','30-APR-10','03-MAY-10',135.00,'LEEHY','NENA',1,0
|
| 86 |
+
14001,'IBS','11-MAY-10','12-MAY-10',187.50,'COSTON','LANNY',1,0
|
| 87 |
+
63652,'IBS','14-MAY-10','20-MAY-10',172.50,'COVERT','ADAM',1,1
|
| 88 |
+
28227,'IBS','30-MAY-10','04-JUN-10',172.50,'STUART','IVA',2,0
|
| 89 |
+
81780,'IBS','09-JUN-10','10-JUN-10',150.00,'ENTWISLE','THOMAS',1,0
|
| 90 |
+
44426,'IBS','22-JUN-10','23-JUN-10',150.00,'CHEESE','TRINIDAD',1,0
|
| 91 |
+
62816,'IBS','07-JUL-10','11-JUL-10',127.50,'MAEWEATHER','AUGUST',1,0
|
| 92 |
+
94074,'IBS','15-JUL-10','16-JUL-10',135.00,'TRIBBY','ADELIA',1,0
|
| 93 |
+
22981,'IBS','21-JUL-10','23-JUL-10',172.50,'KNERIEN','GRANT',1,0
|
| 94 |
+
72503,'IBS','23-JUL-10','30-JUL-10',150.00,'VELZEBOER','HAN',2,0
|
| 95 |
+
44428,'IBS','04-AUG-10','06-AUG-10',172.50,'ZAVADOSKI','CLAIR',1,0
|
| 96 |
+
26135,'IBS','09-AUG-10','14-AUG-10',150.00,'STORDAHL','NATOSHA',1,0
|
| 97 |
+
88795,'IBS','18-AUG-10','26-AUG-10',150.00,'EURICH','ANTONE',1,1
|
| 98 |
+
78565,'IBS','28-AUG-10','31-AUG-10',187.50,'WAGERS','HOUSTON',2,0
|
| 99 |
+
97220,'IBS','31-AUG-10','04-SEP-10',187.50,'WIXOM','MARCIA',1,1
|
| 100 |
+
37585,'IBS','06-SEP-10','08-SEP-10',135.00,'NOAH','DOROTHEA',2,0
|
| 101 |
+
67689,'IBS','08-SEP-10','11-SEP-10',172.50,'DELGUIDICE','DAN',2,0
|
| 102 |
+
53723,'IBS','11-SEP-10','12-SEP-10',135.00,'KVETON','FREDRICK',2,0
|
| 103 |
+
11996,'IBS','14-SEP-10','16-SEP-10',187.50,'BURBANK','ROBERT',1,0
|
| 104 |
+
55363,'IBS','20-SEP-10','22-SEP-10',135.00,'VERDINE','ANTONINA',1,0
|
| 105 |
+
53747,'IBS','22-SEP-10','23-SEP-10',135.00,'SPEARIN','TOMMY',1,1
|
| 106 |
+
59610,'IBS','23-SEP-10','30-SEP-10',150.00,'EGELSTON','EMANUEL',2,0
|
| 107 |
+
77319,'IBS','09-OCT-10','11-OCT-10',172.50,'WIDOWSKI','EUSEBIO',2,0
|
| 108 |
+
58148,'IBS','11-OCT-10','13-OCT-10',172.50,'VOLANTE','EMERY',1,0
|
| 109 |
+
62305,'IBS','15-OCT-10','22-OCT-10',150.00,'KAMROWSKI','EVITA',2,0
|
| 110 |
+
95100,'IBS','27-OCT-10','05-NOV-10',172.50,'LABAT','JEANMARIE',1,0
|
| 111 |
+
93407,'IBS','05-NOV-10','07-NOV-10',187.50,'KOLP','PAMELIA',1,0
|
| 112 |
+
35870,'IBS','09-NOV-10','11-NOV-10',135.00,'DONIGAN','GLEN',1,1
|
| 113 |
+
42731,'IBS','11-NOV-10','15-NOV-10',172.50,'HOTARD','ALYSIA',2,0
|
| 114 |
+
22561,'IBS','15-NOV-10','21-NOV-10',127.50,'VUTURO','DEVORAH',1,0
|
| 115 |
+
49482,'IBS','21-NOV-10','02-DEC-10',172.50,'ATTEBURG','ELMIRA',2,0
|
| 116 |
+
66331,'IBS','02-DEC-10','06-DEC-10',135.00,'SEVILLANO','LILLI',1,1
|
| 117 |
+
27490,'IBS','06-DEC-10','08-DEC-10',150.00,'PENDLEY','SCOTTIE',1,1
|
| 118 |
+
40675,'IBS','13-DEC-10','14-DEC-10',150.00,'HANUS','THEOLA',1,0
|
| 119 |
+
51097,'IBS','18-DEC-10','20-DEC-10',135.00,'TOODLE','NOLA',2,0
|
| 120 |
+
60749,'IBS','22-DEC-10','24-DEC-10',135.00,'DONAHER','LAKIA',1,0
|
| 121 |
+
58196,'IBS','24-DEC-10','30-DEC-10',150.00,'ZELINSKI','ARTHUR',1,0
|
| 122 |
+
96658,'IBS','30-DEC-10','01-JAN-11',187.50,'SCHLESSELMAN','NEVILLE',1,0
|
| 123 |
+
17265,'AOB','01-JAN-10','06-JAN-10',175.00,'HENLY','RUPERT',4,0
|
| 124 |
+
52597,'AOB','11-JAN-10','14-JAN-10',175.00,'CASMORE','MARINE',3,0
|
| 125 |
+
67200,'AOB','16-JAN-10','23-JAN-10',148.75,'CHET','CHARLEEN',1,2
|
| 126 |
+
28406,'AOB','23-JAN-10','29-JAN-10',175.00,'COOKUS','KASHA',2,1
|
| 127 |
+
10489,'AOB','02-FEB-10','05-FEB-10',218.75,'CARISTO','MARKITA',2,1
|
| 128 |
+
31993,'AOB','08-FEB-10','10-FEB-10',201.25,'ZIEBARTH','ADELAIDE',1,3
|
| 129 |
+
30937,'AOB','14-FEB-10','15-FEB-10',175.00,'FITZGERREL','DENNY',1,3
|
| 130 |
+
15870,'AOB','15-FEB-10','19-FEB-10',175.00,'CORIATY','BERTA',1,3
|
| 131 |
+
94545,'AOB','03-MAR-10','13-MAR-10',201.25,'SHERRANGE','AUGUST',2,0
|
| 132 |
+
57527,'AOB','26-MAR-10','28-MAR-10',201.25,'ABAJA','RHEA',2,0
|
| 133 |
+
93341,'AOB','02-APR-10','08-APR-10',175.00,'FROHMAN','SHAYNE',3,1
|
| 134 |
+
72945,'AOB','12-APR-10','13-APR-10',201.25,'KOHS','BOB',1,1
|
| 135 |
+
65417,'AOB','13-APR-10','15-APR-10',175.00,'ACHTER','GRETA',1,1
|
| 136 |
+
50207,'AOB','20-APR-10','21-APR-10',175.00,'ROSENDO','TAREN',1,0
|
| 137 |
+
12258,'AOB','23-APR-10','27-APR-10',175.00,'KANNEL','RODGER',1,0
|
| 138 |
+
58755,'AOB','30-APR-10','01-MAY-10',175.00,'MALNAR','GROVER',1,0
|
| 139 |
+
17955,'AOB','05-MAY-10','09-MAY-10',201.25,'PANARELLO','TODD',2,0
|
| 140 |
+
75853,'AOB','10-MAY-10','12-MAY-10',175.00,'MELOT','JENNA',4,0
|
| 141 |
+
58972,'AOB','17-MAY-10','19-MAY-10',157.50,'BERS','BRENDA',2,1
|
| 142 |
+
48113,'AOB','24-MAY-10','25-MAY-10',175.00,'BABU','SARAI',2,0
|
| 143 |
+
17344,'AOB','25-MAY-10','26-MAY-10',218.75,'GALOW','RICKEY',1,1
|
| 144 |
+
33806,'AOB','27-MAY-10','28-MAY-10',175.00,'OXFORD','KATRICE',1,2
|
| 145 |
+
28455,'AOB','29-MAY-10','31-MAY-10',175.00,'RISHA','NORBERTO',1,1
|
| 146 |
+
14940,'AOB','01-JUN-10','12-JUN-10',175.00,'BISHOFF','ISREAL',2,0
|
| 147 |
+
43225,'AOB','12-JUN-10','13-JUN-10',157.50,'CAPRON','CASSAUNDRA',1,1
|
| 148 |
+
54831,'AOB','15-JUN-10','21-JUN-10',201.25,'BAUGUESS','ERYN',1,3
|
| 149 |
+
59225,'AOB','26-JUN-10','30-JUN-10',201.25,'DURAN','BO',1,0
|
| 150 |
+
18465,'AOB','30-JUN-10','07-JUL-10',175.00,'KRIEGH','AMADO',2,0
|
| 151 |
+
38013,'AOB','08-JUL-10','15-JUL-10',175.00,'RURY','SENA',1,1
|
| 152 |
+
47004,'AOB','15-JUL-10','28-JUL-10',175.00,'STEBNER','MAXIE',1,1
|
| 153 |
+
56286,'AOB','29-JUL-10','31-JUL-10',201.25,'BRICKEL','ROCKY',3,1
|
| 154 |
+
29253,'AOB','31-JUL-10','03-AUG-10',175.00,'HILDRED','MARTY',3,1
|
| 155 |
+
76149,'AOB','07-AUG-10','09-AUG-10',201.25,'HONEYWELL','JULIANA',2,2
|
| 156 |
+
24300,'AOB','09-AUG-10','15-AUG-10',201.25,'CANDON','PIERRE',4,0
|
| 157 |
+
13058,'AOB','17-AUG-10','18-AUG-10',157.50,'ABATIELL','CATHRYN',1,2
|
| 158 |
+
95605,'AOB','18-AUG-10','20-AUG-10',218.75,'FIGLIOLI','NANCI',1,2
|
| 159 |
+
17270,'AOB','20-AUG-10','23-AUG-10',175.00,'RELLIHAN','COURTNEY',1,0
|
| 160 |
+
67427,'AOB','02-SEP-10','14-SEP-10',175.00,'STRACK','PORTER',1,3
|
| 161 |
+
33748,'AOB','14-SEP-10','16-SEP-10',175.00,'PIGNONE','JOEL',1,3
|
| 162 |
+
47146,'AOB','16-SEP-10','23-SEP-10',201.25,'GATTSHALL','REGAN',1,0
|
| 163 |
+
95204,'AOB','08-OCT-10','14-OCT-10',157.50,'CARRUTH','SANDY',1,2
|
| 164 |
+
41619,'AOB','15-OCT-10','22-OCT-10',175.00,'MASSEY','DORIAN',4,0
|
| 165 |
+
80390,'AOB','22-OCT-10','31-OCT-10',157.50,'PHILBERT','CHRISTIE',2,2
|
| 166 |
+
44836,'AOB','31-OCT-10','03-NOV-10',148.75,'DEFRANG','DWAIN',1,0
|
| 167 |
+
69035,'AOB','18-NOV-10','26-NOV-10',218.75,'KU','MERIDETH',1,3
|
| 168 |
+
29287,'AOB','01-DEC-10','08-DEC-10',218.75,'FRYDAY','HERBERT',2,0
|
| 169 |
+
18834,'AOB','08-DEC-10','10-DEC-10',148.75,'DUCHARME','MIGUELINA',2,0
|
| 170 |
+
58934,'AOB','15-DEC-10','22-DEC-10',201.25,'RICHARD','ROBBY',1,1
|
| 171 |
+
82502,'AOB','25-DEC-10','26-DEC-10',175.00,'KRULIK','JEFFRY',1,2
|
| 172 |
+
36890,'AOB','26-DEC-10','28-DEC-10',175.00,'PHILBERT','CHRISTIE',2,1
|
| 173 |
+
10984,'AOB','28-DEC-10','01-JAN-11',201.25,'ZULLO','WILLY',2,1
|
| 174 |
+
80192,'MWC','01-JAN-10','03-JAN-10',112.50,'MUHLESTEIN','REINALDO',3,1
|
| 175 |
+
58266,'MWC','08-JAN-10','14-JAN-10',125.00,'PICKARD','HORTENCIA',1,0
|
| 176 |
+
53876,'MWC','14-JAN-10','15-JAN-10',125.00,'KEBEDE','ARON',3,0
|
| 177 |
+
82409,'MWC','30-JAN-10','01-FEB-10',125.00,'QUARTO','VANDA',4,0
|
| 178 |
+
39640,'MWC','01-FEB-10','05-FEB-10',143.75,'HERZING','DELPHIA',2,1
|
| 179 |
+
31371,'MWC','05-FEB-10','06-FEB-10',125.00,'TARZIA','KAYLEE',2,0
|
| 180 |
+
31508,'MWC','10-FEB-10','14-FEB-10',112.50,'FULK','GENE',4,0
|
| 181 |
+
37985,'MWC','15-FEB-10','18-FEB-10',112.50,'PEDERSON','DOTTIE',1,1
|
| 182 |
+
54966,'MWC','23-FEB-10','24-FEB-10',125.00,'MAZUREK','LEIGHANN',1,0
|
| 183 |
+
64987,'MWC','28-FEB-10','05-MAR-10',125.00,'BRESSE','BURTON',1,0
|
| 184 |
+
40678,'MWC','22-MAR-10','29-MAR-10',112.50,'KENNETT','QUEEN',3,0
|
| 185 |
+
36356,'MWC','29-MAR-10','04-APR-10',125.00,'SPECTOR','FRITZ',2,1
|
| 186 |
+
35180,'MWC','07-APR-10','08-APR-10',125.00,'POWNELL','BRIDGET',1,0
|
| 187 |
+
96909,'MWC','09-APR-10','15-APR-10',125.00,'WILLIBRAND','HEATHER',3,0
|
| 188 |
+
79056,'MWC','19-APR-10','25-APR-10',125.00,'GANZER','HYMAN',2,0
|
| 189 |
+
90108,'MWC','30-APR-10','01-MAY-10',156.25,'FANZO','TERRY',1,0
|
| 190 |
+
30479,'MWC','01-MAY-10','10-MAY-10',143.75,'QUISPE','MARGARITO',1,1
|
| 191 |
+
60169,'MWC','10-MAY-10','16-MAY-10',125.00,'ROSATI','LORENA',1,3
|
| 192 |
+
91415,'MWC','16-MAY-10','18-MAY-10',112.50,'LEHRFELD','CHERLY',3,0
|
| 193 |
+
87943,'MWC','21-MAY-10','28-MAY-10',125.00,'LUTFY','LIZETTE',2,0
|
| 194 |
+
14273,'MWC','28-MAY-10','30-MAY-10',125.00,'STARE','ELIJAH',1,0
|
| 195 |
+
25134,'MWC','31-MAY-10','02-JUN-10',143.75,'HARDYMAN','CLAYTON',1,1
|
| 196 |
+
34244,'MWC','04-JUN-10','06-JUN-10',112.50,'SPIKE','ROSENDA',4,0
|
| 197 |
+
84244,'MWC','06-JUN-10','07-JUN-10',125.00,'TALAT','MEAGHAN',2,1
|
| 198 |
+
64456,'MWC','07-JUN-10','09-JUN-10',125.00,'MCCLENNINGHAM','BRADLY',1,2
|
| 199 |
+
86375,'MWC','12-JUN-10','22-JUN-10',156.25,'RANAUDO','SELINA',1,0
|
| 200 |
+
84120,'MWC','29-JUN-10','05-JUL-10',143.75,'LOTTO','MYRA',3,1
|
| 201 |
+
72817,'MWC','08-JUL-10','09-JUL-10',143.75,'FINEFROCK','ALEXIS',1,2
|
| 202 |
+
16136,'MWC','09-JUL-10','12-JUL-10',143.75,'FERENCE','MORGAN',1,0
|
| 203 |
+
44378,'MWC','12-JUL-10','13-JUL-10',125.00,'COTMAN','JOLYNN',1,3
|
| 204 |
+
54323,'MWC','13-JUL-10','14-JUL-10',106.25,'LUNNEY','YVETTE',3,0
|
| 205 |
+
18311,'MWC','27-JUL-10','31-JUL-10',125.00,'LUEDKE','BRYNN',1,1
|
| 206 |
+
65909,'MWC','31-JUL-10','01-AUG-10',112.50,'BENDICKSON','NEWTON',2,0
|
| 207 |
+
70287,'MWC','02-AUG-10','11-AUG-10',143.75,'MAEDA','DUSTY',1,0
|
| 208 |
+
92348,'MWC','11-AUG-10','17-AUG-10',125.00,'BARTHELL','RICARDA',1,0
|
| 209 |
+
53295,'MWC','17-AUG-10','22-AUG-10',106.25,'HANUS','THEOLA',2,1
|
| 210 |
+
97375,'MWC','26-AUG-10','27-AUG-10',112.50,'DONNELLEY','GARNET',3,0
|
| 211 |
+
79219,'MWC','27-AUG-10','30-AUG-10',125.00,'KLAASS','HYON',3,1
|
| 212 |
+
69840,'MWC','30-AUG-10','03-SEP-10',112.50,'KNERIEN','GRANT',2,1
|
| 213 |
+
95620,'MWC','07-SEP-10','10-SEP-10',112.50,'ZAHLER','GORDON',1,0
|
| 214 |
+
35136,'MWC','10-SEP-10','12-SEP-10',112.50,'MALCHOW','RAMIRO',1,0
|
| 215 |
+
67464,'MWC','27-SEP-10','30-SEP-10',112.50,'KVETON','FREDRICK',1,1
|
| 216 |
+
38677,'MWC','05-OCT-10','11-OCT-10',156.25,'HORELICK','BYRON',2,0
|
| 217 |
+
32116,'MWC','15-OCT-10','17-OCT-10',143.75,'RUSSO','MELODY',1,1
|
| 218 |
+
21848,'MWC','17-OCT-10','18-OCT-10',112.50,'CLOFFI','CHAROLETTE',1,0
|
| 219 |
+
73473,'MWC','18-OCT-10','27-OCT-10',125.00,'ROTCHFORD','DWIGHT',3,0
|
| 220 |
+
98441,'MWC','30-OCT-10','07-NOV-10',106.25,'RAMPLEY','HERMA',4,0
|
| 221 |
+
54781,'MWC','07-NOV-10','11-NOV-10',125.00,'KUTA','HERMAN',1,2
|
| 222 |
+
93587,'MWC','11-NOV-10','12-NOV-10',112.50,'ZELAYA','PRINCE',3,1
|
| 223 |
+
33271,'MWC','29-NOV-10','02-DEC-10',143.75,'YONKERS','RHETT',2,2
|
| 224 |
+
40043,'MWC','04-DEC-10','14-DEC-10',125.00,'LANSBERRY','JESUSITA',3,1
|
| 225 |
+
33155,'MWC','14-DEC-10','16-DEC-10',143.75,'FOLGER','ELOISA',1,0
|
| 226 |
+
88588,'MWC','16-DEC-10','17-DEC-10',125.00,'RELFORD','MARYBELLE',2,0
|
| 227 |
+
57015,'MWC','19-DEC-10','20-DEC-10',106.25,'BUSTER','TOM',1,0
|
| 228 |
+
87890,'MWC','20-DEC-10','22-DEC-10',143.75,'HELKE','ISAAC',1,0
|
| 229 |
+
66189,'MWC','30-DEC-10','04-JAN-11',143.75,'FROEHNER','LATRISHA',3,0
|
| 230 |
+
76801,'HBB','06-JAN-10','18-JAN-10',125.00,'CRACE','HERB',1,1
|
| 231 |
+
24408,'HBB','18-JAN-10','19-JAN-10',100.00,'RADIN','RUSTY',1,0
|
| 232 |
+
21980,'HBB','05-FEB-10','08-FEB-10',115.00,'SIDDELL','MACY',1,1
|
| 233 |
+
87260,'HBB','13-FEB-10','15-FEB-10',90.00,'REPKE','CHAE',1,1
|
| 234 |
+
78241,'HBB','20-FEB-10','28-FEB-10',85.00,'CHAMBLEE','ALTHA',2,0
|
| 235 |
+
64657,'HBB','01-MAR-10','06-MAR-10',115.00,'VIPPERMAN','PABLO',2,0
|
| 236 |
+
25558,'HBB','17-MAR-10','19-MAR-10',125.00,'SHOULDER','FLORENTINO',1,1
|
| 237 |
+
82874,'HBB','30-MAR-10','09-APR-10',125.00,'ATTEBURG','ELMIRA',1,1
|
| 238 |
+
89780,'HBB','09-APR-10','11-APR-10',100.00,'WAHR','CLINT',1,0
|
| 239 |
+
63523,'HBB','15-APR-10','16-APR-10',115.00,'RATTANA','WINFRED',1,0
|
| 240 |
+
30723,'HBB','16-APR-10','23-APR-10',125.00,'MASSER','TROY',2,0
|
| 241 |
+
88884,'HBB','27-APR-10','30-APR-10',85.00,'KIRAKOSYAN','KAREEM',1,1
|
| 242 |
+
18019,'HBB','03-MAY-10','05-MAY-10',115.00,'ARNDELL','JEFFEREY',1,1
|
| 243 |
+
77379,'HBB','06-MAY-10','08-MAY-10',115.00,'TORNQUIST','JESS',1,0
|
| 244 |
+
45157,'HBB','11-MAY-10','18-MAY-10',115.00,'WICKLIN','WYNELL',2,0
|
| 245 |
+
77574,'HBB','22-MAY-10','03-JUN-10',90.00,'CASMORE','MARINE',1,1
|
| 246 |
+
69945,'HBB','07-JUN-10','09-JUN-10',115.00,'FLEURILUS','KATTIE',1,0
|
| 247 |
+
73154,'HBB','14-JUN-10','19-JUN-10',115.00,'SAILORS','SANDA',1,0
|
| 248 |
+
97000,'HBB','20-JUN-10','26-JUN-10',125.00,'OCHS','ANGLA',1,0
|
| 249 |
+
34855,'HBB','01-JUL-10','04-JUL-10',100.00,'YURICK','SHARA',2,0
|
| 250 |
+
86394,'HBB','07-JUL-10','09-JUL-10',100.00,'WESTLING','DACIA',2,0
|
| 251 |
+
49467,'HBB','09-JUL-10','16-JUL-10',115.00,'SUSMILCH','RAYMUNDO',1,0
|
| 252 |
+
65206,'HBB','16-JUL-10','21-JUL-10',100.00,'HIRONS','RANDAL',1,1
|
| 253 |
+
12686,'HBB','22-JUL-10','25-JUL-10',85.00,'GROWNEY','MELVIN',2,0
|
| 254 |
+
92608,'HBB','30-JUL-10','01-AUG-10',125.00,'PENCEK','SILVIA',1,0
|
| 255 |
+
71443,'HBB','02-AUG-10','05-AUG-10',100.00,'KLIMAVICIUS','ULRIKE',1,0
|
| 256 |
+
52799,'HBB','05-AUG-10','07-AUG-10',85.00,'WANDREI','ISSAC',1,0
|
| 257 |
+
41880,'HBB','07-AUG-10','09-AUG-10',100.00,'PLAKE','KARMEN',1,0
|
| 258 |
+
25262,'HBB','09-AUG-10','11-AUG-10',115.00,'YAPLE','CLAUDIE',1,0
|
| 259 |
+
10500,'HBB','11-AUG-10','12-AUG-10',90.00,'YESSIOS','ANNIS',1,0
|
| 260 |
+
97585,'HBB','15-AUG-10','16-AUG-10',85.00,'PARISER','ELIJAH',1,0
|
| 261 |
+
84334,'HBB','19-AUG-10','25-AUG-10',125.00,'NEUBECKER','GARY',2,0
|
| 262 |
+
28589,'HBB','25-AUG-10','26-AUG-10',115.00,'RIMAR','KEELY',2,0
|
| 263 |
+
62874,'HBB','26-AUG-10','27-AUG-10',100.00,'SKIBA','MITCHELL',1,1
|
| 264 |
+
46665,'HBB','31-AUG-10','09-SEP-10',100.00,'MABRA','MARGET',1,0
|
| 265 |
+
40241,'HBB','13-SEP-10','15-SEP-10',85.00,'CORSARO','SHELLA',1,1
|
| 266 |
+
48604,'HBB','16-SEP-10','22-SEP-10',115.00,'GARCES','CRISTIE',1,1
|
| 267 |
+
48665,'HBB','26-SEP-10','28-SEP-10',90.00,'STOUDYMIRE','COLUMBUS',1,1
|
| 268 |
+
20572,'HBB','28-SEP-10','29-SEP-10',115.00,'SANDLER','JENISE',2,0
|
| 269 |
+
97269,'HBB','04-OCT-10','05-OCT-10',115.00,'MELVE','PHIL',1,1
|
| 270 |
+
25616,'HBB','05-OCT-10','06-OCT-10',100.00,'KOSANOVIC','EWA',1,0
|
| 271 |
+
87713,'HBB','08-OCT-10','10-OCT-10',90.00,'TANKER','JONE',1,0
|
| 272 |
+
44040,'HBB','15-OCT-10','16-OCT-10',90.00,'ZELAYA','PRINCE',1,0
|
| 273 |
+
21202,'HBB','21-OCT-10','23-OCT-10',125.00,'CASAGRANDA','BRAIN',2,0
|
| 274 |
+
10105,'HBB','23-OCT-10','25-OCT-10',100.00,'SELBIG','CONRAD',1,0
|
| 275 |
+
19194,'HBB','29-OCT-10','05-NOV-10',125.00,'WORKINGER','CLIFTON',1,0
|
| 276 |
+
35959,'HBB','07-NOV-10','09-NOV-10',100.00,'BRAND','TROY',1,0
|
| 277 |
+
74141,'HBB','14-NOV-10','16-NOV-10',100.00,'BRODOWSKI','RODERICK',1,0
|
| 278 |
+
56737,'HBB','17-NOV-10','18-NOV-10',100.00,'PETTINE','NUMBERS',2,0
|
| 279 |
+
80302,'HBB','22-NOV-10','24-NOV-10',115.00,'KLEIMAN','MAURICIO',1,0
|
| 280 |
+
55862,'HBB','28-NOV-10','05-DEC-10',85.00,'BIERWAGEN','MARK',1,1
|
| 281 |
+
63078,'HBB','05-DEC-10','06-DEC-10',90.00,'WHITTEN','MITZI',1,0
|
| 282 |
+
63043,'HBB','06-DEC-10','07-DEC-10',85.00,'CIERPKE','DOT',1,1
|
| 283 |
+
73785,'HBB','07-DEC-10','09-DEC-10',100.00,'ROGGE','MEREDITH',2,0
|
| 284 |
+
93165,'HBB','10-DEC-10','14-DEC-10',90.00,'LEDOUX','LENA',1,0
|
| 285 |
+
58668,'HBB','14-DEC-10','19-DEC-10',125.00,'COASTER','MERLE',1,1
|
| 286 |
+
17672,'HBB','21-DEC-10','22-DEC-10',90.00,'DECHELLIS','AARON',1,0
|
| 287 |
+
84695,'HBB','22-DEC-10','23-DEC-10',90.00,'BRAND','TROY',2,0
|
| 288 |
+
38636,'HBB','29-DEC-10','31-DEC-10',115.00,'FORESTA','JORDON',1,0
|
| 289 |
+
43157,'HBB','31-DEC-10','06-JAN-11',100.00,'STURN','NEVADA',2,0
|
| 290 |
+
96005,'IBD','01-JAN-10','07-JAN-10',150.00,'BUTALA','YEVETTE',3,0
|
| 291 |
+
67066,'IBD','07-JAN-10','11-JAN-10',135.00,'EDHOLM','ALFRED',3,1
|
| 292 |
+
14226,'IBD','11-JAN-10','12-JAN-10',150.00,'SCHOENHUT','VERNICE',2,1
|
| 293 |
+
62078,'IBD','12-JAN-10','25-JAN-10',172.50,'BRODOWSKI','RODERICK',1,0
|
| 294 |
+
43303,'IBD','27-JAN-10','28-JAN-10',150.00,'MENINO','STEVEN',1,1
|
| 295 |
+
14678,'IBD','28-JAN-10','30-JAN-10',150.00,'SATERFIELD','FRANCISCO',3,1
|
| 296 |
+
30363,'IBD','30-JAN-10','09-FEB-10',172.50,'JAHALY','DELORSE',3,0
|
| 297 |
+
80613,'IBD','09-FEB-10','12-FEB-10',135.00,'CREDIT','JANESSA',1,3
|
| 298 |
+
98216,'IBD','18-FEB-10','25-FEB-10',150.00,'RAMSDEN','BILLIE',1,0
|
| 299 |
+
43654,'IBD','27-FEB-10','28-FEB-10',172.50,'BORROMEO','EBONY',2,1
|
| 300 |
+
56509,'IBD','08-MAR-10','10-MAR-10',150.00,'VONDRA','HUMBERTO',3,0
|
| 301 |
+
95519,'IBD','21-MAR-10','23-MAR-10',172.50,'ZINDEL','CHUNG',2,2
|
| 302 |
+
57275,'IBD','28-MAR-10','02-APR-10',150.00,'MABRA','MARGET',3,0
|
| 303 |
+
66089,'IBD','06-APR-10','07-APR-10',135.00,'WINNEN','TYLER',2,1
|
| 304 |
+
70741,'IBD','09-APR-10','14-APR-10',150.00,'EERKES','CODY',3,0
|
| 305 |
+
20107,'IBD','14-APR-10','16-APR-10',135.00,'ARBUCKLE','LORENA',2,1
|
| 306 |
+
13136,'IBD','16-APR-10','17-APR-10',187.50,'FEYLER','EMILIA',1,0
|
| 307 |
+
33427,'IBD','17-APR-10','21-APR-10',135.00,'BEALLE','RASHAD',1,0
|
| 308 |
+
80989,'IBD','24-APR-10','06-MAY-10',150.00,'TIPPIN','ASUNCION',1,0
|
| 309 |
+
97996,'IBD','06-MAY-10','07-MAY-10',135.00,'LUCIDO','AHMAD',1,1
|
| 310 |
+
55870,'IBD','08-MAY-10','13-MAY-10',135.00,'BELONGIE','BIBI',1,3
|
| 311 |
+
11645,'IBD','13-MAY-10','19-MAY-10',135.00,'SWAIT','DAN',2,1
|
| 312 |
+
19394,'IBD','23-MAY-10','25-MAY-10',150.00,'HARPE','GERMAN',1,2
|
| 313 |
+
99845,'IBD','27-MAY-10','28-MAY-10',150.00,'SEVILLANO','LILLI',3,0
|
| 314 |
+
32933,'IBD','05-JUN-10','06-JUN-10',135.00,'MURASSO','JAMIE',2,1
|
| 315 |
+
83021,'IBD','06-JUN-10','07-JUN-10',172.50,'KLAVETTER','DOUGLASS',1,3
|
| 316 |
+
65153,'IBD','12-JUN-10','14-JUN-10',150.00,'VEGHER','ANGELA',1,2
|
| 317 |
+
96983,'IBD','18-JUN-10','23-JUN-10',127.50,'CLOWERD','ARNULFO',2,1
|
| 318 |
+
86560,'IBD','23-JUN-10','24-JUN-10',187.50,'SHUTTERS','CLARINDA',3,1
|
| 319 |
+
87086,'IBD','28-JUN-10','07-JUL-10',150.00,'WAGERS','HOUSTON',1,0
|
| 320 |
+
98882,'IBD','07-JUL-10','14-JUL-10',127.50,'GOON','JONE',1,0
|
| 321 |
+
27983,'IBD','22-JUL-10','24-JUL-10',135.00,'SWARTWOOD','JENI',3,1
|
| 322 |
+
37425,'IBD','26-JUL-10','28-JUL-10',150.00,'FIERECK','ALBERTA',4,0
|
| 323 |
+
17222,'IBD','28-JUL-10','07-AUG-10',150.00,'BOHMAN','LAYNE',1,3
|
| 324 |
+
20269,'IBD','12-AUG-10','19-AUG-10',135.00,'BILLICK','NIEVES',1,0
|
| 325 |
+
24326,'IBD','19-AUG-10','21-AUG-10',135.00,'CULMER','LLOYD',1,3
|
| 326 |
+
63600,'IBD','21-AUG-10','28-AUG-10',150.00,'WEARS','LIBBIE',3,0
|
| 327 |
+
37845,'IBD','29-AUG-10','30-AUG-10',127.50,'PENEZ','AMIEE',1,0
|
| 328 |
+
24986,'IBD','30-AUG-10','01-SEP-10',150.00,'HEATH','PASQUALE',4,0
|
| 329 |
+
12085,'IBD','04-SEP-10','08-SEP-10',135.00,'GLASGLOW','EMMANUEL',2,0
|
| 330 |
+
29937,'IBD','08-SEP-10','10-SEP-10',150.00,'OBERHAUSEN','JODY',2,1
|
| 331 |
+
11703,'IBD','10-SEP-10','11-SEP-10',172.50,'HAVIS','SHERILYN',2,0
|
| 332 |
+
10183,'IBD','19-SEP-10','20-SEP-10',150.00,'GABLER','DOLLIE',2,0
|
| 333 |
+
14149,'IBD','20-SEP-10','22-SEP-10',150.00,'HOULIHAN','LEVI',2,1
|
| 334 |
+
17405,'IBD','02-OCT-10','03-OCT-10',127.50,'KESTER','KIZZY',3,1
|
| 335 |
+
21625,'IBD','03-OCT-10','14-OCT-10',187.50,'BOSE','FRANCISCO',1,2
|
| 336 |
+
43651,'IBD','19-OCT-10','21-OCT-10',150.00,'LAGERMAN','LEOLA',2,0
|
| 337 |
+
37060,'IBD','21-OCT-10','23-OCT-10',150.00,'PASSANTINO','DALLAS',1,3
|
| 338 |
+
66548,'IBD','23-OCT-10','26-OCT-10',150.00,'FEASTER','KRISTOPHER',3,0
|
| 339 |
+
11857,'IBD','27-OCT-10','29-OCT-10',187.50,'HARDINA','LORITA',4,0
|
| 340 |
+
33395,'IBD','31-OCT-10','02-NOV-10',150.00,'METER','ROSA',2,0
|
| 341 |
+
43584,'IBD','02-NOV-10','04-NOV-10',135.00,'BRUSKI','MONTY',1,2
|
| 342 |
+
93736,'IBD','07-NOV-10','10-NOV-10',135.00,'TREGRE','COLTON',2,1
|
| 343 |
+
44310,'IBD','15-NOV-10','21-NOV-10',135.00,'DIEZ','NADIA',4,0
|
| 344 |
+
47511,'IBD','21-NOV-10','22-NOV-10',172.50,'VELIE','NIKKI',1,2
|
| 345 |
+
88892,'IBD','22-NOV-10','26-NOV-10',187.50,'MARKWORTH','DESPINA',4,0
|
| 346 |
+
26798,'IBD','30-NOV-10','06-DEC-10',135.00,'BONJORNO','IGNACIO',1,1
|
| 347 |
+
33195,'IBD','06-DEC-10','12-DEC-10',150.00,'DEHLINGER','VANCE',3,1
|
| 348 |
+
72506,'IBD','12-DEC-10','25-DEC-10',150.00,'KNERIEN','GRANT',2,0
|
| 349 |
+
70889,'IBD','25-DEC-10','26-DEC-10',172.50,'DINUNZIO','FELIPE',1,3
|
| 350 |
+
72890,'IBD','26-DEC-10','27-DEC-10',172.50,'AKHTAR','BENTON',1,0
|
| 351 |
+
71679,'IBD','27-DEC-10','31-DEC-10',172.50,'MIKEL','BRIGIDA',1,0
|
| 352 |
+
43692,'IBD','31-DEC-10','01-JAN-11',172.50,'BEAMON','HYACINTH',1,0
|
| 353 |
+
83481,'TAA','03-JAN-10','07-JAN-10',67.50,'ENGELSON','MIKKI',2,0
|
| 354 |
+
38209,'TAA','08-JAN-10','13-JAN-10',86.25,'ECKERT','EDIE',1,0
|
| 355 |
+
89102,'TAA','14-JAN-10','15-JAN-10',67.50,'CARBACK','ZOLA',2,0
|
| 356 |
+
87915,'TAA','18-JAN-10','24-JAN-10',63.75,'ACHENBACH','HERB',1,0
|
| 357 |
+
57627,'TAA','29-JAN-10','05-FEB-10',67.50,'SWEAZY','ROY',1,1
|
| 358 |
+
77911,'TAA','05-FEB-10','07-FEB-10',75.00,'WIDOWSKI','EUSEBIO',2,0
|
| 359 |
+
56475,'TAA','07-FEB-10','08-FEB-10',93.75,'KLIGER','TRICIA',1,0
|
| 360 |
+
89519,'TAA','09-FEB-10','10-FEB-10',75.00,'STIMSON','NICOLA',1,0
|
| 361 |
+
62313,'TAA','10-FEB-10','12-FEB-10',86.25,'WAEGNER','BROOKS',1,1
|
| 362 |
+
68829,'TAA','12-FEB-10','15-FEB-10',67.50,'POIRRIER','SUZETTE',1,1
|
| 363 |
+
84756,'TAA','19-FEB-10','22-FEB-10',75.00,'CARLYLE','BILLYE',1,1
|
| 364 |
+
13972,'TAA','22-FEB-10','25-FEB-10',67.50,'DAYA','COREY',2,0
|
| 365 |
+
55985,'TAA','25-FEB-10','26-FEB-10',86.25,'BASSI','DUSTY',1,0
|
| 366 |
+
92508,'TAA','26-FEB-10','27-FEB-10',75.00,'MULE','DIONNA',2,0
|
| 367 |
+
56344,'TAA','02-MAR-10','03-MAR-10',86.25,'INGUARDSEN','HARRISON',1,0
|
| 368 |
+
24420,'TAA','03-MAR-10','12-MAR-10',75.00,'SCHLESSER','FLOYD',1,1
|
| 369 |
+
74927,'TAA','24-MAR-10','26-MAR-10',67.50,'MACROSTIE','SABRINA',1,0
|
| 370 |
+
69499,'TAA','27-MAR-10','29-MAR-10',75.00,'AKHTAR','BENTON',1,0
|
| 371 |
+
44771,'TAA','29-MAR-10','30-MAR-10',67.50,'NOBLIN','BELKIS',2,0
|
| 372 |
+
31636,'TAA','09-APR-10','11-APR-10',75.00,'FAGERSTROM','ALLAN',1,0
|
| 373 |
+
36855,'TAA','13-APR-10','14-APR-10',67.50,'TRAMM','SANG',1,0
|
| 374 |
+
92463,'TAA','14-APR-10','15-APR-10',75.00,'DAOUD','STEPHEN',1,0
|
| 375 |
+
26423,'TAA','15-APR-10','18-APR-10',86.25,'DEININGER','RICKIE',1,1
|
| 376 |
+
49886,'TAA','21-APR-10','27-APR-10',86.25,'BRINAR','WOODROW',1,1
|
| 377 |
+
75081,'TAA','27-APR-10','07-MAY-10',75.00,'HANSEN','LAREE',1,0
|
| 378 |
+
29496,'TAA','07-MAY-10','14-MAY-10',75.00,'HONIGSBERG','PEARLENE',1,0
|
| 379 |
+
97924,'TAA','19-MAY-10','21-MAY-10',75.00,'SPECTOR','FRITZ',2,0
|
| 380 |
+
61861,'TAA','30-MAY-10','12-JUN-10',86.25,'EASTLING','AUNDREA',1,0
|
| 381 |
+
27125,'TAA','13-JUN-10','15-JUN-10',75.00,'BOESER','DIVINA',1,0
|
| 382 |
+
26487,'TAA','15-JUN-10','19-JUN-10',63.75,'JUHL','MILLARD',1,0
|
| 383 |
+
97491,'TAA','19-JUN-10','23-JUN-10',86.25,'BALCOM','JOEY',1,0
|
| 384 |
+
49153,'TAA','23-JUN-10','30-JUN-10',86.25,'ZEPEDA','ELANA',1,0
|
| 385 |
+
68265,'TAA','30-JUN-10','03-JUL-10',67.50,'BREGER','BOYD',2,0
|
| 386 |
+
94949,'TAA','03-JUL-10','09-JUL-10',75.00,'FINEFROCK','ALEXIS',1,1
|
| 387 |
+
67917,'TAA','09-JUL-10','13-JUL-10',75.00,'SALERNO','LOU',1,0
|
| 388 |
+
86151,'TAA','13-JUL-10','15-JUL-10',67.50,'RIOPEL','TANA',1,1
|
| 389 |
+
32112,'TAA','20-JUL-10','27-JUL-10',75.00,'SAMPLES','CLAIR',1,0
|
| 390 |
+
94735,'TAA','31-JUL-10','05-AUG-10',75.00,'ALMGREN','CHANTAY',1,1
|
| 391 |
+
89433,'TAA','08-AUG-10','18-AUG-10',63.75,'SHALHOUP','AMAL',1,0
|
| 392 |
+
19017,'TAA','18-AUG-10','30-AUG-10',86.25,'EERKES','CODY',2,0
|
| 393 |
+
38017,'TAA','05-SEP-10','07-SEP-10',75.00,'SHOULDER','FLORENTINO',2,0
|
| 394 |
+
85547,'TAA','11-SEP-10','16-SEP-10',93.75,'EMIGHOLZ','ERWIN',1,1
|
| 395 |
+
35546,'TAA','19-SEP-10','24-SEP-10',67.50,'YUK','TIM',1,0
|
| 396 |
+
32552,'TAA','11-OCT-10','12-OCT-10',75.00,'MIDTHUN','EMMANUEL',1,0
|
| 397 |
+
16693,'TAA','17-OCT-10','18-OCT-10',67.50,'ASHCROFT','RONALD',1,0
|
| 398 |
+
20463,'TAA','19-OCT-10','22-OCT-10',75.00,'VANBLARICUM','CRISTIE',1,1
|
| 399 |
+
69654,'TAA','23-OCT-10','29-OCT-10',75.00,'TOLLINCHI','CHRISTOPER',2,0
|
| 400 |
+
67381,'TAA','02-NOV-10','04-NOV-10',75.00,'GUERETTE','CLARETTA',2,0
|
| 401 |
+
58942,'TAA','04-NOV-10','08-NOV-10',75.00,'HULETTE','DARIUS',1,0
|
| 402 |
+
76087,'TAA','18-NOV-10','23-NOV-10',67.50,'SELIGA','LEOPOLDO',1,1
|
| 403 |
+
81825,'TAA','25-NOV-10','27-NOV-10',86.25,'DEVEY','GIUSEPPE',1,1
|
| 404 |
+
90621,'TAA','28-NOV-10','30-NOV-10',86.25,'RENDLEMAN','JULI',1,0
|
| 405 |
+
42000,'TAA','04-DEC-10','11-DEC-10',93.75,'STRINGFELLOW','GEARLDINE',2,0
|
| 406 |
+
33013,'TAA','16-DEC-10','18-DEC-10',67.50,'STYCH','DIA',1,0
|
| 407 |
+
33339,'TAA','22-DEC-10','27-DEC-10',67.50,'WISSINGER','JACQUES',1,0
|
| 408 |
+
54274,'TAA','27-DEC-10','28-DEC-10',75.00,'PEYATT','SHERON',1,0
|
| 409 |
+
84497,'TAA','28-DEC-10','29-DEC-10',75.00,'FRERICKS','RONNY',2,0
|
| 410 |
+
46908,'TAA','29-DEC-10','30-DEC-10',86.25,'PULOS','ROBERTO',1,0
|
| 411 |
+
47108,'TAA','30-DEC-10','12-JAN-11',75.00,'WILCUTT','BLAINE',1,0
|
| 412 |
+
87722,'CAS','01-JAN-10','07-JAN-10',175.00,'GIERLING','TRENT',2,0
|
| 413 |
+
24980,'CAS','07-JAN-10','08-JAN-10',201.25,'GRONDAHL','ELVINA',1,0
|
| 414 |
+
38140,'CAS','22-JAN-10','23-JAN-10',218.75,'KUDRON','CATHERIN',3,0
|
| 415 |
+
75632,'CAS','26-JAN-10','27-JAN-10',148.75,'DONIGAN','GLEN',2,1
|
| 416 |
+
97542,'CAS','27-JAN-10','29-JAN-10',175.00,'GARZONE','EDISON',3,0
|
| 417 |
+
89101,'CAS','29-JAN-10','30-JAN-10',201.25,'GIOVANINI','ROXANE',1,1
|
| 418 |
+
57298,'CAS','30-JAN-10','03-FEB-10',148.75,'KNOP','JEFFRY',1,0
|
| 419 |
+
56797,'CAS','03-FEB-10','05-FEB-10',175.00,'PFEUFFER','VALENTIN',3,0
|
| 420 |
+
32138,'CAS','05-FEB-10','07-FEB-10',175.00,'KOEHNE','YUONNE',3,1
|
| 421 |
+
74036,'CAS','08-FEB-10','14-FEB-10',175.00,'MANTERNACH','ALBERTA',2,0
|
| 422 |
+
90483,'CAS','14-FEB-10','25-FEB-10',175.00,'HUIZINGA','GILBERT',2,1
|
| 423 |
+
83347,'CAS','26-FEB-10','28-FEB-10',201.25,'MCCULLARS','ALEIDA',2,0
|
| 424 |
+
99340,'CAS','04-MAR-10','05-MAR-10',175.00,'DONIGAN','GLEN',3,0
|
| 425 |
+
90569,'CAS','06-MAR-10','07-MAR-10',201.25,'LIBBERTON','SAM',1,0
|
| 426 |
+
36156,'CAS','07-MAR-10','12-MAR-10',175.00,'GUILFOIL','KOREY',2,0
|
| 427 |
+
66494,'CAS','14-MAR-10','18-MAR-10',157.50,'KOLB','ENA',3,0
|
| 428 |
+
11718,'CAS','18-MAR-10','19-MAR-10',157.50,'GLIWSKI','DAN',2,1
|
| 429 |
+
20991,'CAS','19-MAR-10','01-APR-10',201.25,'PLYMEL','STEPHEN',1,0
|
| 430 |
+
92372,'CAS','01-APR-10','03-APR-10',175.00,'GOODHUE','RUSSELL',1,0
|
| 431 |
+
46496,'CAS','08-APR-10','12-APR-10',175.00,'ALWINE','SHAWANDA',3,0
|
| 432 |
+
31695,'CAS','16-APR-10','18-APR-10',148.75,'KEPKE','HAROLD',2,0
|
| 433 |
+
14644,'CAS','23-APR-10','24-APR-10',148.75,'VOLANTE','EMERY',4,0
|
| 434 |
+
12631,'CAS','24-APR-10','26-APR-10',175.00,'ONEEL','PASQUALE',1,0
|
| 435 |
+
83133,'CAS','26-APR-10','27-APR-10',175.00,'JEE','HERMAN',2,2
|
| 436 |
+
93732,'CAS','30-APR-10','02-MAY-10',157.50,'STARE','ELIJAH',1,0
|
| 437 |
+
82884,'CAS','07-MAY-10','08-MAY-10',157.50,'LEVAR','NYLA',2,1
|
| 438 |
+
13192,'CAS','08-MAY-10','15-MAY-10',175.00,'MCCORVEY','JESUS',1,0
|
| 439 |
+
46797,'CAS','15-MAY-10','16-MAY-10',175.00,'VANBLARICUM','CRISTIE',3,1
|
| 440 |
+
93382,'CAS','16-MAY-10','22-MAY-10',175.00,'PACHERO','MAGAN',2,2
|
| 441 |
+
83866,'CAS','01-JUN-10','05-JUN-10',148.75,'BARBER','CALEB',3,0
|
| 442 |
+
70937,'CAS','06-JUN-10','07-JUN-10',148.75,'BERTINI','DYAN',3,0
|
| 443 |
+
92150,'CAS','13-JUN-10','16-JUN-10',157.50,'BOBSEINE','HUMBERTO',1,2
|
| 444 |
+
87631,'CAS','16-JUN-10','23-JUN-10',175.00,'EDEMANN','KACI',1,0
|
| 445 |
+
70863,'CAS','23-JUN-10','05-JUL-10',201.25,'MUHLESTEIN','REINALDO',1,2
|
| 446 |
+
29003,'CAS','05-JUL-10','07-JUL-10',175.00,'MASSER','TROY',1,1
|
| 447 |
+
21050,'CAS','11-JUL-10','17-JUL-10',175.00,'CHATTERJEE','ALFRED',3,0
|
| 448 |
+
59593,'CAS','17-JUL-10','18-JUL-10',218.75,'GRULKEY','JULIO',1,3
|
| 449 |
+
92515,'CAS','18-JUL-10','25-JUL-10',201.25,'LIESTMAN','TOVA',2,0
|
| 450 |
+
80282,'CAS','27-JUL-10','29-JUL-10',157.50,'PETERSON','SHARRI',1,1
|
| 451 |
+
42424,'CAS','01-AUG-10','14-AUG-10',157.50,'SCARPINO','BERNITA',2,0
|
| 452 |
+
19812,'CAS','14-AUG-10','15-AUG-10',157.50,'MCCARTER','IVAN',3,1
|
| 453 |
+
85102,'CAS','15-AUG-10','16-AUG-10',201.25,'GIANOPULOS','LYLA',1,0
|
| 454 |
+
90653,'CAS','16-AUG-10','17-AUG-10',175.00,'SHIYOU','SYLVIE',1,0
|
| 455 |
+
32565,'CAS','21-AUG-10','26-AUG-10',157.50,'KALAFATIS','KEITH',3,0
|
| 456 |
+
28447,'CAS','26-AUG-10','27-AUG-10',175.00,'GEOHAGAN','ISSAC',2,2
|
| 457 |
+
75770,'CAS','27-AUG-10','29-AUG-10',175.00,'TRIGLETH','REYES',3,0
|
| 458 |
+
26380,'CAS','30-AUG-10','31-AUG-10',201.25,'KABZINSKI','MILLIE',1,0
|
| 459 |
+
15059,'CAS','31-AUG-10','07-SEP-10',157.50,'LERCH','NICKY',3,1
|
| 460 |
+
21863,'CAS','07-SEP-10','08-SEP-10',175.00,'ARGOTE','ODELIA',1,0
|
| 461 |
+
62161,'CAS','08-SEP-10','09-SEP-10',157.50,'IKEDA','FREEMAN',1,0
|
| 462 |
+
32781,'CAS','09-SEP-10','15-SEP-10',175.00,'DURAN','BO',2,2
|
| 463 |
+
98805,'CAS','16-SEP-10','18-SEP-10',175.00,'WITHFIELD','IVORY',1,1
|
| 464 |
+
37456,'CAS','18-SEP-10','19-SEP-10',175.00,'BOWEN','NIDA',2,0
|
| 465 |
+
10990,'CAS','21-SEP-10','27-SEP-10',175.00,'TRACHSEL','DAMIEN',1,3
|
| 466 |
+
72813,'CAS','29-SEP-10','03-OCT-10',201.25,'WEINLAND','BEV',3,1
|
| 467 |
+
21216,'CAS','03-OCT-10','04-OCT-10',201.25,'VANNAMAN','ERICH',1,0
|
| 468 |
+
98711,'CAS','08-OCT-10','09-OCT-10',201.25,'ROSSEY','ALLEN',1,0
|
| 469 |
+
88863,'CAS','22-OCT-10','23-OCT-10',175.00,'TOAN','YONG',1,0
|
| 470 |
+
60313,'CAS','28-OCT-10','30-OCT-10',218.75,'SLONE','LARITA',1,1
|
| 471 |
+
80582,'CAS','30-OCT-10','09-NOV-10',201.25,'PFEUFFER','FREDRICK',1,0
|
| 472 |
+
98328,'CAS','14-NOV-10','15-NOV-10',201.25,'MORAWSKI','KRIS',1,3
|
| 473 |
+
16234,'CAS','15-NOV-10','16-NOV-10',157.50,'GRABILL','JULEE',2,0
|
| 474 |
+
32739,'CAS','20-NOV-10','24-NOV-10',148.75,'SHAFE','TUAN',1,2
|
| 475 |
+
94073,'CAS','27-NOV-10','03-DEC-10',175.00,'MANSELL','FLORENTINO',1,0
|
| 476 |
+
32015,'CAS','03-DEC-10','05-DEC-10',201.25,'EADER','JACKIE',2,0
|
| 477 |
+
59986,'CAS','05-DEC-10','09-DEC-10',175.00,'WEINAND','HARRIETT',1,0
|
| 478 |
+
36345,'CAS','10-DEC-10','12-DEC-10',157.50,'TURVAVILLE','TYLER',1,0
|
| 479 |
+
99478,'CAS','29-DEC-10','31-DEC-10',157.50,'WENRICH','ELWOOD',3,0
|
| 480 |
+
93389,'CAS','31-DEC-10','08-JAN-11',218.75,'PELLOWSKI','ELKE',1,0
|
| 481 |
+
32896,'RTE','06-JAN-10','13-JAN-10',157.50,'LUTFY','LIZETTE',1,2
|
| 482 |
+
24412,'RTE','23-JAN-10','30-JAN-10',175.00,'PENEZ','AMIEE',2,0
|
| 483 |
+
76432,'RTE','30-JAN-10','03-FEB-10',148.75,'DIEUDONNE','KRYSTEN',2,2
|
| 484 |
+
62024,'RTE','06-FEB-10','12-FEB-10',157.50,'LUTTRELL','MONTY',1,3
|
| 485 |
+
25374,'RTE','15-FEB-10','17-FEB-10',157.50,'JASPERS','LIBBIE',1,0
|
| 486 |
+
45483,'RTE','17-FEB-10','18-FEB-10',157.50,'JENQUIN','JAY',2,0
|
| 487 |
+
77094,'RTE','23-FEB-10','27-FEB-10',218.75,'DISHAW','CODY',1,2
|
| 488 |
+
93672,'RTE','28-FEB-10','04-MAR-10',148.75,'SOMO','FELICITAS',1,1
|
| 489 |
+
49606,'RTE','04-MAR-10','05-MAR-10',201.25,'YOKUM','GARRY',1,3
|
| 490 |
+
23740,'RTE','07-MAR-10','12-MAR-10',218.75,'NOWLEY','ROMEO',2,0
|
| 491 |
+
14447,'RTE','14-MAR-10','18-MAR-10',201.25,'MAASCH','CHARISSA',2,0
|
| 492 |
+
52353,'RTE','31-MAR-10','07-APR-10',201.25,'WISWELL','JERROD',1,0
|
| 493 |
+
45279,'RTE','08-APR-10','12-APR-10',201.25,'HALBERSTAM','SHERRILL',4,0
|
| 494 |
+
50459,'RTE','14-APR-10','15-APR-10',218.75,'LORENZANO','SON',1,2
|
| 495 |
+
50458,'RTE','18-APR-10','20-APR-10',175.00,'VOLANTE','EMERY',1,2
|
| 496 |
+
98557,'RTE','20-APR-10','21-APR-10',218.75,'MAIDENS','THOMASINE',1,2
|
| 497 |
+
25010,'RTE','22-APR-10','01-MAY-10',201.25,'WESTRUM','TIMMY',2,2
|
| 498 |
+
54061,'RTE','05-MAY-10','12-MAY-10',175.00,'BARTHELL','RICARDA',1,0
|
| 499 |
+
79213,'RTE','17-MAY-10','29-MAY-10',157.50,'NEUZIL','MIREYA',1,3
|
| 500 |
+
34999,'RTE','15-JUN-10','19-JUN-10',175.00,'DANIELLO','RUDOLF',1,1
|
| 501 |
+
37309,'RTE','19-JUN-10','21-JUN-10',175.00,'PERRINO','DENNY',3,1
|
| 502 |
+
48854,'RTE','26-JUN-10','27-JUN-10',175.00,'TROKEY','INGRID',2,0
|
| 503 |
+
22954,'RTE','27-JUN-10','04-JUL-10',157.50,'ALLAIRE','RAMONA',1,1
|
| 504 |
+
14896,'RTE','04-JUL-10','06-JUL-10',148.75,'KUDRON','CATHERIN',1,1
|
| 505 |
+
30186,'RTE','06-JUL-10','07-JUL-10',175.00,'MAKI','ADAN',1,0
|
| 506 |
+
53186,'RTE','09-JUL-10','14-JUL-10',157.50,'MANARD','ARDELIA',1,0
|
| 507 |
+
43707,'RTE','14-JUL-10','16-JUL-10',175.00,'GUT','ALEJANDRA',1,1
|
| 508 |
+
71343,'RTE','19-JUL-10','21-JUL-10',201.25,'TOWBER','MODESTO',1,0
|
| 509 |
+
81785,'RTE','23-JUL-10','24-JUL-10',157.50,'FALT','SHAWN',1,0
|
| 510 |
+
49802,'RTE','30-JUL-10','04-AUG-10',157.50,'CONRAD','ELODIA',1,1
|
| 511 |
+
77535,'RTE','08-AUG-10','12-AUG-10',201.25,'KEBEDE','ARON',1,3
|
| 512 |
+
12142,'RTE','13-AUG-10','23-AUG-10',175.00,'JUNOR','LENNY',3,1
|
| 513 |
+
18398,'RTE','23-AUG-10','24-AUG-10',175.00,'PARAGAS','ALVIN',1,1
|
| 514 |
+
79161,'RTE','24-AUG-10','25-AUG-10',175.00,'RUBERTI','DOMINIC',1,0
|
| 515 |
+
82503,'RTE','27-AUG-10','29-AUG-10',175.00,'RIINA','TATIANA',2,2
|
| 516 |
+
80760,'RTE','03-SEP-10','04-SEP-10',175.00,'DELISSER','COLEMAN',3,1
|
| 517 |
+
42688,'RTE','04-SEP-10','08-SEP-10',148.75,'BRIERTON','MAJOR',1,2
|
| 518 |
+
73364,'RTE','09-SEP-10','10-SEP-10',157.50,'MAROUN','MARTH',1,0
|
| 519 |
+
49609,'RTE','12-SEP-10','17-SEP-10',175.00,'ZEPEDA','ELANA',2,2
|
| 520 |
+
45022,'RTE','20-SEP-10','21-SEP-10',175.00,'PAILET','GIUSEPPE',3,1
|
| 521 |
+
15192,'RTE','22-SEP-10','23-SEP-10',175.00,'JEFFRYES','DANILO',1,0
|
| 522 |
+
15428,'RTE','25-SEP-10','27-SEP-10',175.00,'BROOKSHEAR','NAPOLEON',2,0
|
| 523 |
+
57909,'RTE','02-OCT-10','06-OCT-10',201.25,'OULETTE','ALDO',1,0
|
| 524 |
+
28353,'RTE','06-OCT-10','08-OCT-10',148.75,'PINNELL','ANITA',1,2
|
| 525 |
+
71802,'RTE','23-OCT-10','29-OCT-10',201.25,'GOODHUE','RUSSELL',1,0
|
| 526 |
+
87949,'RTE','02-NOV-10','03-NOV-10',201.25,'SCHWEITZ','DANNETTE',3,1
|
| 527 |
+
19701,'RTE','14-NOV-10','15-NOV-10',201.25,'HOTELLING','REGENIA',1,0
|
| 528 |
+
79296,'RTE','15-NOV-10','17-NOV-10',175.00,'BLACKMORE','APRYL',1,0
|
| 529 |
+
85166,'RTE','17-NOV-10','19-NOV-10',201.25,'RAUGHT','DARON',3,1
|
| 530 |
+
21490,'RTE','23-NOV-10','24-NOV-10',175.00,'PAVLOCK','MARCELO',2,2
|
| 531 |
+
45745,'RTE','29-NOV-10','30-NOV-10',175.00,'MEGGS','CARY',1,0
|
| 532 |
+
83487,'RTE','30-NOV-10','02-DEC-10',175.00,'SHARRER','SHARA',1,0
|
| 533 |
+
38293,'RTE','17-DEC-10','19-DEC-10',157.50,'SCHOSSOW','BO',3,1
|
| 534 |
+
17480,'RTE','22-DEC-10','28-DEC-10',157.50,'DEBARDELABEN','NELL',3,0
|
| 535 |
+
64785,'RTE','28-DEC-10','04-JAN-11',148.75,'MAEWEATHER','AUGUST',3,0
|
| 536 |
+
56517,'FNA','01-JAN-10','04-JAN-10',225.00,'TUPPEN','HANS',1,1
|
| 537 |
+
65186,'FNA','13-JAN-10','15-JAN-10',250.00,'GOSSERAND','CURTIS',2,1
|
| 538 |
+
25966,'FNA','15-JAN-10','17-JAN-10',212.50,'DUMAN','LUKE',3,1
|
| 539 |
+
66899,'FNA','18-JAN-10','19-JAN-10',225.00,'TUNE','MARISSA',1,0
|
| 540 |
+
58779,'FNA','19-JAN-10','21-JAN-10',250.00,'ZENTNER','ROBBIE',1,1
|
| 541 |
+
93918,'FNA','26-JAN-10','31-JAN-10',250.00,'HARDACRE','NEIL',3,0
|
| 542 |
+
51685,'FNA','03-FEB-10','04-FEB-10',250.00,'EIMER','LYNELLE',2,0
|
| 543 |
+
28499,'FNA','04-FEB-10','05-FEB-10',212.50,'DOMINGUEZ','STACEY',1,1
|
| 544 |
+
95600,'FNA','05-FEB-10','07-FEB-10',225.00,'MOUTON','CASANDRA',4,0
|
| 545 |
+
14834,'FNA','07-FEB-10','13-FEB-10',225.00,'WITTROCK','DEBBIE',1,2
|
| 546 |
+
71009,'FNA','18-FEB-10','20-FEB-10',250.00,'OXBORROW','CARLETTA',2,0
|
| 547 |
+
63153,'FNA','20-FEB-10','22-FEB-10',312.50,'TROKEY','INGRID',4,0
|
| 548 |
+
28771,'FNA','26-FEB-10','09-MAR-10',250.00,'MORRISSETTE','FAVIOLA',3,1
|
| 549 |
+
13205,'FNA','14-MAR-10','18-MAR-10',250.00,'VANDOREN','MAJOR',1,0
|
| 550 |
+
72656,'FNA','18-MAR-10','19-MAR-10',250.00,'PICHARD','HOLLIS',1,3
|
| 551 |
+
67292,'FNA','24-MAR-10','28-MAR-10',287.50,'GUEDESSE','SOL',3,0
|
| 552 |
+
22169,'FNA','06-APR-10','07-APR-10',287.50,'SCHUL','HOYT',1,0
|
| 553 |
+
65283,'FNA','08-APR-10','09-APR-10',287.50,'ALLAIRE','RAMONA',2,0
|
| 554 |
+
11631,'FNA','10-APR-10','12-APR-10',312.50,'ESPINO','MARCELINA',2,1
|
| 555 |
+
83396,'FNA','12-APR-10','13-APR-10',250.00,'DRDA','LESTER',1,1
|
| 556 |
+
99863,'FNA','17-APR-10','19-APR-10',250.00,'ARBUCKLE','LORENA',4,0
|
| 557 |
+
54811,'FNA','19-APR-10','20-APR-10',225.00,'KLEVER','ERASMO',2,1
|
| 558 |
+
47352,'FNA','20-APR-10','24-APR-10',225.00,'MARZETT','JOSEPH',1,1
|
| 559 |
+
28691,'FNA','24-APR-10','26-APR-10',225.00,'SLUKA','AIKO',1,1
|
| 560 |
+
73732,'FNA','26-APR-10','28-APR-10',250.00,'RODERICK','JOSLYN',1,0
|
| 561 |
+
26561,'FNA','29-APR-10','03-MAY-10',250.00,'DYDA','DORIAN',2,2
|
| 562 |
+
80964,'FNA','03-MAY-10','10-MAY-10',225.00,'RHYME','QUINN',4,0
|
| 563 |
+
85215,'FNA','14-MAY-10','21-MAY-10',250.00,'TEHNEY','DARRYL',1,0
|
| 564 |
+
60205,'FNA','22-MAY-10','31-MAY-10',225.00,'FRAINE','MANDA',1,1
|
| 565 |
+
37773,'FNA','31-MAY-10','06-JUN-10',312.50,'BOUGIE','MONTE',1,1
|
| 566 |
+
69796,'FNA','09-JUN-10','11-JUN-10',250.00,'LUANGSINGOTHA','WILHELMINA',1,3
|
| 567 |
+
19494,'FNA','12-JUN-10','19-JUN-10',287.50,'VORWERK','DORINE',1,0
|
| 568 |
+
41037,'FNA','19-JUN-10','02-JUL-10',225.00,'DUB','SUZANNE',1,0
|
| 569 |
+
74117,'FNA','02-JUL-10','04-JUL-10',225.00,'HORTILLOSA','FREDDY',1,0
|
| 570 |
+
17338,'FNA','04-JUL-10','05-JUL-10',287.50,'RUBY','QUENTIN',2,2
|
| 571 |
+
71818,'FNA','05-JUL-10','06-JUL-10',250.00,'SALOWITZ','QUEEN',2,1
|
| 572 |
+
99419,'FNA','11-JUL-10','12-JUL-10',250.00,'DALGLEISH','RYAN',4,0
|
| 573 |
+
87412,'FNA','16-JUL-10','22-JUL-10',250.00,'HARE','ELSIE',2,2
|
| 574 |
+
71902,'FNA','27-JUL-10','31-JUL-10',250.00,'ANNABLE','IRA',1,0
|
| 575 |
+
94437,'FNA','31-JUL-10','02-AUG-10',250.00,'SVATEK','KELLY',2,0
|
| 576 |
+
82515,'FNA','02-AUG-10','03-AUG-10',287.50,'ALWINE','SHAWANDA',1,2
|
| 577 |
+
79615,'FNA','03-AUG-10','05-AUG-10',250.00,'CONRAD','ELODIA',1,2
|
| 578 |
+
22615,'FNA','09-AUG-10','10-AUG-10',212.50,'QUISPE','MARGARITO',1,1
|
| 579 |
+
59166,'FNA','20-AUG-10','21-AUG-10',250.00,'TANI','DOMINICK',3,0
|
| 580 |
+
23302,'FNA','21-AUG-10','22-AUG-10',287.50,'CONSTABLE','RASHAD',1,2
|
| 581 |
+
53668,'FNA','22-AUG-10','24-AUG-10',287.50,'FIGUROA','BEN',1,0
|
| 582 |
+
30671,'FNA','29-AUG-10','01-SEP-10',225.00,'KON','DEWAYNE',1,1
|
| 583 |
+
35922,'FNA','01-SEP-10','02-SEP-10',287.50,'SINGERMAN','YAN',1,0
|
| 584 |
+
75457,'FNA','05-SEP-10','07-SEP-10',225.00,'SEGO','HUNG',1,0
|
| 585 |
+
16061,'FNA','11-SEP-10','14-SEP-10',312.50,'ENDLER','ODIS',2,1
|
| 586 |
+
25389,'FNA','19-SEP-10','21-SEP-10',212.50,'INTERRANTE','EMMITT',3,1
|
| 587 |
+
60454,'FNA','06-OCT-10','08-OCT-10',225.00,'GOLSTON','CONSUELA',2,2
|
| 588 |
+
28198,'FNA','08-OCT-10','18-OCT-10',225.00,'SAPORITO','ANDREAS',1,0
|
| 589 |
+
39910,'FNA','19-OCT-10','21-OCT-10',250.00,'KAMINSKY','DANNY',1,0
|
| 590 |
+
92303,'FNA','04-NOV-10','10-NOV-10',287.50,'BRISENDINE','JEWEL',1,0
|
| 591 |
+
26345,'FNA','10-NOV-10','12-NOV-10',250.00,'QUEROS','MAHALIA',1,1
|
| 592 |
+
99236,'FNA','16-NOV-10','17-NOV-10',287.50,'SCHOENING','LEROY',1,1
|
| 593 |
+
85417,'FNA','21-NOV-10','26-NOV-10',225.00,'MULKEY','EMERY',2,0
|
| 594 |
+
10574,'FNA','26-NOV-10','03-DEC-10',287.50,'SWEAZY','ROY',2,1
|
| 595 |
+
29568,'FNA','03-DEC-10','08-DEC-10',225.00,'BOETTNER','REIKO',3,0
|
| 596 |
+
28106,'FNA','11-DEC-10','17-DEC-10',312.50,'VANDERSCHAEGE','MITZIE',2,0
|
| 597 |
+
56373,'FNA','18-DEC-10','20-DEC-10',225.00,'BEGEN','ASHLYN',3,0
|
| 598 |
+
94004,'FNA','21-DEC-10','24-DEC-10',250.00,'JARVI','JOHNNIE',4,0
|
| 599 |
+
28948,'FNA','24-DEC-10','26-DEC-10',287.50,'RUPE','QUIANA',2,0
|
| 600 |
+
71987,'FNA','30-DEC-10','31-DEC-10',250.00,'HARE','ELSIE',2,0
|
| 601 |
+
67409,'FNA','31-DEC-10','04-JAN-11',250.00,'MADRON','DONNIE',2,1
|
test_database/insurance_and_eClaims/schema.sql
ADDED
|
@@ -0,0 +1,164 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PRAGMA foreign_keys = ON;
|
| 2 |
+
CREATE TABLE Customers (
|
| 3 |
+
Customer_ID INTEGER NOT NULL,
|
| 4 |
+
Customer_Details VARCHAR(255) NOT NULL,
|
| 5 |
+
PRIMARY KEY (Customer_ID)
|
| 6 |
+
);
|
| 7 |
+
INSERT INTO `Customers` (`Customer_ID`, `Customer_Details`) VALUES (252, 'America Jaskolski');
|
| 8 |
+
INSERT INTO `Customers` (`Customer_ID`, `Customer_Details`) VALUES (263, 'Ellsworth Paucek');
|
| 9 |
+
INSERT INTO `Customers` (`Customer_ID`, `Customer_Details`) VALUES (334, 'Mrs. Hanna Willms');
|
| 10 |
+
INSERT INTO `Customers` (`Customer_ID`, `Customer_Details`) VALUES (380, 'Dr. Diana Rath');
|
| 11 |
+
INSERT INTO `Customers` (`Customer_ID`, `Customer_Details`) VALUES (430, 'Selena Gerhold');
|
| 12 |
+
INSERT INTO `Customers` (`Customer_ID`, `Customer_Details`) VALUES (435, 'Lauriane Ferry PhD');
|
| 13 |
+
INSERT INTO `Customers` (`Customer_ID`, `Customer_Details`) VALUES (520, 'Sydnie Friesen');
|
| 14 |
+
INSERT INTO `Customers` (`Customer_ID`, `Customer_Details`) VALUES (588, 'Dayana Robel');
|
| 15 |
+
INSERT INTO `Customers` (`Customer_ID`, `Customer_Details`) VALUES (593, 'Mr. Edwardo Blanda I');
|
| 16 |
+
INSERT INTO `Customers` (`Customer_ID`, `Customer_Details`) VALUES (799, 'Augustine Kerluke');
|
| 17 |
+
INSERT INTO `Customers` (`Customer_ID`, `Customer_Details`) VALUES (808, 'Buddy Marquardt');
|
| 18 |
+
INSERT INTO `Customers` (`Customer_ID`, `Customer_Details`) VALUES (810, 'Mr. Randal Lynch III');
|
| 19 |
+
INSERT INTO `Customers` (`Customer_ID`, `Customer_Details`) VALUES (857, 'Mrs. Liza Heller V');
|
| 20 |
+
INSERT INTO `Customers` (`Customer_ID`, `Customer_Details`) VALUES (858, 'Mrs. Lilly Graham III');
|
| 21 |
+
INSERT INTO `Customers` (`Customer_ID`, `Customer_Details`) VALUES (994, 'Miss Felicita Reichel');
|
| 22 |
+
|
| 23 |
+
CREATE TABLE Staff (
|
| 24 |
+
Staff_ID INTEGER NOT NULL,
|
| 25 |
+
Staff_Details VARCHAR(255) NOT NULL,
|
| 26 |
+
PRIMARY KEY (Staff_ID)
|
| 27 |
+
);
|
| 28 |
+
|
| 29 |
+
CREATE TABLE Policies (
|
| 30 |
+
Policy_ID INTEGER NOT NULL,
|
| 31 |
+
Customer_ID INTEGER NOT NULL,
|
| 32 |
+
Policy_Type_Code CHAR(15) NOT NULL,
|
| 33 |
+
Start_Date DATETIME,
|
| 34 |
+
End_Date DATETIME,
|
| 35 |
+
PRIMARY KEY (Policy_ID),
|
| 36 |
+
FOREIGN KEY (Customer_ID) REFERENCES Customers (Customer_ID)
|
| 37 |
+
);
|
| 38 |
+
|
| 39 |
+
|
| 40 |
+
INSERT INTO `Policies` (`Policy_ID`, `Customer_ID`, `Policy_Type_Code`, `Start_Date`, `End_Date`) VALUES (125, 808, 'Deputy', '2018-02-10 08:56:30', '2018-03-18 09:17:26');
|
| 41 |
+
INSERT INTO `Policies` (`Policy_ID`, `Customer_ID`, `Policy_Type_Code`, `Start_Date`, `End_Date`) VALUES (151, 380, 'Jurisdiction', '2017-12-20 06:02:31', '2017-09-16 22:04:13');
|
| 42 |
+
INSERT INTO `Policies` (`Policy_ID`, `Customer_ID`, `Policy_Type_Code`, `Start_Date`, `End_Date`) VALUES (287, 334, 'Jurisdiction', '2017-03-16 18:16:52', '2017-11-24 06:36:51');
|
| 43 |
+
INSERT INTO `Policies` (`Policy_ID`, `Customer_ID`, `Policy_Type_Code`, `Start_Date`, `End_Date`) VALUES (299, 857, 'Uniformed', '2018-03-13 12:30:19', '2018-01-22 05:24:10');
|
| 44 |
+
INSERT INTO `Policies` (`Policy_ID`, `Customer_ID`, `Policy_Type_Code`, `Start_Date`, `End_Date`) VALUES (507, 858, 'Uniformed', '2017-03-19 03:11:19', '2017-11-01 00:41:27');
|
| 45 |
+
INSERT INTO `Policies` (`Policy_ID`, `Customer_ID`, `Policy_Type_Code`, `Start_Date`, `End_Date`) VALUES (518, 808, 'Uniformed', '2016-05-11 14:56:17', '2018-03-15 05:02:00');
|
| 46 |
+
INSERT INTO `Policies` (`Policy_ID`, `Customer_ID`, `Policy_Type_Code`, `Start_Date`, `End_Date`) VALUES (626, 435, 'Uniformed', '2016-05-14 19:09:36', '2018-01-18 06:17:36');
|
| 47 |
+
INSERT INTO `Policies` (`Policy_ID`, `Customer_ID`, `Policy_Type_Code`, `Start_Date`, `End_Date`) VALUES (628, 430, 'Deputy', '2018-09-19 17:22:07', '2018-01-01 23:58:06');
|
| 48 |
+
INSERT INTO `Policies` (`Policy_ID`, `Customer_ID`, `Policy_Type_Code`, `Start_Date`, `End_Date`) VALUES (703, 380, 'Deputy', '2016-06-04 00:10:01', '2018-01-19 22:45:33');
|
| 49 |
+
INSERT INTO `Policies` (`Policy_ID`, `Customer_ID`, `Policy_Type_Code`, `Start_Date`, `End_Date`) VALUES (708, 252, 'Normal', '2018-07-21 10:36:53', '2018-03-07 13:52:47');
|
| 50 |
+
INSERT INTO `Policies` (`Policy_ID`, `Customer_ID`, `Policy_Type_Code`, `Start_Date`, `End_Date`) VALUES (768, 588, 'Uniformed', '2017-01-01 01:48:08', '2017-09-30 03:16:49');
|
| 51 |
+
INSERT INTO `Policies` (`Policy_ID`, `Customer_ID`, `Policy_Type_Code`, `Start_Date`, `End_Date`) VALUES (773, 334, 'Uniformed', '2017-02-11 01:53:11', '2018-01-15 03:23:05');
|
| 52 |
+
INSERT INTO `Policies` (`Policy_ID`, `Customer_ID`, `Policy_Type_Code`, `Start_Date`, `End_Date`) VALUES (780, 435, 'Uniformed', '2016-08-02 01:46:25', '2018-03-03 18:36:22');
|
| 53 |
+
INSERT INTO `Policies` (`Policy_ID`, `Customer_ID`, `Policy_Type_Code`, `Start_Date`, `End_Date`) VALUES (801, 380, 'Uniformed', '2018-09-05 22:15:23', '2018-03-17 10:16:59');
|
| 54 |
+
INSERT INTO `Policies` (`Policy_ID`, `Customer_ID`, `Policy_Type_Code`, `Start_Date`, `End_Date`) VALUES (936, 994, 'Jurisdiction', '2016-07-23 04:08:35', '2017-10-07 08:29:25');
|
| 55 |
+
|
| 56 |
+
|
| 57 |
+
INSERT INTO `Staff` (`Staff_ID`, `Staff_Details`) VALUES (406, 'Clifton');
|
| 58 |
+
INSERT INTO `Staff` (`Staff_ID`, `Staff_Details`) VALUES (427, 'Cathryn');
|
| 59 |
+
INSERT INTO `Staff` (`Staff_ID`, `Staff_Details`) VALUES (510, 'Kaci');
|
| 60 |
+
INSERT INTO `Staff` (`Staff_ID`, `Staff_Details`) VALUES (589, 'Margaretta');
|
| 61 |
+
INSERT INTO `Staff` (`Staff_ID`, `Staff_Details`) VALUES (634, 'Maryse');
|
| 62 |
+
INSERT INTO `Staff` (`Staff_ID`, `Staff_Details`) VALUES (673, 'Roman');
|
| 63 |
+
INSERT INTO `Staff` (`Staff_ID`, `Staff_Details`) VALUES (687, 'Eladio');
|
| 64 |
+
INSERT INTO `Staff` (`Staff_ID`, `Staff_Details`) VALUES (718, 'Vernie');
|
| 65 |
+
INSERT INTO `Staff` (`Staff_ID`, `Staff_Details`) VALUES (735, 'Evans');
|
| 66 |
+
INSERT INTO `Staff` (`Staff_ID`, `Staff_Details`) VALUES (771, 'Bo');
|
| 67 |
+
INSERT INTO `Staff` (`Staff_ID`, `Staff_Details`) VALUES (803, 'Zachery');
|
| 68 |
+
INSERT INTO `Staff` (`Staff_ID`, `Staff_Details`) VALUES (822, 'Julius');
|
| 69 |
+
INSERT INTO `Staff` (`Staff_ID`, `Staff_Details`) VALUES (833, 'Allen');
|
| 70 |
+
INSERT INTO `Staff` (`Staff_ID`, `Staff_Details`) VALUES (986, 'Alexander');
|
| 71 |
+
INSERT INTO `Staff` (`Staff_ID`, `Staff_Details`) VALUES (987, 'Gideon');
|
| 72 |
+
|
| 73 |
+
|
| 74 |
+
CREATE TABLE Claim_Headers (
|
| 75 |
+
Claim_Header_ID INTEGER NOT NULL,
|
| 76 |
+
Claim_Status_Code CHAR(15) NOT NULL,
|
| 77 |
+
Claim_Type_Code CHAR(15) NOT NULL,
|
| 78 |
+
Policy_ID INTEGER NOT NULL,
|
| 79 |
+
Date_of_Claim DATETIME,
|
| 80 |
+
Date_of_Settlement DATETIME,
|
| 81 |
+
Amount_Claimed DECIMAL(20,4),
|
| 82 |
+
Amount_Piad DECIMAL(20,4),
|
| 83 |
+
PRIMARY KEY (Claim_Header_ID),
|
| 84 |
+
FOREIGN KEY (Policy_ID) REFERENCES Policies (Policy_ID)
|
| 85 |
+
);
|
| 86 |
+
INSERT INTO `Claim_Headers` (`Claim_Header_ID`, `Claim_Status_Code`, `Claim_Type_Code`, `Policy_ID`, `Date_of_Claim`, `Date_of_Settlement`, `Amount_Claimed`, `Amount_Piad`) VALUES (15, 'Settled', 'Handphone Subsidy', 518, '2016-05-31 06:07:11', '2018-02-23 03:46:38', '349.1500', '582.0300');
|
| 87 |
+
INSERT INTO `Claim_Headers` (`Claim_Header_ID`, `Claim_Status_Code`, `Claim_Type_Code`, `Policy_ID`, `Date_of_Claim`, `Date_of_Settlement`, `Amount_Claimed`, `Amount_Piad`) VALUES (24, 'Disputed', 'Child Birth', 518, '2016-12-30 21:43:21', '2017-10-08 21:43:14', '318.1600', '309.2000');
|
| 88 |
+
INSERT INTO `Claim_Headers` (`Claim_Header_ID`, `Claim_Status_Code`, `Claim_Type_Code`, `Policy_ID`, `Date_of_Claim`, `Date_of_Settlement`, `Amount_Claimed`, `Amount_Piad`) VALUES (27, 'Disputed', 'Overtime Meal Subsidy', 518, '2017-05-01 13:34:43', '2017-11-16 04:06:05', '362.7100', '132.9700');
|
| 89 |
+
INSERT INTO `Claim_Headers` (`Claim_Header_ID`, `Claim_Status_Code`, `Claim_Type_Code`, `Policy_ID`, `Date_of_Claim`, `Date_of_Settlement`, `Amount_Claimed`, `Amount_Piad`) VALUES (28, 'Disputed', 'Child Birth', 287, '2016-10-01 00:40:00', '2017-10-20 02:24:21', '789.1900', '113.8600');
|
| 90 |
+
INSERT INTO `Claim_Headers` (`Claim_Header_ID`, `Claim_Status_Code`, `Claim_Type_Code`, `Policy_ID`, `Date_of_Claim`, `Date_of_Settlement`, `Amount_Claimed`, `Amount_Piad`) VALUES (34, 'Disputed', 'Handphone Subsidy', 518, '2016-04-10 01:36:18', '2017-10-17 07:02:17', '270.4900', '643.8200');
|
| 91 |
+
INSERT INTO `Claim_Headers` (`Claim_Header_ID`, `Claim_Status_Code`, `Claim_Type_Code`, `Policy_ID`, `Date_of_Claim`, `Date_of_Settlement`, `Amount_Claimed`, `Amount_Piad`) VALUES (39, 'In Progress', 'Handphone Subsidy', 518, '2016-09-17 05:05:07', '2018-01-07 05:28:53', '616.1200', '773.5000');
|
| 92 |
+
INSERT INTO `Claim_Headers` (`Claim_Header_ID`, `Claim_Status_Code`, `Claim_Type_Code`, `Policy_ID`, `Date_of_Claim`, `Date_of_Settlement`, `Amount_Claimed`, `Amount_Piad`) VALUES (45, 'In Progress', 'Handphone Subsidy', 507, '2016-06-12 23:04:58', '2018-01-16 06:35:15', '676.8100', '289.0900');
|
| 93 |
+
INSERT INTO `Claim_Headers` (`Claim_Header_ID`, `Claim_Status_Code`, `Claim_Type_Code`, `Policy_ID`, `Date_of_Claim`, `Date_of_Settlement`, `Amount_Claimed`, `Amount_Piad`) VALUES (56, 'In Progress', 'Handphone Subsidy', 626, '2016-04-09 03:04:29', '2017-11-21 09:06:04', '818.1500', '826.0000');
|
| 94 |
+
INSERT INTO `Claim_Headers` (`Claim_Header_ID`, `Claim_Status_Code`, `Claim_Type_Code`, `Policy_ID`, `Date_of_Claim`, `Date_of_Settlement`, `Amount_Claimed`, `Amount_Piad`) VALUES (62, 'Disputed', 'Child Birth', 626, '2017-07-05 02:54:30', '2018-03-08 13:00:23', '182.7900', '558.7000');
|
| 95 |
+
INSERT INTO `Claim_Headers` (`Claim_Header_ID`, `Claim_Status_Code`, `Claim_Type_Code`, `Policy_ID`, `Date_of_Claim`, `Date_of_Settlement`, `Amount_Claimed`, `Amount_Piad`) VALUES (69, 'In Progress', 'Overtime Meal Subsidy', 626, '2016-12-17 08:28:16', '2017-12-20 09:58:14', '867.5700', '133.7200');
|
| 96 |
+
INSERT INTO `Claim_Headers` (`Claim_Header_ID`, `Claim_Status_Code`, `Claim_Type_Code`, `Policy_ID`, `Date_of_Claim`, `Date_of_Settlement`, `Amount_Claimed`, `Amount_Piad`) VALUES (72, 'Disputed', 'Overtime Meal Subsidy', 626, '2017-07-09 17:06:09', '2017-12-06 15:01:14', '672.0600', '227.8400');
|
| 97 |
+
INSERT INTO `Claim_Headers` (`Claim_Header_ID`, `Claim_Status_Code`, `Claim_Type_Code`, `Policy_ID`, `Date_of_Claim`, `Date_of_Settlement`, `Amount_Claimed`, `Amount_Piad`) VALUES (73, 'Settled', 'Overtime Meal Subsidy', 626, '2016-11-15 13:12:02', '2018-01-21 05:51:01', '228.4500', '794.6300');
|
| 98 |
+
INSERT INTO `Claim_Headers` (`Claim_Header_ID`, `Claim_Status_Code`, `Claim_Type_Code`, `Policy_ID`, `Date_of_Claim`, `Date_of_Settlement`, `Amount_Claimed`, `Amount_Piad`) VALUES (81, 'In Progress', 'Overtime Meal Subsidy', 628, '2016-09-26 04:03:48', '2017-12-20 19:06:12', '783.4200', '779.5900');
|
| 99 |
+
INSERT INTO `Claim_Headers` (`Claim_Header_ID`, `Claim_Status_Code`, `Claim_Type_Code`, `Policy_ID`, `Date_of_Claim`, `Date_of_Settlement`, `Amount_Claimed`, `Amount_Piad`) VALUES (82, 'Settled', 'Overtime Meal Subsidy', 125, '2016-09-29 02:42:22', '2017-12-06 17:10:03', '756.2700', '612.7400');
|
| 100 |
+
INSERT INTO `Claim_Headers` (`Claim_Header_ID`, `Claim_Status_Code`, `Claim_Type_Code`, `Policy_ID`, `Date_of_Claim`, `Date_of_Settlement`, `Amount_Claimed`, `Amount_Piad`) VALUES (90, 'Settled', 'Child Birth', 125, '2016-09-28 18:53:22', '2017-10-17 22:03:17', '425.9800', '536.9900');
|
| 101 |
+
|
| 102 |
+
|
| 103 |
+
CREATE TABLE Claims_Documents (
|
| 104 |
+
Claim_ID INTEGER NOT NULL,
|
| 105 |
+
Document_Type_Code CHAR(15) NOT NULL,
|
| 106 |
+
Created_by_Staff_ID INTEGER,
|
| 107 |
+
Created_Date INTEGER,
|
| 108 |
+
PRIMARY KEY (Claim_ID, Document_Type_Code),
|
| 109 |
+
FOREIGN KEY (Claim_ID) REFERENCES Claim_Headers (Claim_Header_ID),
|
| 110 |
+
FOREIGN KEY (Created_by_Staff_ID) REFERENCES Staff (Staff_ID)
|
| 111 |
+
);
|
| 112 |
+
INSERT INTO `Claims_Documents` (`Claim_ID`, `Document_Type_Code`, `Created_by_Staff_ID`, `Created_Date`) VALUES (24, 'Document', 718, 8);
|
| 113 |
+
INSERT INTO `Claims_Documents` (`Claim_ID`, `Document_Type_Code`, `Created_by_Staff_ID`, `Created_Date`) VALUES (27, 'Document', 986, 6);
|
| 114 |
+
INSERT INTO `Claims_Documents` (`Claim_ID`, `Document_Type_Code`, `Created_by_Staff_ID`, `Created_Date`) VALUES (27, 'Medical', 427, 8);
|
| 115 |
+
INSERT INTO `Claims_Documents` (`Claim_ID`, `Document_Type_Code`, `Created_by_Staff_ID`, `Created_Date`) VALUES (39, 'Document', 803, 2);
|
| 116 |
+
INSERT INTO `Claims_Documents` (`Claim_ID`, `Document_Type_Code`, `Created_by_Staff_ID`, `Created_Date`) VALUES (45, 'Medical', 687, 9);
|
| 117 |
+
INSERT INTO `Claims_Documents` (`Claim_ID`, `Document_Type_Code`, `Created_by_Staff_ID`, `Created_Date`) VALUES (62, 'Document', 673, 3);
|
| 118 |
+
INSERT INTO `Claims_Documents` (`Claim_ID`, `Document_Type_Code`, `Created_by_Staff_ID`, `Created_Date`) VALUES (62, 'Medical', 771, 3);
|
| 119 |
+
INSERT INTO `Claims_Documents` (`Claim_ID`, `Document_Type_Code`, `Created_by_Staff_ID`, `Created_Date`) VALUES (62, 'Photo', 771, 6);
|
| 120 |
+
INSERT INTO `Claims_Documents` (`Claim_ID`, `Document_Type_Code`, `Created_by_Staff_ID`, `Created_Date`) VALUES (69, 'Document', 718, 1);
|
| 121 |
+
INSERT INTO `Claims_Documents` (`Claim_ID`, `Document_Type_Code`, `Created_by_Staff_ID`, `Created_Date`) VALUES (73, 'Document', 986, 2);
|
| 122 |
+
INSERT INTO `Claims_Documents` (`Claim_ID`, `Document_Type_Code`, `Created_by_Staff_ID`, `Created_Date`) VALUES (73, 'Medical', 771, 9);
|
| 123 |
+
INSERT INTO `Claims_Documents` (`Claim_ID`, `Document_Type_Code`, `Created_by_Staff_ID`, `Created_Date`) VALUES (81, 'Photo', 589, 7);
|
| 124 |
+
INSERT INTO `Claims_Documents` (`Claim_ID`, `Document_Type_Code`, `Created_by_Staff_ID`, `Created_Date`) VALUES (82, 'Medical', 803, 9);
|
| 125 |
+
INSERT INTO `Claims_Documents` (`Claim_ID`, `Document_Type_Code`, `Created_by_Staff_ID`, `Created_Date`) VALUES (90, 'Photo', 735, 1);
|
| 126 |
+
|
| 127 |
+
|
| 128 |
+
CREATE TABLE Claims_Processing_Stages (
|
| 129 |
+
Claim_Stage_ID INTEGER NOT NULL,
|
| 130 |
+
Next_Claim_Stage_ID INTEGER,
|
| 131 |
+
Claim_Status_Name VARCHAR(255) NOT NULL,
|
| 132 |
+
Claim_Status_Description VARCHAR(255) NOT NULL,
|
| 133 |
+
PRIMARY KEY (Claim_Stage_ID)
|
| 134 |
+
);
|
| 135 |
+
INSERT INTO `Claims_Processing_Stages` (`Claim_Stage_ID`, `Next_Claim_Stage_ID`, `Claim_Status_Name`, `Claim_Status_Description`) VALUES (1, 1, 'Open', 'Open a new claim');
|
| 136 |
+
INSERT INTO `Claims_Processing_Stages` (`Claim_Stage_ID`, `Next_Claim_Stage_ID`, `Claim_Status_Name`, `Claim_Status_Description`) VALUES (3, 1, 'Close', 'Close a claim');
|
| 137 |
+
|
| 138 |
+
|
| 139 |
+
|
| 140 |
+
CREATE TABLE Claims_Processing (
|
| 141 |
+
Claim_Processing_ID INTEGER NOT NULL,
|
| 142 |
+
Claim_ID INTEGER NOT NULL,
|
| 143 |
+
Claim_Outcome_Code CHAR(15) NOT NULL,
|
| 144 |
+
Claim_Stage_ID INTEGER NOT NULL,
|
| 145 |
+
Staff_ID INTEGER,
|
| 146 |
+
PRIMARY KEY (Claim_Processing_ID),
|
| 147 |
+
FOREIGN KEY (Claim_ID) REFERENCES Claim_Headers (Claim_Header_ID),
|
| 148 |
+
FOREIGN KEY (Staff_ID) REFERENCES Staff (Staff_ID)
|
| 149 |
+
);
|
| 150 |
+
INSERT INTO `Claims_Processing` (`Claim_Processing_ID`, `Claim_ID`, `Claim_Outcome_Code`, `Claim_Stage_ID`, `Staff_ID`) VALUES (118, 28, 'In progress', 1, 771);
|
| 151 |
+
INSERT INTO `Claims_Processing` (`Claim_Processing_ID`, `Claim_ID`, `Claim_Outcome_Code`, `Claim_Stage_ID`, `Staff_ID`) VALUES (145, 62, 'In progress', 1, 589);
|
| 152 |
+
INSERT INTO `Claims_Processing` (`Claim_Processing_ID`, `Claim_ID`, `Claim_Outcome_Code`, `Claim_Stage_ID`, `Staff_ID`) VALUES (213, 27, 'In progress', 1, 589);
|
| 153 |
+
INSERT INTO `Claims_Processing` (`Claim_Processing_ID`, `Claim_ID`, `Claim_Outcome_Code`, `Claim_Stage_ID`, `Staff_ID`) VALUES (221, 45, 'Disputed', 1, 427);
|
| 154 |
+
INSERT INTO `Claims_Processing` (`Claim_Processing_ID`, `Claim_ID`, `Claim_Outcome_Code`, `Claim_Stage_ID`, `Staff_ID`) VALUES (242, 15, 'In progress', 3, 673);
|
| 155 |
+
INSERT INTO `Claims_Processing` (`Claim_Processing_ID`, `Claim_ID`, `Claim_Outcome_Code`, `Claim_Stage_ID`, `Staff_ID`) VALUES (243, 15, 'Settled', 1, 687);
|
| 156 |
+
INSERT INTO `Claims_Processing` (`Claim_Processing_ID`, `Claim_ID`, `Claim_Outcome_Code`, `Claim_Stage_ID`, `Staff_ID`) VALUES (309, 34, 'Disputed', 3, 771);
|
| 157 |
+
INSERT INTO `Claims_Processing` (`Claim_Processing_ID`, `Claim_ID`, `Claim_Outcome_Code`, `Claim_Stage_ID`, `Staff_ID`) VALUES (342, 15, 'In progress', 3, 673);
|
| 158 |
+
INSERT INTO `Claims_Processing` (`Claim_Processing_ID`, `Claim_ID`, `Claim_Outcome_Code`, `Claim_Stage_ID`, `Staff_ID`) VALUES (480, 45, 'In progress', 1, 822);
|
| 159 |
+
INSERT INTO `Claims_Processing` (`Claim_Processing_ID`, `Claim_ID`, `Claim_Outcome_Code`, `Claim_Stage_ID`, `Staff_ID`) VALUES (659, 62, 'Settled', 3, 510);
|
| 160 |
+
INSERT INTO `Claims_Processing` (`Claim_Processing_ID`, `Claim_ID`, `Claim_Outcome_Code`, `Claim_Stage_ID`, `Staff_ID`) VALUES (686, 27, 'Settled', 1, 718);
|
| 161 |
+
INSERT INTO `Claims_Processing` (`Claim_Processing_ID`, `Claim_ID`, `Claim_Outcome_Code`, `Claim_Stage_ID`, `Staff_ID`) VALUES (720, 24, 'In progress', 1, 822);
|
| 162 |
+
INSERT INTO `Claims_Processing` (`Claim_Processing_ID`, `Claim_ID`, `Claim_Outcome_Code`, `Claim_Stage_ID`, `Staff_ID`) VALUES (818, 90, 'Disputed', 3, 986);
|
| 163 |
+
INSERT INTO `Claims_Processing` (`Claim_Processing_ID`, `Claim_ID`, `Claim_Outcome_Code`, `Claim_Stage_ID`, `Staff_ID`) VALUES (833, 81, 'Disputed', 3, 822);
|
| 164 |
+
INSERT INTO `Claims_Processing` (`Claim_Processing_ID`, `Claim_ID`, `Claim_Outcome_Code`, `Claim_Stage_ID`, `Staff_ID`) VALUES (898, 24, 'In progress', 1, 718);
|
test_database/insurance_policies/schema.sql
ADDED
|
@@ -0,0 +1,130 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PRAGMA foreign_keys = ON;
|
| 2 |
+
CREATE TABLE Customers (
|
| 3 |
+
Customer_ID INTEGER NOT NULL,
|
| 4 |
+
Customer_Details VARCHAR(255) NOT NULL,
|
| 5 |
+
PRIMARY KEY (Customer_ID)
|
| 6 |
+
);
|
| 7 |
+
INSERT INTO `Customers` (`Customer_ID`, `Customer_Details`) VALUES (1, 'America Jaskolski');
|
| 8 |
+
INSERT INTO `Customers` (`Customer_ID`, `Customer_Details`) VALUES (2, 'Ellsworth Paucek');
|
| 9 |
+
INSERT INTO `Customers` (`Customer_ID`, `Customer_Details`) VALUES (3, 'Mrs. Hanna Willms');
|
| 10 |
+
INSERT INTO `Customers` (`Customer_ID`, `Customer_Details`) VALUES (4, 'Dr. Diana Rath');
|
| 11 |
+
INSERT INTO `Customers` (`Customer_ID`, `Customer_Details`) VALUES (5, 'Selena Gerhold');
|
| 12 |
+
INSERT INTO `Customers` (`Customer_ID`, `Customer_Details`) VALUES (6, 'Lauriane Ferry PhD');
|
| 13 |
+
INSERT INTO `Customers` (`Customer_ID`, `Customer_Details`) VALUES (7, 'Sydnie Friesen');
|
| 14 |
+
INSERT INTO `Customers` (`Customer_ID`, `Customer_Details`) VALUES (8, 'Dayana Robel');
|
| 15 |
+
INSERT INTO `Customers` (`Customer_ID`, `Customer_Details`) VALUES (9, 'Mr. Edwardo Blanda I');
|
| 16 |
+
INSERT INTO `Customers` (`Customer_ID`, `Customer_Details`) VALUES (10, 'Augustine Kerluke');
|
| 17 |
+
INSERT INTO `Customers` (`Customer_ID`, `Customer_Details`) VALUES (11, 'Buddy Marquardt');
|
| 18 |
+
INSERT INTO `Customers` (`Customer_ID`, `Customer_Details`) VALUES (12, 'Mr. Randal Lynch III');
|
| 19 |
+
INSERT INTO `Customers` (`Customer_ID`, `Customer_Details`) VALUES (13, 'Mrs. Liza Heller V');
|
| 20 |
+
INSERT INTO `Customers` (`Customer_ID`, `Customer_Details`) VALUES (14, 'Mrs. Lilly Graham III');
|
| 21 |
+
INSERT INTO `Customers` (`Customer_ID`, `Customer_Details`) VALUES (15, 'Miss Felicita Reichel');
|
| 22 |
+
|
| 23 |
+
CREATE TABLE Customer_Policies (
|
| 24 |
+
Policy_ID INTEGER NOT NULL,
|
| 25 |
+
Customer_ID INTEGER NOT NULL,
|
| 26 |
+
Policy_Type_Code CHAR(15) NOT NULL,
|
| 27 |
+
Start_Date DATE,
|
| 28 |
+
End_Date DATE,
|
| 29 |
+
PRIMARY KEY (Policy_ID),
|
| 30 |
+
FOREIGN KEY (Customer_ID) REFERENCES Customers (Customer_ID)
|
| 31 |
+
);
|
| 32 |
+
|
| 33 |
+
INSERT INTO `Customer_Policies` (`Policy_ID`, `Customer_ID`, `Policy_Type_Code`, `Start_Date`, `End_Date`) VALUES (119, 1, 'Car', '2018-01-21', '2017-12-15');
|
| 34 |
+
INSERT INTO `Customer_Policies` (`Policy_ID`, `Customer_ID`, `Policy_Type_Code`, `Start_Date`, `End_Date`) VALUES (141, 2, 'Life', '2017-08-21', '2017-09-29');
|
| 35 |
+
INSERT INTO `Customer_Policies` (`Policy_ID`, `Customer_ID`, `Policy_Type_Code`, `Start_Date`, `End_Date`) VALUES (143, 3, 'Car', '2017-06-16', '2017-12-09');
|
| 36 |
+
INSERT INTO `Customer_Policies` (`Policy_ID`, `Customer_ID`, `Policy_Type_Code`, `Start_Date`, `End_Date`) VALUES (218, 4, 'Car', '2017-09-18', '2017-11-23');
|
| 37 |
+
INSERT INTO `Customer_Policies` (`Policy_ID`, `Customer_ID`, `Policy_Type_Code`, `Start_Date`, `End_Date`) VALUES (264, 4, 'Car', '2016-12-25', '2018-01-25');
|
| 38 |
+
INSERT INTO `Customer_Policies` (`Policy_ID`, `Customer_ID`, `Policy_Type_Code`, `Start_Date`, `End_Date`) VALUES (270, 5, 'Life', '2016-07-17', '2018-01-05');
|
| 39 |
+
INSERT INTO `Customer_Policies` (`Policy_ID`, `Customer_ID`, `Policy_Type_Code`, `Start_Date`, `End_Date`) VALUES (352, 6, 'Property', '2016-05-23', '2017-12-09');
|
| 40 |
+
INSERT INTO `Customer_Policies` (`Policy_ID`, `Customer_ID`, `Policy_Type_Code`, `Start_Date`, `End_Date`) VALUES (396, 7, 'Travel', '2017-07-30', '2017-10-09');
|
| 41 |
+
INSERT INTO `Customer_Policies` (`Policy_ID`, `Customer_ID`, `Policy_Type_Code`, `Start_Date`, `End_Date`) VALUES (473, 3, 'Travel', '2017-04-24', '2017-12-14');
|
| 42 |
+
INSERT INTO `Customer_Policies` (`Policy_ID`, `Customer_ID`, `Policy_Type_Code`, `Start_Date`, `End_Date`) VALUES (552, 12, 'Travel', '2017-12-13', '2017-11-05');
|
| 43 |
+
INSERT INTO `Customer_Policies` (`Policy_ID`, `Customer_ID`, `Policy_Type_Code`, `Start_Date`, `End_Date`) VALUES (587, 13, 'Travel', '2017-03-23', '2017-09-01');
|
| 44 |
+
INSERT INTO `Customer_Policies` (`Policy_ID`, `Customer_ID`, `Policy_Type_Code`, `Start_Date`, `End_Date`) VALUES (738, 8, 'Travel', '2018-06-16', '2017-12-04');
|
| 45 |
+
INSERT INTO `Customer_Policies` (`Policy_ID`, `Customer_ID`, `Policy_Type_Code`, `Start_Date`, `End_Date`) VALUES (744, 6, 'Property', '2017-12-01', '2018-03-07');
|
| 46 |
+
INSERT INTO `Customer_Policies` (`Policy_ID`, `Customer_ID`, `Policy_Type_Code`, `Start_Date`, `End_Date`) VALUES (858, 9, 'Property', '2016-05-30', '2018-02-11');
|
| 47 |
+
INSERT INTO `Customer_Policies` (`Policy_ID`, `Customer_ID`, `Policy_Type_Code`, `Start_Date`, `End_Date`) VALUES (900, 2, 'Property', '2017-01-20', '2017-12-11');
|
| 48 |
+
CREATE TABLE Claims (
|
| 49 |
+
Claim_ID INTEGER NOT NULL,
|
| 50 |
+
Policy_ID INTEGER NOT NULL,
|
| 51 |
+
Date_Claim_Made DATE,
|
| 52 |
+
Date_Claim_Settled DATE,
|
| 53 |
+
Amount_Claimed INTEGER,
|
| 54 |
+
Amount_Settled INTEGER,
|
| 55 |
+
PRIMARY KEY (Claim_ID),
|
| 56 |
+
FOREIGN KEY (Policy_ID) REFERENCES Customer_Policies (Policy_ID)
|
| 57 |
+
);
|
| 58 |
+
|
| 59 |
+
INSERT INTO `Claims` (`Claim_ID`, `Policy_ID`, `Date_Claim_Made`, `Date_Claim_Settled`, `Amount_Claimed`, `Amount_Settled`) VALUES (143, 744, '2017-03-11', '2017-11-03', 43884, 1085);
|
| 60 |
+
INSERT INTO `Claims` (`Claim_ID`, `Policy_ID`, `Date_Claim_Made`, `Date_Claim_Settled`, `Amount_Claimed`, `Amount_Settled`) VALUES (423, 552, '2016-08-12', '2018-01-27', 79134, 1724);
|
| 61 |
+
INSERT INTO `Claims` (`Claim_ID`, `Policy_ID`, `Date_Claim_Made`, `Date_Claim_Settled`, `Amount_Claimed`, `Amount_Settled`) VALUES (442, 473, '2017-02-24', '2018-01-21', 70088, 1189);
|
| 62 |
+
INSERT INTO `Claims` (`Claim_ID`, `Policy_ID`, `Date_Claim_Made`, `Date_Claim_Settled`, `Amount_Claimed`, `Amount_Settled`) VALUES (486, 141, '2018-06-14', '2017-12-20', 69696, 1638);
|
| 63 |
+
INSERT INTO `Claims` (`Claim_ID`, `Policy_ID`, `Date_Claim_Made`, `Date_Claim_Settled`, `Amount_Claimed`, `Amount_Settled`) VALUES (546, 744, '2017-05-03', '2017-12-22', 46479, 1091);
|
| 64 |
+
INSERT INTO `Claims` (`Claim_ID`, `Policy_ID`, `Date_Claim_Made`, `Date_Claim_Settled`, `Amount_Claimed`, `Amount_Settled`) VALUES (563, 141, '2016-08-02', '2017-09-04', 41078, 1570);
|
| 65 |
+
INSERT INTO `Claims` (`Claim_ID`, `Policy_ID`, `Date_Claim_Made`, `Date_Claim_Settled`, `Amount_Claimed`, `Amount_Settled`) VALUES (569, 473, '2018-07-15', '2017-11-19', 49743, 930);
|
| 66 |
+
INSERT INTO `Claims` (`Claim_ID`, `Policy_ID`, `Date_Claim_Made`, `Date_Claim_Settled`, `Amount_Claimed`, `Amount_Settled`) VALUES (571, 858, '2017-08-03', '2018-02-18', 89632, 1528);
|
| 67 |
+
INSERT INTO `Claims` (`Claim_ID`, `Policy_ID`, `Date_Claim_Made`, `Date_Claim_Settled`, `Amount_Claimed`, `Amount_Settled`) VALUES (621, 744, '2016-12-18', '2018-01-11', 43708, 1652);
|
| 68 |
+
INSERT INTO `Claims` (`Claim_ID`, `Policy_ID`, `Date_Claim_Made`, `Date_Claim_Settled`, `Amount_Claimed`, `Amount_Settled`) VALUES (761, 473, '2016-08-26', '2017-09-04', 83703, 1372);
|
| 69 |
+
INSERT INTO `Claims` (`Claim_ID`, `Policy_ID`, `Date_Claim_Made`, `Date_Claim_Settled`, `Amount_Claimed`, `Amount_Settled`) VALUES (801, 738, '2017-10-21', '2018-01-05', 3326, 1353);
|
| 70 |
+
INSERT INTO `Claims` (`Claim_ID`, `Policy_ID`, `Date_Claim_Made`, `Date_Claim_Settled`, `Amount_Claimed`, `Amount_Settled`) VALUES (843, 143, '2017-10-14', '2018-02-20', 10209, 1639);
|
| 71 |
+
INSERT INTO `Claims` (`Claim_ID`, `Policy_ID`, `Date_Claim_Made`, `Date_Claim_Settled`, `Amount_Claimed`, `Amount_Settled`) VALUES (935, 143, '2018-07-13', '2017-11-22', 70674, 1637);
|
| 72 |
+
INSERT INTO `Claims` (`Claim_ID`, `Policy_ID`, `Date_Claim_Made`, `Date_Claim_Settled`, `Amount_Claimed`, `Amount_Settled`) VALUES (957, 352, '2018-11-08', '2017-09-15', 38280, 1050);
|
| 73 |
+
INSERT INTO `Claims` (`Claim_ID`, `Policy_ID`, `Date_Claim_Made`, `Date_Claim_Settled`, `Amount_Claimed`, `Amount_Settled`) VALUES (965, 119, '2017-07-17', '2018-03-09', 35824, 1636);
|
| 74 |
+
|
| 75 |
+
|
| 76 |
+
|
| 77 |
+
CREATE TABLE Settlements (
|
| 78 |
+
Settlement_ID INTEGER NOT NULL,
|
| 79 |
+
Claim_ID INTEGER NOT NULL,
|
| 80 |
+
Date_Claim_Made DATE,
|
| 81 |
+
Date_Claim_Settled DATE,
|
| 82 |
+
Amount_Claimed INTEGER,
|
| 83 |
+
Amount_Settled INTEGER,
|
| 84 |
+
Customer_Policy_ID INTEGER NOT NULL,
|
| 85 |
+
PRIMARY KEY (Settlement_ID),
|
| 86 |
+
FOREIGN KEY (Claim_ID) REFERENCES Claims (Claim_ID)
|
| 87 |
+
);
|
| 88 |
+
CREATE TABLE Payments (
|
| 89 |
+
Payment_ID INTEGER NOT NULL,
|
| 90 |
+
Settlement_ID INTEGER NOT NULL,
|
| 91 |
+
Payment_Method_Code VARCHAR(255),
|
| 92 |
+
Date_Payment_Made DATE,
|
| 93 |
+
Amount_Payment INTEGER,
|
| 94 |
+
PRIMARY KEY (Payment_ID),
|
| 95 |
+
FOREIGN KEY (Settlement_ID) REFERENCES Settlements (Settlement_ID)
|
| 96 |
+
);
|
| 97 |
+
|
| 98 |
+
|
| 99 |
+
|
| 100 |
+
INSERT INTO `Settlements` (`Settlement_ID`, `Claim_ID`, `Date_Claim_Made`, `Date_Claim_Settled`, `Amount_Claimed`, `Amount_Settled`, `Customer_Policy_ID`) VALUES (357, 486, '2018-08-07', '2018-01-16', 38543, 1181, 515);
|
| 101 |
+
INSERT INTO `Settlements` (`Settlement_ID`, `Claim_ID`, `Date_Claim_Made`, `Date_Claim_Settled`, `Amount_Claimed`, `Amount_Settled`, `Customer_Policy_ID`) VALUES (412, 621, '2017-08-27', '2018-02-04', 57669, 1427, 617);
|
| 102 |
+
INSERT INTO `Settlements` (`Settlement_ID`, `Claim_ID`, `Date_Claim_Made`, `Date_Claim_Settled`, `Amount_Claimed`, `Amount_Settled`, `Customer_Policy_ID`) VALUES (476, 801, '2016-09-05', '2018-03-02', 30954, 1805, 943);
|
| 103 |
+
INSERT INTO `Settlements` (`Settlement_ID`, `Claim_ID`, `Date_Claim_Made`, `Date_Claim_Settled`, `Amount_Claimed`, `Amount_Settled`, `Customer_Policy_ID`) VALUES (512, 801, '2016-05-18', '2018-02-11', 82506, 1737, 133);
|
| 104 |
+
INSERT INTO `Settlements` (`Settlement_ID`, `Claim_ID`, `Date_Claim_Made`, `Date_Claim_Settled`, `Amount_Claimed`, `Amount_Settled`, `Customer_Policy_ID`) VALUES (516, 563, '2017-05-19', '2017-10-06', 37302, 1767, 638);
|
| 105 |
+
INSERT INTO `Settlements` (`Settlement_ID`, `Claim_ID`, `Date_Claim_Made`, `Date_Claim_Settled`, `Amount_Claimed`, `Amount_Settled`, `Customer_Policy_ID`) VALUES (527, 801, '2018-11-10', '2018-02-15', 25078, 930, 727);
|
| 106 |
+
INSERT INTO `Settlements` (`Settlement_ID`, `Claim_ID`, `Date_Claim_Made`, `Date_Claim_Settled`, `Amount_Claimed`, `Amount_Settled`, `Customer_Policy_ID`) VALUES (558, 569, '2018-05-12', '2017-11-30', 16603, 1516, 536);
|
| 107 |
+
INSERT INTO `Settlements` (`Settlement_ID`, `Claim_ID`, `Date_Claim_Made`, `Date_Claim_Settled`, `Amount_Claimed`, `Amount_Settled`, `Customer_Policy_ID`) VALUES (564, 761, '2016-07-04', '2018-02-20', 62680, 1676, 839);
|
| 108 |
+
INSERT INTO `Settlements` (`Settlement_ID`, `Claim_ID`, `Date_Claim_Made`, `Date_Claim_Settled`, `Amount_Claimed`, `Amount_Settled`, `Customer_Policy_ID`) VALUES (597, 486, '2017-04-18', '2017-12-24', 4456, 1698, 359);
|
| 109 |
+
INSERT INTO `Settlements` (`Settlement_ID`, `Claim_ID`, `Date_Claim_Made`, `Date_Claim_Settled`, `Amount_Claimed`, `Amount_Settled`, `Customer_Policy_ID`) VALUES (616, 957, '2017-07-31', '2018-01-27', 24055, 1262, 590);
|
| 110 |
+
INSERT INTO `Settlements` (`Settlement_ID`, `Claim_ID`, `Date_Claim_Made`, `Date_Claim_Settled`, `Amount_Claimed`, `Amount_Settled`, `Customer_Policy_ID`) VALUES (648, 761, '2017-09-22', '2018-02-14', 32079, 1266, 805);
|
| 111 |
+
INSERT INTO `Settlements` (`Settlement_ID`, `Claim_ID`, `Date_Claim_Made`, `Date_Claim_Settled`, `Amount_Claimed`, `Amount_Settled`, `Customer_Policy_ID`) VALUES (682, 801, '2017-03-04', '2018-02-20', 56850, 1508, 564);
|
| 112 |
+
INSERT INTO `Settlements` (`Settlement_ID`, `Claim_ID`, `Date_Claim_Made`, `Date_Claim_Settled`, `Amount_Claimed`, `Amount_Settled`, `Customer_Policy_ID`) VALUES (756, 571, '2017-04-14', '2017-11-15', 8634, 1293, 448);
|
| 113 |
+
INSERT INTO `Settlements` (`Settlement_ID`, `Claim_ID`, `Date_Claim_Made`, `Date_Claim_Settled`, `Amount_Claimed`, `Amount_Settled`, `Customer_Policy_ID`) VALUES (897, 843, '2017-03-29', '2018-02-20', 20569, 1885, 678);
|
| 114 |
+
INSERT INTO `Settlements` (`Settlement_ID`, `Claim_ID`, `Date_Claim_Made`, `Date_Claim_Settled`, `Amount_Claimed`, `Amount_Settled`, `Customer_Policy_ID`) VALUES (983, 621, '2016-07-19', '2017-11-04', 3864, 1042, 419);
|
| 115 |
+
|
| 116 |
+
INSERT INTO `Payments` (`Payment_ID`, `Settlement_ID`, `Payment_Method_Code`, `Date_Payment_Made`, `Amount_Payment`) VALUES (384, 516, 'MasterCard', '2018-02-16', 241730);
|
| 117 |
+
INSERT INTO `Payments` (`Payment_ID`, `Settlement_ID`, `Payment_Method_Code`, `Date_Payment_Made`, `Amount_Payment`) VALUES (435, 476, 'MasterCard', '2017-05-28', 448613);
|
| 118 |
+
INSERT INTO `Payments` (`Payment_ID`, `Settlement_ID`, `Payment_Method_Code`, `Date_Payment_Made`, `Amount_Payment`) VALUES (484, 516, 'MasterCard', '2017-06-24', 456098);
|
| 119 |
+
INSERT INTO `Payments` (`Payment_ID`, `Settlement_ID`, `Payment_Method_Code`, `Date_Payment_Made`, `Amount_Payment`) VALUES (498, 682, 'Discover Card', '2017-08-06', 38324);
|
| 120 |
+
INSERT INTO `Payments` (`Payment_ID`, `Settlement_ID`, `Payment_Method_Code`, `Date_Payment_Made`, `Amount_Payment`) VALUES (542, 597, 'MasterCard', '2018-01-10', 407235);
|
| 121 |
+
INSERT INTO `Payments` (`Payment_ID`, `Settlement_ID`, `Payment_Method_Code`, `Date_Payment_Made`, `Amount_Payment`) VALUES (559, 512, 'MasterCard', '2018-02-18', 235893);
|
| 122 |
+
INSERT INTO `Payments` (`Payment_ID`, `Settlement_ID`, `Payment_Method_Code`, `Date_Payment_Made`, `Amount_Payment`) VALUES (678, 516, 'Visa', '2017-12-16', 459407);
|
| 123 |
+
INSERT INTO `Payments` (`Payment_ID`, `Settlement_ID`, `Payment_Method_Code`, `Date_Payment_Made`, `Amount_Payment`) VALUES (739, 597, 'Discover Card', '2017-10-07', 71246);
|
| 124 |
+
INSERT INTO `Payments` (`Payment_ID`, `Settlement_ID`, `Payment_Method_Code`, `Date_Payment_Made`, `Amount_Payment`) VALUES (754, 516, 'Visa', '2018-02-24', 7343);
|
| 125 |
+
INSERT INTO `Payments` (`Payment_ID`, `Settlement_ID`, `Payment_Method_Code`, `Date_Payment_Made`, `Amount_Payment`) VALUES (774, 527, 'MasterCard', '2018-01-28', 319142);
|
| 126 |
+
INSERT INTO `Payments` (`Payment_ID`, `Settlement_ID`, `Payment_Method_Code`, `Date_Payment_Made`, `Amount_Payment`) VALUES (779, 564, 'Visa', '2017-05-28', 155654);
|
| 127 |
+
INSERT INTO `Payments` (`Payment_ID`, `Settlement_ID`, `Payment_Method_Code`, `Date_Payment_Made`, `Amount_Payment`) VALUES (791, 983, 'Visa', '2017-05-03', 172309);
|
| 128 |
+
INSERT INTO `Payments` (`Payment_ID`, `Settlement_ID`, `Payment_Method_Code`, `Date_Payment_Made`, `Amount_Payment`) VALUES (886, 516, 'MasterCard', '2017-07-31', 423154);
|
| 129 |
+
INSERT INTO `Payments` (`Payment_ID`, `Settlement_ID`, `Payment_Method_Code`, `Date_Payment_Made`, `Amount_Payment`) VALUES (912, 648, 'Discover Card', '2017-05-04', 123255);
|
| 130 |
+
INSERT INTO `Payments` (`Payment_ID`, `Settlement_ID`, `Payment_Method_Code`, `Date_Payment_Made`, `Amount_Payment`) VALUES (983, 682, 'American Express', '2018-01-19', 177130);
|
test_database/local_govt_in_alabama/local_govt_in_alabama.sqlite
ADDED
|
Binary file (24.6 kB). View file
|
|
|
test_database/local_govt_in_alabama/schema.sql
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PRAGMA foreign_keys = ON;
|
| 2 |
+
|
| 3 |
+
|
| 4 |
+
CREATE TABLE Services (
|
| 5 |
+
Service_ID INTEGER NOT NULL,
|
| 6 |
+
Service_Type_Code CHAR(15) NOT NULL,
|
| 7 |
+
PRIMARY KEY (Service_ID)
|
| 8 |
+
);
|
| 9 |
+
INSERT INTO `Services` (`Service_ID`, `Service_Type_Code`) VALUES (2, 'Marriage');
|
| 10 |
+
INSERT INTO `Services` (`Service_ID`, `Service_Type_Code`) VALUES (5, 'Death Proof');
|
| 11 |
+
INSERT INTO `Services` (`Service_ID`, `Service_Type_Code`) VALUES (6, 'Birth Proof');
|
| 12 |
+
INSERT INTO `Services` (`Service_ID`, `Service_Type_Code`) VALUES (8, 'Property Change');
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
CREATE TABLE Participants (
|
| 16 |
+
Participant_ID INTEGER NOT NULL,
|
| 17 |
+
Participant_Type_Code CHAR(15) NOT NULL,
|
| 18 |
+
Participant_Details VARCHAR(255),
|
| 19 |
+
PRIMARY KEY (Participant_ID)
|
| 20 |
+
);
|
| 21 |
+
INSERT INTO `Participants` (`Participant_ID`, `Participant_Type_Code`, `Participant_Details`) VALUES (9, 'Organizer', 'Karlee Batz');
|
| 22 |
+
INSERT INTO `Participants` (`Participant_ID`, `Participant_Type_Code`, `Participant_Details`) VALUES (26, 'Organizer', 'Vilma Schinner');
|
| 23 |
+
INSERT INTO `Participants` (`Participant_ID`, `Participant_Type_Code`, `Participant_Details`) VALUES (28, 'Organizer', 'Lupe Deckow');
|
| 24 |
+
INSERT INTO `Participants` (`Participant_ID`, `Participant_Type_Code`, `Participant_Details`) VALUES (36, 'Organizer', 'Kenyatta Kuhn');
|
| 25 |
+
INSERT INTO `Participants` (`Participant_ID`, `Participant_Type_Code`, `Participant_Details`) VALUES (37, 'Participant', 'Miss Kaci Lebsack');
|
| 26 |
+
INSERT INTO `Participants` (`Participant_ID`, `Participant_Type_Code`, `Participant_Details`) VALUES (38, 'Organizer', 'Macy Mayer DDS');
|
| 27 |
+
INSERT INTO `Participants` (`Participant_ID`, `Participant_Type_Code`, `Participant_Details`) VALUES (60, 'Participant', 'Dewitt Walter');
|
| 28 |
+
INSERT INTO `Participants` (`Participant_ID`, `Participant_Type_Code`, `Participant_Details`) VALUES (63, 'Participant', 'Prof. Michelle Maggio Jr.');
|
| 29 |
+
INSERT INTO `Participants` (`Participant_ID`, `Participant_Type_Code`, `Participant_Details`) VALUES (64, 'Participant', 'Dr. Jaydon Renner');
|
| 30 |
+
INSERT INTO `Participants` (`Participant_ID`, `Participant_Type_Code`, `Participant_Details`) VALUES (66, 'Participant', 'Justyn Lebsack');
|
| 31 |
+
INSERT INTO `Participants` (`Participant_ID`, `Participant_Type_Code`, `Participant_Details`) VALUES (75, 'Participant', 'Berniece Weimann');
|
| 32 |
+
INSERT INTO `Participants` (`Participant_ID`, `Participant_Type_Code`, `Participant_Details`) VALUES (86, 'Organizer', 'Neil Blick');
|
| 33 |
+
INSERT INTO `Participants` (`Participant_ID`, `Participant_Type_Code`, `Participant_Details`) VALUES (90, 'Participant', 'Dedrick Ebert');
|
| 34 |
+
INSERT INTO `Participants` (`Participant_ID`, `Participant_Type_Code`, `Participant_Details`) VALUES (96, 'Organizer', 'Miss Joyce Cremin');
|
| 35 |
+
INSERT INTO `Participants` (`Participant_ID`, `Participant_Type_Code`, `Participant_Details`) VALUES (98, 'Participant', 'Dr. Kris Deckow');
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
CREATE TABLE Events (
|
| 39 |
+
Event_ID INTEGER NOT NULL,
|
| 40 |
+
Service_ID INTEGER NOT NULL,
|
| 41 |
+
Event_Details VARCHAR(255),
|
| 42 |
+
PRIMARY KEY (Event_ID),
|
| 43 |
+
FOREIGN KEY (Service_ID) REFERENCES Services (Service_ID)
|
| 44 |
+
);
|
| 45 |
+
INSERT INTO `Events` (`Event_ID`, `Service_ID`, `Event_Details`) VALUES (3, 5, 'Success');
|
| 46 |
+
INSERT INTO `Events` (`Event_ID`, `Service_ID`, `Event_Details`) VALUES (8, 8, 'Success');
|
| 47 |
+
INSERT INTO `Events` (`Event_ID`, `Service_ID`, `Event_Details`) VALUES (13, 8, 'Fail');
|
| 48 |
+
INSERT INTO `Events` (`Event_ID`, `Service_ID`, `Event_Details`) VALUES (16, 2, 'Fail');
|
| 49 |
+
INSERT INTO `Events` (`Event_ID`, `Service_ID`, `Event_Details`) VALUES (17, 5, 'Fail');
|
| 50 |
+
INSERT INTO `Events` (`Event_ID`, `Service_ID`, `Event_Details`) VALUES (38, 6, 'Fail');
|
| 51 |
+
INSERT INTO `Events` (`Event_ID`, `Service_ID`, `Event_Details`) VALUES (40, 6, 'Fail');
|
| 52 |
+
INSERT INTO `Events` (`Event_ID`, `Service_ID`, `Event_Details`) VALUES (43, 8, 'Fail');
|
| 53 |
+
INSERT INTO `Events` (`Event_ID`, `Service_ID`, `Event_Details`) VALUES (48, 8, 'Fail');
|
| 54 |
+
INSERT INTO `Events` (`Event_ID`, `Service_ID`, `Event_Details`) VALUES (57, 5, 'Success');
|
| 55 |
+
INSERT INTO `Events` (`Event_ID`, `Service_ID`, `Event_Details`) VALUES (60, 2, 'Fail');
|
| 56 |
+
INSERT INTO `Events` (`Event_ID`, `Service_ID`, `Event_Details`) VALUES (74, 2, 'Success');
|
| 57 |
+
INSERT INTO `Events` (`Event_ID`, `Service_ID`, `Event_Details`) VALUES (80, 5, 'Success');
|
| 58 |
+
INSERT INTO `Events` (`Event_ID`, `Service_ID`, `Event_Details`) VALUES (95, 2, 'Fail');
|
| 59 |
+
INSERT INTO `Events` (`Event_ID`, `Service_ID`, `Event_Details`) VALUES (96, 2, 'Success');
|
| 60 |
+
|
| 61 |
+
|
| 62 |
+
CREATE TABLE Participants_in_Events (
|
| 63 |
+
Event_ID INTEGER NOT NULL,
|
| 64 |
+
Participant_ID INTEGER NOT NULL,
|
| 65 |
+
PRIMARY KEY (Event_ID, Participant_ID),
|
| 66 |
+
FOREIGN KEY (Participant_ID) REFERENCES Participants (Participant_ID),
|
| 67 |
+
FOREIGN KEY (Event_ID) REFERENCES Events (Event_ID)
|
| 68 |
+
);
|
| 69 |
+
INSERT INTO `Participants_in_Events` (`Event_ID`, `Participant_ID`) VALUES (3, 26);
|
| 70 |
+
INSERT INTO `Participants_in_Events` (`Event_ID`, `Participant_ID`) VALUES (3, 66);
|
| 71 |
+
INSERT INTO `Participants_in_Events` (`Event_ID`, `Participant_ID`) VALUES (8, 86);
|
| 72 |
+
INSERT INTO `Participants_in_Events` (`Event_ID`, `Participant_ID`) VALUES (13, 64);
|
| 73 |
+
INSERT INTO `Participants_in_Events` (`Event_ID`, `Participant_ID`) VALUES (13, 90);
|
| 74 |
+
INSERT INTO `Participants_in_Events` (`Event_ID`, `Participant_ID`) VALUES (16, 60);
|
| 75 |
+
INSERT INTO `Participants_in_Events` (`Event_ID`, `Participant_ID`) VALUES (17, 37);
|
| 76 |
+
INSERT INTO `Participants_in_Events` (`Event_ID`, `Participant_ID`) VALUES (17, 66);
|
| 77 |
+
INSERT INTO `Participants_in_Events` (`Event_ID`, `Participant_ID`) VALUES (38, 66);
|
| 78 |
+
INSERT INTO `Participants_in_Events` (`Event_ID`, `Participant_ID`) VALUES (40, 37);
|
| 79 |
+
INSERT INTO `Participants_in_Events` (`Event_ID`, `Participant_ID`) VALUES (40, 86);
|
| 80 |
+
INSERT INTO `Participants_in_Events` (`Event_ID`, `Participant_ID`) VALUES (57, 90);
|
| 81 |
+
INSERT INTO `Participants_in_Events` (`Event_ID`, `Participant_ID`) VALUES (60, 26);
|
| 82 |
+
INSERT INTO `Participants_in_Events` (`Event_ID`, `Participant_ID`) VALUES (80, 36);
|
| 83 |
+
INSERT INTO `Participants_in_Events` (`Event_ID`, `Participant_ID`) VALUES (80, 66);
|
| 84 |
+
INSERT INTO `Participants_in_Events` (`Event_ID`, `Participant_ID`) VALUES (80, 96);
|
| 85 |
+
INSERT INTO `Participants_in_Events` (`Event_ID`, `Participant_ID`) VALUES (95, 63);
|
| 86 |
+
INSERT INTO `Participants_in_Events` (`Event_ID`, `Participant_ID`) VALUES (96, 90);
|
test_database/medicine_enzyme_interaction/schema.sql
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PRAGMA foreign_keys = ON;
|
| 2 |
+
CREATE TABLE "medicine" (
|
| 3 |
+
"id" int,
|
| 4 |
+
"name" text,
|
| 5 |
+
"Trade_Name" text,
|
| 6 |
+
"FDA_approved" text,
|
| 7 |
+
primary key ("id")
|
| 8 |
+
);
|
| 9 |
+
|
| 10 |
+
CREATE TABLE "enzyme" (
|
| 11 |
+
"id" int,
|
| 12 |
+
"name" text,
|
| 13 |
+
"Location" text,
|
| 14 |
+
"Product" text,
|
| 15 |
+
"Chromosome" text,
|
| 16 |
+
"OMIM" int,
|
| 17 |
+
"Porphyria" text,
|
| 18 |
+
primary key ("id")
|
| 19 |
+
);
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
CREATE TABLE "medicine_enzyme_interaction" (
|
| 23 |
+
"enzyme_id" int,
|
| 24 |
+
"medicine_id" int,
|
| 25 |
+
"interaction_type" text,
|
| 26 |
+
primary key ("enzyme_id", "medicine_id"),
|
| 27 |
+
foreign key ("enzyme_id") references `enzyme`("id"),
|
| 28 |
+
foreign key ("medicine_id") references `medicine`("id")
|
| 29 |
+
);
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
INSERT INTO "medicine" VALUES (1,"Amisulpride","Solian","No");
|
| 35 |
+
INSERT INTO "medicine" VALUES (2,"Aripiprazole","Abilify","Yes");
|
| 36 |
+
INSERT INTO "medicine" VALUES (3,"Asenapine","Saphris","Yes");
|
| 37 |
+
INSERT INTO "medicine" VALUES (4,"Blonanserin","Lonasen","No");
|
| 38 |
+
INSERT INTO "medicine" VALUES (5,"Carpipramine","Prazinil","No");
|
| 39 |
+
INSERT INTO "medicine" VALUES (6,"Clocapramine","Clofekton","No");
|
| 40 |
+
INSERT INTO "medicine" VALUES (7,"Clozapine","Clozaril","Yes");
|
| 41 |
+
INSERT INTO "medicine" VALUES (8,"Iloperidone","Fanapt","Yes");
|
| 42 |
+
INSERT INTO "medicine" VALUES (9,"Lurasidone","Latuda","Yes");
|
| 43 |
+
INSERT INTO "medicine" VALUES (10,"Melperone","Buronil","No");
|
| 44 |
+
INSERT INTO "medicine" VALUES (11,"Mosapramine","Cremin","No");
|
| 45 |
+
INSERT INTO "medicine" VALUES (12,"Olanzapine","Zyprexa","Yes");
|
| 46 |
+
INSERT INTO "medicine" VALUES (13,"Paliperidone","Invega","Yes");
|
| 47 |
+
INSERT INTO "medicine" VALUES (14,"Perospirone","Lullan","No");
|
| 48 |
+
INSERT INTO "medicine" VALUES (15,"Quetiapine","Seroquel","Yes");
|
| 49 |
+
INSERT INTO "medicine" VALUES (16,"Remoxipride","Roxiam","No");
|
| 50 |
+
INSERT INTO "medicine" VALUES (17,"Risperidone","Risperdal","Yes");
|
| 51 |
+
INSERT INTO "medicine" VALUES (18,"Sertindole","Serdolect","No");
|
| 52 |
+
INSERT INTO "medicine" VALUES (19,"Sulpiride","Sulpirid","No");
|
| 53 |
+
INSERT INTO "medicine" VALUES (20,"Ziprasidone","Geodon","Yes");
|
| 54 |
+
INSERT INTO "medicine" VALUES (21,"Zotepine","Nipolept","No");
|
| 55 |
+
|
| 56 |
+
INSERT INTO "enzyme" VALUES (1,"ALA synthase","Mitochondrion","δ-Aminolevulinic acid","3p21.1","125290","none");
|
| 57 |
+
INSERT INTO "enzyme" VALUES (2,"ALA dehydratase","Cytosol","Porphobilinogen","9q34","125270","ALA-Dehydratase deficiency");
|
| 58 |
+
INSERT INTO "enzyme" VALUES (3,"PBG deaminase","Cytosol","Hydroxymethyl bilane","11q23.3","176000","acute intermittent porphyria");
|
| 59 |
+
INSERT INTO "enzyme" VALUES (4,"Uroporphyrinogen III synthase","Cytosol","Uroporphyrinogen III","10q25.2-q26.3","606938","congenital erythropoietic porphyria");
|
| 60 |
+
INSERT INTO "enzyme" VALUES (5,"Uroporphyrinogen III decarboxylase","Cytosol","Coproporphyrinogen III","1p34","176100","porphyria cutanea tarda");
|
| 61 |
+
INSERT INTO "enzyme" VALUES (6,"Coproporphyrinogen III oxidase","Mitochondrion","Protoporphyrinogen IX","3q12","121300","coproporphyria");
|
| 62 |
+
INSERT INTO "enzyme" VALUES (7,"Protoporphyrinogen oxidase","Mitochondrion","Protoporphyrin IX","1q22","600923","variegate porphyria");
|
| 63 |
+
INSERT INTO "enzyme" VALUES (8,"Ferrochelatase","Mitochondrion","Heme","18q21.3","177000","erythropoietic protoporphyria");
|
| 64 |
+
|
| 65 |
+
|
| 66 |
+
|
| 67 |
+
INSERT INTO "medicine_enzyme_interaction" VALUES(1,1, "inhibitor");
|
| 68 |
+
INSERT INTO "medicine_enzyme_interaction" VALUES(1,2, "inhibitor");
|
| 69 |
+
INSERT INTO "medicine_enzyme_interaction" VALUES(1,3, "inhibitor");
|
| 70 |
+
INSERT INTO "medicine_enzyme_interaction" VALUES(1,4, "inhibitor");
|
| 71 |
+
INSERT INTO "medicine_enzyme_interaction" VALUES(2,2, "inhibitor");
|
| 72 |
+
INSERT INTO "medicine_enzyme_interaction" VALUES(2,3, "inhibitor");
|
| 73 |
+
INSERT INTO "medicine_enzyme_interaction" VALUES(2,5, "inhibitor");
|
| 74 |
+
INSERT INTO "medicine_enzyme_interaction" VALUES(2,6, "inhibitor");
|
| 75 |
+
INSERT INTO "medicine_enzyme_interaction" VALUES(2,7, "inhibitor");
|
| 76 |
+
INSERT INTO "medicine_enzyme_interaction" VALUES(2,8, "inhibitor");
|
| 77 |
+
INSERT INTO "medicine_enzyme_interaction" VALUES(3,2, "inhibitor");
|
| 78 |
+
INSERT INTO "medicine_enzyme_interaction" VALUES(4,13, "activitor");
|
| 79 |
+
INSERT INTO "medicine_enzyme_interaction" VALUES(4,3, "activitor");
|
| 80 |
+
INSERT INTO "medicine_enzyme_interaction" VALUES(3,8, "activitor");
|
| 81 |
+
INSERT INTO "medicine_enzyme_interaction" VALUES(3,9, "activitor");
|
| 82 |
+
INSERT INTO "medicine_enzyme_interaction" VALUES(4,10, "activitor");
|
| 83 |
+
INSERT INTO "medicine_enzyme_interaction" VALUES(5,20, "activitor");
|
| 84 |
+
INSERT INTO "medicine_enzyme_interaction" VALUES(5,19, "activitor");
|
| 85 |
+
INSERT INTO "medicine_enzyme_interaction" VALUES(6,20, "activitor");
|
| 86 |
+
|
| 87 |
+
|
| 88 |
+
|
| 89 |
+
|
test_database/music_2/schema.sql
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
CREATE TABLE "Songs" (
|
| 4 |
+
"SongId" INTEGER PRIMARY KEY,
|
| 5 |
+
"Title" TEXT
|
| 6 |
+
);
|
| 7 |
+
CREATE TABLE "Albums" (
|
| 8 |
+
"AId" INTEGER PRIMARY KEY,
|
| 9 |
+
"Title" TEXT,
|
| 10 |
+
"Year" INTEGER,
|
| 11 |
+
"Label" TEXT,
|
| 12 |
+
"Type" TEXT );
|
| 13 |
+
CREATE TABLE "Band" (
|
| 14 |
+
"Id" INTEGER PRIMARY KEY,
|
| 15 |
+
"Firstname" TEXT,
|
| 16 |
+
"Lastname" TEXT );
|
| 17 |
+
CREATE TABLE "Instruments" (
|
| 18 |
+
"SongId" INTEGER,
|
| 19 |
+
"BandmateId" INTEGER,
|
| 20 |
+
"Instrument" TEXT ,
|
| 21 |
+
PRIMARY KEY(SongId, BandmateId, Instrument),
|
| 22 |
+
FOREIGN KEY (SongId) REFERENCES Songs(SongId),
|
| 23 |
+
FOREIGN KEY (BandmateId) REFERENCES Band(Id)
|
| 24 |
+
);
|
| 25 |
+
CREATE TABLE "Performance" (
|
| 26 |
+
"SongId" INTEGER,
|
| 27 |
+
"Bandmate" INTEGER,
|
| 28 |
+
"StagePosition" TEXT,
|
| 29 |
+
PRIMARY KEY(SongId, Bandmate),
|
| 30 |
+
FOREIGN KEY (SongId) REFERENCES Songs(SongId),
|
| 31 |
+
FOREIGN KEY (Bandmate) REFERENCES Band(Id)
|
| 32 |
+
);
|
| 33 |
+
CREATE TABLE "Tracklists" (
|
| 34 |
+
"AlbumId" INTEGER,
|
| 35 |
+
"Position" INTEGER,
|
| 36 |
+
"SongId" INTEGER ,
|
| 37 |
+
PRIMARY KEY(AlbumId, Position),
|
| 38 |
+
FOREIGN KEY (SongId) REFERENCES Songs(SongId),
|
| 39 |
+
FOREIGN KEY (AlbumId) REFERENCES Albums(AId)
|
| 40 |
+
);
|
| 41 |
+
CREATE TABLE "Vocals" (
|
| 42 |
+
"SongId" INTEGER,
|
| 43 |
+
"Bandmate" INTEGER,
|
| 44 |
+
"Type" TEXT,
|
| 45 |
+
PRIMARY KEY(SongId, Bandmate),
|
| 46 |
+
FOREIGN KEY (SongId) REFERENCES Songs(SongId),
|
| 47 |
+
FOREIGN KEY (Bandmate) REFERENCES Band(Id)
|
| 48 |
+
);
|
| 49 |
+
|
test_database/music_4/music_4.sqlite
ADDED
|
Binary file (28.7 kB). View file
|
|
|
test_database/music_4/schema.sql
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PRAGMA foreign_keys = ON;
|
| 2 |
+
|
| 3 |
+
CREATE TABLE "artist" (
|
| 4 |
+
"Artist_ID" int,
|
| 5 |
+
"Artist" text,
|
| 6 |
+
"Age" int,
|
| 7 |
+
"Famous_Title" text,
|
| 8 |
+
"Famous_Release_date" text,
|
| 9 |
+
PRIMARY KEY ("Artist_ID")
|
| 10 |
+
);
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
CREATE TABLE "volume" (
|
| 15 |
+
"Volume_ID" int,
|
| 16 |
+
"Volume_Issue" text,
|
| 17 |
+
"Issue_Date" text,
|
| 18 |
+
"Weeks_on_Top" real,
|
| 19 |
+
"Song" text,
|
| 20 |
+
"Artist_ID" int,
|
| 21 |
+
PRIMARY KEY ("Volume_ID"),
|
| 22 |
+
FOREIGN KEY (`Artist_ID`) REFERENCES `artist`(`Artist_ID`)
|
| 23 |
+
);
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
INSERT INTO "artist" VALUES (1,"Gorgoroth",34,"Bergen 1996","November 2007");
|
| 29 |
+
INSERT INTO "artist" VALUES (2,"Ophiolatry",35,"Transmutation","January 21, 2008");
|
| 30 |
+
INSERT INTO "artist" VALUES (3,"Ophiolatry",22,"Antievangelistical Process (re-release)","2009");
|
| 31 |
+
INSERT INTO "artist" VALUES (4,"Black Flame",18,"Imperivm","June 23, 2008");
|
| 32 |
+
INSERT INTO "artist" VALUES (5,"Tangorodrim",35,"Unholy Metal Way (re-release)","2009");
|
| 33 |
+
INSERT INTO "artist" VALUES (6,"Tangorodrim",27,"Those Who Unleashed (re-release)","2009");
|
| 34 |
+
INSERT INTO "artist" VALUES (7,"Triumfall",49,"Antithesis of All Flesh","June 15, 2009");
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
INSERT INTO "volume" VALUES (1,"45:14 §","27 December 1986 - 10 January","3"," The Way",1);
|
| 38 |
+
INSERT INTO "volume" VALUES (2,"45:15","17 January","1"," Everybody Have Fun Tonight ",2);
|
| 39 |
+
INSERT INTO "volume" VALUES (3,"45:16","24 January","1"," Walk Like an Egyptian ",1);
|
| 40 |
+
INSERT INTO "volume" VALUES (4,"45:21-22","28 February - 7 March","2"," Touch Me (I Want Your Body) ",2);
|
| 41 |
+
INSERT INTO "volume" VALUES (5,"46:5","9 May","1"," With or Without You ",1);
|
| 42 |
+
INSERT INTO "volume" VALUES (6,"46:6-8","16 May - 30 May","3"," (I Just) Died in Your Arms ",1);
|
| 43 |
+
INSERT INTO "volume" VALUES (7,"46:9","6 June","1"," La Isla Bonita ",4);
|
| 44 |
+
INSERT INTO "volume" VALUES (8,"46:10","13 June","1","Looking for a New Love",5);
|
| 45 |
+
INSERT INTO "volume" VALUES (9,"46:14-15","11 July - 18 July","2"," Always ",6);
|
| 46 |
+
INSERT INTO "volume" VALUES (10,"46:16","25 July","1","Head to Toe ",5);
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
CREATE TABLE "music_festival" (
|
| 51 |
+
"ID" int,
|
| 52 |
+
"Music_Festival" text,
|
| 53 |
+
"Date_of_ceremony" text,
|
| 54 |
+
"Category" text,
|
| 55 |
+
"Volume" int,
|
| 56 |
+
"Result" text,
|
| 57 |
+
PRIMARY KEY (`ID`),
|
| 58 |
+
FOREIGN KEY (`Volume`) REFERENCES `volume`(`Volume_ID`)
|
| 59 |
+
);
|
| 60 |
+
|
| 61 |
+
INSERT INTO "music_festival" VALUES (1,"34th England Academy Prize","18 February 2011","Best Song",1,"Nominated");
|
| 62 |
+
INSERT INTO "music_festival" VALUES (2,"34th Japan Academy Prize","18 February 2011","Best Lyrics",2,"Nominated");
|
| 63 |
+
INSERT INTO "music_festival" VALUES (3,"34th European Academy Prize","18 February 2011","Best Song",3,"Awarded");
|
| 64 |
+
INSERT INTO "music_festival" VALUES (4,"36th Japan Academy Prize","18 February 2011","Best Song",4,"Awarded");
|
| 65 |
+
INSERT INTO "music_festival" VALUES (5,"34th USA Academy Prize","18 February 2011","Best Song",5,"Nominated");
|
| 66 |
+
INSERT INTO "music_festival" VALUES (6,"40th Japan Academy Prize","18 February 2011","Best Song",6,"Nominated");
|
| 67 |
+
INSERT INTO "music_festival" VALUES (7,"37th Sweden Academy Prize","18 February 2011","Best Lyrics",7,"Nominated");
|
| 68 |
+
INSERT INTO "music_festival" VALUES (8,"37th Canadian Academy Prize","18 February 2011","Best Lyrics",8,"Nominated");
|
| 69 |
+
INSERT INTO "music_festival" VALUES (9,"35th China Academy Prize","18 February 2011","Best Sound Song",9,"Awarded");
|
test_database/network_1/network_1.sqlite
ADDED
|
Binary file (28.7 kB). View file
|
|
|
test_database/network_1/schema.sql
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
-- dbext:type=SQLITE:dbname=social.db
|
| 2 |
+
|
| 3 |
+
/* Delete the tables if they already exist */
|
| 4 |
+
drop table if exists Highschooler;
|
| 5 |
+
drop table if exists Friend;
|
| 6 |
+
drop table if exists Likes;
|
| 7 |
+
|
| 8 |
+
/* Create the schema for our tables */
|
| 9 |
+
create table Highschooler(
|
| 10 |
+
ID int primary key,
|
| 11 |
+
name text,
|
| 12 |
+
grade int);
|
| 13 |
+
create table Friend(
|
| 14 |
+
student_id int,
|
| 15 |
+
friend_id int,
|
| 16 |
+
primary key (student_id,friend_id),
|
| 17 |
+
foreign key(student_id) references Highschooler(ID),
|
| 18 |
+
foreign key (friend_id) references Highschooler(ID)
|
| 19 |
+
);
|
| 20 |
+
create table Likes(
|
| 21 |
+
student_id int,
|
| 22 |
+
liked_id int,
|
| 23 |
+
primary key (student_id, liked_id),
|
| 24 |
+
foreign key (liked_id) references Highschooler(ID),
|
| 25 |
+
foreign key (student_id) references Highschooler(ID)
|
| 26 |
+
);
|
| 27 |
+
|
| 28 |
+
/* Populate the tables with our data */
|
| 29 |
+
insert into Highschooler values (1510, 'Jordan', 9);
|
| 30 |
+
insert into Highschooler values (1689, 'Gabriel', 9);
|
| 31 |
+
insert into Highschooler values (1381, 'Tiffany', 9);
|
| 32 |
+
insert into Highschooler values (1709, 'Cassandra', 9);
|
| 33 |
+
insert into Highschooler values (1101, 'Haley', 10);
|
| 34 |
+
insert into Highschooler values (1782, 'Andrew', 10);
|
| 35 |
+
insert into Highschooler values (1468, 'Kris', 10);
|
| 36 |
+
insert into Highschooler values (1641, 'Brittany', 10);
|
| 37 |
+
insert into Highschooler values (1247, 'Alexis', 11);
|
| 38 |
+
insert into Highschooler values (1316, 'Austin', 11);
|
| 39 |
+
insert into Highschooler values (1911, 'Gabriel', 11);
|
| 40 |
+
insert into Highschooler values (1501, 'Jessica', 11);
|
| 41 |
+
insert into Highschooler values (1304, 'Jordan', 12);
|
| 42 |
+
insert into Highschooler values (1025, 'John', 12);
|
| 43 |
+
insert into Highschooler values (1934, 'Kyle', 12);
|
| 44 |
+
insert into Highschooler values (1661, 'Logan', 12);
|
| 45 |
+
|
| 46 |
+
insert into Friend values (1510, 1381);
|
| 47 |
+
insert into Friend values (1510, 1689);
|
| 48 |
+
insert into Friend values (1689, 1709);
|
| 49 |
+
insert into Friend values (1381, 1247);
|
| 50 |
+
insert into Friend values (1709, 1247);
|
| 51 |
+
insert into Friend values (1689, 1782);
|
| 52 |
+
insert into Friend values (1782, 1468);
|
| 53 |
+
insert into Friend values (1782, 1316);
|
| 54 |
+
insert into Friend values (1782, 1304);
|
| 55 |
+
insert into Friend values (1468, 1101);
|
| 56 |
+
insert into Friend values (1468, 1641);
|
| 57 |
+
insert into Friend values (1101, 1641);
|
| 58 |
+
insert into Friend values (1247, 1911);
|
| 59 |
+
insert into Friend values (1247, 1501);
|
| 60 |
+
insert into Friend values (1911, 1501);
|
| 61 |
+
insert into Friend values (1501, 1934);
|
| 62 |
+
insert into Friend values (1316, 1934);
|
| 63 |
+
insert into Friend values (1934, 1304);
|
| 64 |
+
insert into Friend values (1304, 1661);
|
| 65 |
+
insert into Friend values (1661, 1025);
|
| 66 |
+
|
| 67 |
+
insert into Likes values(1689, 1709);
|
| 68 |
+
insert into Likes values(1709, 1689);
|
| 69 |
+
insert into Likes values(1782, 1709);
|
| 70 |
+
insert into Likes values(1911, 1247);
|
| 71 |
+
insert into Likes values(1247, 1468);
|
| 72 |
+
insert into Likes values(1641, 1468);
|
| 73 |
+
insert into Likes values(1316, 1304);
|
| 74 |
+
insert into Likes values(1501, 1934);
|
| 75 |
+
insert into Likes values(1934, 1501);
|
| 76 |
+
insert into Likes values(1025, 1101);
|
test_database/poker_player/schema.sql
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PRAGMA foreign_keys = ON;
|
| 2 |
+
|
| 3 |
+
CREATE TABLE "poker_player" (
|
| 4 |
+
"Poker_Player_ID" int,
|
| 5 |
+
"People_ID" int,
|
| 6 |
+
"Final_Table_Made" real,
|
| 7 |
+
"Best_Finish" real,
|
| 8 |
+
"Money_Rank" real,
|
| 9 |
+
"Earnings" real,
|
| 10 |
+
PRIMARY KEY ("Poker_Player_ID"),
|
| 11 |
+
FOREIGN KEY ("People_ID") REFERENCES `people`("People_ID")
|
| 12 |
+
);
|
| 13 |
+
|
| 14 |
+
CREATE TABLE "people" (
|
| 15 |
+
"People_ID" int,
|
| 16 |
+
"Nationality" text,
|
| 17 |
+
"Name" text,
|
| 18 |
+
"Birth_Date" text,
|
| 19 |
+
"Height" real,
|
| 20 |
+
PRIMARY KEY ("People_ID")
|
| 21 |
+
);
|
| 22 |
+
|
| 23 |
+
INSERT INTO "people" VALUES ("1","Russia","Aleksey Ostapenko","May 26, 1986","207");
|
| 24 |
+
INSERT INTO "people" VALUES ("2","Bulgaria","Teodor Salparov","August 16, 1982","182");
|
| 25 |
+
INSERT INTO "people" VALUES ("3","Russia","Roman Bragin","April 17, 1987","187");
|
| 26 |
+
INSERT INTO "people" VALUES ("4","Russia","Sergey Grankin","January 22, 1987","193");
|
| 27 |
+
INSERT INTO "people" VALUES ("5","Russia","Yevgeni Sivozhelez","August 8, 1986","196");
|
| 28 |
+
INSERT INTO "people" VALUES ("6","Russia","Maksim Botin","July 14, 1983","194");
|
| 29 |
+
INSERT INTO "people" VALUES ("7","Russia","Semen Poltavskiy","February 8, 1981","205");
|
| 30 |
+
|
| 31 |
+
INSERT INTO "poker_player" VALUES (1,1,"42","1","68","476090");
|
| 32 |
+
INSERT INTO "poker_player" VALUES (2,2,"10","2","141","189233");
|
| 33 |
+
INSERT INTO "poker_player" VALUES (3,5,"21","1","166","104871");
|
| 34 |
+
INSERT INTO "poker_player" VALUES (4,6,"19","2","58","596462");
|
| 35 |
+
INSERT INTO "poker_player" VALUES (5,7,"26","3","154","142800");
|
test_database/protein_institute/protein_institute.sqlite
ADDED
|
Binary file (28.7 kB). View file
|
|
|
test_database/school_bus/schema.sql
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
PRAGMA foreign_keys = ON;
|
| 3 |
+
|
| 4 |
+
CREATE TABLE "driver" (
|
| 5 |
+
"Driver_ID" int,
|
| 6 |
+
"Name" text,
|
| 7 |
+
"Party" text,
|
| 8 |
+
"Home_city" text,
|
| 9 |
+
"Age" int,
|
| 10 |
+
PRIMARY KEY ("Driver_ID")
|
| 11 |
+
);
|
| 12 |
+
|
| 13 |
+
CREATE TABLE "school" (
|
| 14 |
+
"School_ID" int,
|
| 15 |
+
"Grade" text,
|
| 16 |
+
"School" text,
|
| 17 |
+
"Location" text,
|
| 18 |
+
"Type" text,
|
| 19 |
+
PRIMARY KEY ("School_ID")
|
| 20 |
+
);
|
| 21 |
+
|
| 22 |
+
INSERT INTO "driver" VALUES ("1","Matthew Ritter","Dem","Hartford",40);
|
| 23 |
+
INSERT INTO "driver" VALUES ("2","Dan Carter","Rep","Bethel",30);
|
| 24 |
+
INSERT INTO "driver" VALUES ("3","Minnie Gonzalez","Dem","Hartford",46);
|
| 25 |
+
INSERT INTO "driver" VALUES ("4","Angel Acre","Dem","Hartford",42);
|
| 26 |
+
INSERT INTO "driver" VALUES ("5","Brandon McGee","Dem","Hartford",45);
|
| 27 |
+
INSERT INTO "driver" VALUES ("6","Edwin Vargas","Dem","Hartford",52);
|
| 28 |
+
INSERT INTO "driver" VALUES ("7","Douglas McCrory","Dem","Hartford",36);
|
| 29 |
+
INSERT INTO "driver" VALUES ("8","Timothy Ackert","Rep","Coventry",35);
|
| 30 |
+
INSERT INTO "driver" VALUES ("9","Jason Rojas","Dem","East Hartford",38);
|
| 31 |
+
INSERT INTO "driver" VALUES ("10","Henry Genga","Dem","East Hartford",37);
|
| 32 |
+
INSERT INTO "driver" VALUES ("11","Tim Larson","Dem","East Hartford",36);
|
| 33 |
+
INSERT INTO "driver" VALUES ("12","Geoff Luxenberg","Dem","Manchester",52);
|
| 34 |
+
|
| 35 |
+
INSERT INTO "school" VALUES (1,"Kindergarten","Noelani Elementary School","Honolulu, Hawaii","Public");
|
| 36 |
+
INSERT INTO "school" VALUES (2,"1st-3rd grade","St. Francis Assisi","Jakarta, Indonesia","Private Catholic");
|
| 37 |
+
INSERT INTO "school" VALUES (3,"4th grade","State Elementary School Menteng 01","Jakarta, Indonesia","Public");
|
| 38 |
+
INSERT INTO "school" VALUES (4,"5th-12th grade","Punahou School","Honolulu, Hawaii","Private");
|
| 39 |
+
INSERT INTO "school" VALUES (5,"Freshman–Sophomore year","Occidental College","Los Angeles, California","Private");
|
| 40 |
+
INSERT INTO "school" VALUES (6,"Junior–Senior year","Columbia University","New York City","Private");
|
| 41 |
+
INSERT INTO "school" VALUES (7,"College","Harvard Law School","Cambridge, Massachusetts","Private");
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
|
| 45 |
+
CREATE TABLE "school_bus" (
|
| 46 |
+
"School_ID" int,
|
| 47 |
+
"Driver_ID" int,
|
| 48 |
+
"Years_Working" int,
|
| 49 |
+
"If_full_time" bool,
|
| 50 |
+
PRIMARY KEY ("School_ID","Driver_ID"),
|
| 51 |
+
FOREIGN KEY ("School_ID") REFERENCES `school`("School_ID"),
|
| 52 |
+
FOREIGN KEY ("Driver_ID") REFERENCES `driver`("Driver_ID")
|
| 53 |
+
);
|
| 54 |
+
|
| 55 |
+
|
| 56 |
+
INSERT INTO "school_bus" VALUES (1,10,10,"F");
|
| 57 |
+
INSERT INTO "school_bus" VALUES (5,7,8,"T");
|
| 58 |
+
INSERT INTO "school_bus" VALUES (3,4,6,"T");
|
| 59 |
+
INSERT INTO "school_bus" VALUES (7,9,2,"T");
|
| 60 |
+
INSERT INTO "school_bus" VALUES (4,3,3,"T");
|
| 61 |
+
|
test_database/school_bus/school_bus.sqlite
ADDED
|
Binary file (28.7 kB). View file
|
|
|
test_database/small_bank_1/small_bank_1.sqlite
ADDED
|
Binary file (28.7 kB). View file
|
|
|
test_database/sports_competition/schema.sql
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
PRAGMA foreign_keys = ON;
|
| 3 |
+
|
| 4 |
+
CREATE TABLE "club" (
|
| 5 |
+
"Club_ID" int,
|
| 6 |
+
"name" text,
|
| 7 |
+
"Region" text,
|
| 8 |
+
"Start_year" text,
|
| 9 |
+
PRIMARY KEY ("Club_ID")
|
| 10 |
+
);
|
| 11 |
+
|
| 12 |
+
INSERT INTO "club" VALUES (1,"AIB","USA","2009");
|
| 13 |
+
INSERT INTO "club" VALUES (2,"BK Slide","UK","1998");
|
| 14 |
+
INSERT INTO "club" VALUES (3,"IFG","China","2005");
|
| 15 |
+
INSERT INTO "club" VALUES (4,"ASC","Japan","2001");
|
| 16 |
+
INSERT INTO "club" VALUES (5,"HGS2","England","2000");
|
| 17 |
+
INSERT INTO "club" VALUES (6,"HSBIF","Brazil","2011");
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
CREATE TABLE "club_rank" (
|
| 21 |
+
"Rank" real,
|
| 22 |
+
"Club_ID" int,
|
| 23 |
+
"Gold" real,
|
| 24 |
+
"Silver" real,
|
| 25 |
+
"Bronze" real,
|
| 26 |
+
"Total" real,
|
| 27 |
+
PRIMARY KEY ("Rank","Club_ID")
|
| 28 |
+
FOREIGN KEY (`Club_ID`) REFERENCES `club`(`Club_ID`)
|
| 29 |
+
);
|
| 30 |
+
|
| 31 |
+
CREATE TABLE "player" (
|
| 32 |
+
"Player_ID" int,
|
| 33 |
+
"name" text,
|
| 34 |
+
"Position" text,
|
| 35 |
+
"Club_ID" int,
|
| 36 |
+
"Apps" real,
|
| 37 |
+
"Tries" real,
|
| 38 |
+
"Goals" text,
|
| 39 |
+
"Points" real,
|
| 40 |
+
PRIMARY KEY ("Player_ID"),
|
| 41 |
+
FOREIGN KEY (`Club_ID`) REFERENCES `club`(`Club_ID`)
|
| 42 |
+
);
|
| 43 |
+
|
| 44 |
+
CREATE TABLE "competition" (
|
| 45 |
+
"Competition_ID" int,
|
| 46 |
+
"Year" real,
|
| 47 |
+
"Competition_type" text,
|
| 48 |
+
"Country" text,
|
| 49 |
+
PRIMARY KEY ("Competition_ID")
|
| 50 |
+
);
|
| 51 |
+
|
| 52 |
+
INSERT INTO "club_rank" VALUES ("1",2,"11","11","9","31");
|
| 53 |
+
INSERT INTO "club_rank" VALUES ("2",3,"8","7","6","21");
|
| 54 |
+
INSERT INTO "club_rank" VALUES ("3",1,"7","4","2","13");
|
| 55 |
+
INSERT INTO "club_rank" VALUES ("4",4,"4","2","6","12");
|
| 56 |
+
INSERT INTO "club_rank" VALUES ("5",5,"3","3","0","6");
|
| 57 |
+
INSERT INTO "club_rank" VALUES ("6",6,"2","1","0","3");
|
| 58 |
+
|
| 59 |
+
INSERT INTO "player" VALUES (1,"Michael Platt","Full Back",1,"20","5","0","20");
|
| 60 |
+
INSERT INTO "player" VALUES (2,"Dave Halley","Right Wing",2,"23","9","0","36");
|
| 61 |
+
INSERT INTO "player" VALUES (3,"James Evans","Right Centre",1,"30","9","0","36");
|
| 62 |
+
INSERT INTO "player" VALUES (4,"Tame Tupou","Left Wing",2,"10","3","0","12");
|
| 63 |
+
INSERT INTO "player" VALUES (5,"Iestyn Harris","Stand Off",4,"27","3","50/60","110");
|
| 64 |
+
INSERT INTO "player" VALUES (6,"Paul Deacon (c)","Scrum Half",4,"20","3","90/106","188");
|
| 65 |
+
INSERT INTO "player" VALUES (7,"Joe Vagana","Prop",5,"19","1","0/1","4");
|
| 66 |
+
INSERT INTO "player" VALUES (8,"Terry Newton","Hooker",5,"26","9","0","36");
|
| 67 |
+
INSERT INTO "player" VALUES (9,"Andy Lynch","Prop",2,"29","5","0","20");
|
| 68 |
+
INSERT INTO "player" VALUES (10,"David Solomona","Second Row",2,"24","5","0","20");
|
| 69 |
+
INSERT INTO "player" VALUES (11,"Glenn Morrison (vc)","Second Row",2,"14","6","0","24");
|
| 70 |
+
INSERT INTO "player" VALUES (12,"Jamie Langley (vc)","Loose Forward",2,"28","2","0","8");
|
| 71 |
+
INSERT INTO "player" VALUES (13,"Chris Feather","Prop",3,"13","1","0","4");
|
| 72 |
+
INSERT INTO "player" VALUES (14,"Matt Cook","Second Row",4,"17","4","0","16");
|
| 73 |
+
INSERT INTO "player" VALUES (15,"Sam Burgess","Loose Forward",4,"23","8","0","32");
|
| 74 |
+
|
| 75 |
+
INSERT INTO "competition" VALUES (1,"2006","Friendly","Italy");
|
| 76 |
+
INSERT INTO "competition" VALUES (2,"2006","Friendly","Spain");
|
| 77 |
+
INSERT INTO "competition" VALUES (3,"2006","Friendly","Australia");
|
| 78 |
+
INSERT INTO "competition" VALUES (4,"2006","Friendly","Russia");
|
| 79 |
+
INSERT INTO "competition" VALUES (5,"2007","Friendly","Russia");
|
| 80 |
+
INSERT INTO "competition" VALUES (6,"2007","Friendly","Australia");
|
| 81 |
+
INSERT INTO "competition" VALUES (7,"2007","Tournament","Russia");
|
| 82 |
+
INSERT INTO "competition" VALUES (8,"2007","Tournament","Slovenia");
|
| 83 |
+
INSERT INTO "competition" VALUES (9,"2007","Tournament","Slovenia");
|
| 84 |
+
INSERT INTO "competition" VALUES (10,"2007","Friendly","Italy");
|
| 85 |
+
INSERT INTO "competition" VALUES (11,"2007","Friendly","Ireland");
|
| 86 |
+
|
| 87 |
+
CREATE TABLE "competition_result" (
|
| 88 |
+
"Competition_ID" int,
|
| 89 |
+
"Club_ID_1" int,
|
| 90 |
+
"Club_ID_2" int,
|
| 91 |
+
"Score" text,
|
| 92 |
+
PRIMARY KEY ("Competition_ID","Club_ID_1","Club_ID_2"),
|
| 93 |
+
FOREIGN KEY (`Club_ID_1`) REFERENCES `club`(`Club_ID`),
|
| 94 |
+
FOREIGN KEY (`Club_ID_2`) REFERENCES `club`(`Club_ID`),
|
| 95 |
+
FOREIGN KEY (`Competition_ID`) REFERENCES `competition`(`Competition_ID`)
|
| 96 |
+
);
|
| 97 |
+
|
| 98 |
+
|
| 99 |
+
INSERT INTO "competition_result" VALUES (1,1,2,"11:10");
|
| 100 |
+
INSERT INTO "competition_result" VALUES (2,3,2,"25:2");
|
| 101 |
+
INSERT INTO "competition_result" VALUES (10,4,2,"13:10");
|
| 102 |
+
INSERT INTO "competition_result" VALUES (4,1,2,"12:9");
|
| 103 |
+
INSERT INTO "competition_result" VALUES (5,1,4,"10:3");
|
| 104 |
+
INSERT INTO "competition_result" VALUES (6,1,6,"10:11");
|
test_database/sports_competition/sports_competition.sqlite
ADDED
|
Binary file (45.1 kB). View file
|
|
|
test_database/student_1/student_1.sqlite
ADDED
|
Binary file (20.5 kB). View file
|
|
|
test_database/swimming/schema.sql
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
PRAGMA foreign_keys = ON;
|
| 3 |
+
|
| 4 |
+
CREATE TABLE "swimmer" (
|
| 5 |
+
"ID" int,
|
| 6 |
+
"name" text,
|
| 7 |
+
"Nationality" text,
|
| 8 |
+
"meter_100" real,
|
| 9 |
+
"meter_200" text,
|
| 10 |
+
"meter_300" text,
|
| 11 |
+
"meter_400" text,
|
| 12 |
+
"meter_500" text,
|
| 13 |
+
"meter_600" text,
|
| 14 |
+
"meter_700" text,
|
| 15 |
+
"Time" text,
|
| 16 |
+
PRIMARY KEY ("ID")
|
| 17 |
+
);
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
INSERT INTO "swimmer" VALUES ("7","Przemysław Stańczyk","Poland","57.31","1:57.10","2:56.02","3:55.36","4:54.21","5:52.59","6:50.91","7:47.91");
|
| 22 |
+
INSERT INTO "swimmer" VALUES ("4","Craig Stevens","Australia","57.35","1:56.34","2:55.90","3:55.72","4:55.08","5:54.45","6:52.69","7:48.67");
|
| 23 |
+
INSERT INTO "swimmer" VALUES ("5","Federico Colbertaldo","Italy","57.66","1:56.77","2:56.04","3:55.37","4:54.48","5:53.53","6:52.58","7:49.98");
|
| 24 |
+
INSERT INTO "swimmer" VALUES ("8","Sébastien Rouault","France","55.67","1:54.40","2:53.46","3:52.93","4:52.85","5:53.03","6:53.34","7:52.04");
|
| 25 |
+
INSERT INTO "swimmer" VALUES ("1","Sergiy Fesenko","Ukraine","57.34","1:57.26","2:57.10","3:57.12","4:57.03","5:56.31","6:55.07","7:53.43");
|
| 26 |
+
INSERT INTO "swimmer" VALUES ("2","Grant Hackett","Australia","57.34","1:57.21","2:56.95","3:57.00","4:56.96","5:57.10","6:57.44","7:55.39");
|
| 27 |
+
INSERT INTO "swimmer" VALUES ("6","Ryan Cochrane","Canada","57.84","1:57.26","2:56.64","3:56.34","4:56.15","5:56.99","6:57.69","7:56.56");
|
| 28 |
+
INSERT INTO "swimmer" VALUES ("3","Oussama Mellouli","Tunisia","57.31","1:56.44","2:55.94","3:55.49","4:54.19","5:52.92","6:50.80","7:46.95");
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
CREATE TABLE "stadium" (
|
| 33 |
+
"ID" int,
|
| 34 |
+
"name" text,
|
| 35 |
+
"Capacity" int,
|
| 36 |
+
"City" text,
|
| 37 |
+
"Country" text,
|
| 38 |
+
"Opening_year" int,
|
| 39 |
+
PRIMARY KEY ("ID")
|
| 40 |
+
);
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
INSERT INTO "stadium" VALUES (1,"Nou Mestalla","75000","Valencia","Spain","2004");
|
| 45 |
+
INSERT INTO "stadium" VALUES (2,"Gazprom Arena","69501","Saint Petersburg","Russia","2005");
|
| 46 |
+
INSERT INTO "stadium" VALUES (3,"Baku Olympic Stadium","68000","Baku","Azerbaijan","2005");
|
| 47 |
+
INSERT INTO "stadium" VALUES (4,"Estadio La Peineta","67500","Madrid","Spain","2005");
|
| 48 |
+
INSERT INTO "stadium" VALUES (5,"Ferenc Puskás Stadion","65000","Budapest","Hungary","2006");
|
| 49 |
+
INSERT INTO "stadium" VALUES (6,"Stade des Lumières","61556","Lyon","France","2004");
|
| 50 |
+
INSERT INTO "stadium" VALUES (7,"Northumberland Development Project","56250","London","England","2006");
|
| 51 |
+
INSERT INTO "stadium" VALUES (8,"Fisht Olympic Stadium","47659","Sochi","Russia","2004");
|
| 52 |
+
INSERT INTO "stadium" VALUES (9,"Arena Baltika","45015","Kaliningrad","Russia","2007");
|
| 53 |
+
INSERT INTO "stadium" VALUES (10,"Yubileyniy Stadium","45015","Saransk","Russia","2005");
|
| 54 |
+
|
| 55 |
+
|
| 56 |
+
CREATE TABLE "event" (
|
| 57 |
+
"ID" int,
|
| 58 |
+
"Name" text,
|
| 59 |
+
"Stadium_ID" int,
|
| 60 |
+
"Year" text,
|
| 61 |
+
PRIMARY KEY ("ID"),
|
| 62 |
+
FOREIGN KEY (`Stadium_ID`) REFERENCES `stadium`(`ID`)
|
| 63 |
+
);
|
| 64 |
+
INSERT INTO "event" VALUES (1,"FINA",1,"2016");
|
| 65 |
+
INSERT INTO "event" VALUES (2,"Pacific",10,"2011");
|
| 66 |
+
INSERT INTO "event" VALUES (3,"World Master",2,"2012");
|
| 67 |
+
INSERT INTO "event" VALUES (4,"World Junior",3,"2013");
|
| 68 |
+
INSERT INTO "event" VALUES (5,"IPC",4,"2014");
|
| 69 |
+
INSERT INTO "event" VALUES (6,"European FINA",8,"2017");
|
| 70 |
+
|
| 71 |
+
CREATE TABLE "record" (
|
| 72 |
+
"ID" int,
|
| 73 |
+
"Result" text,
|
| 74 |
+
"Swimmer_ID" int,
|
| 75 |
+
"Event_ID" int,
|
| 76 |
+
PRIMARY KEY ("Swimmer_ID","Event_ID"),
|
| 77 |
+
FOREIGN KEY (`Event_ID`) REFERENCES `event`(`ID`),
|
| 78 |
+
FOREIGN KEY (`Swimmer_ID`) REFERENCES `swimmer`(`ID`)
|
| 79 |
+
);
|
| 80 |
+
|
| 81 |
+
|
| 82 |
+
|
| 83 |
+
INSERT INTO "record" VALUES (1,"NC",1,1);
|
| 84 |
+
INSERT INTO "record" VALUES (2,"Win",1,2);
|
| 85 |
+
INSERT INTO "record" VALUES (3,"Loss",3,3);
|
| 86 |
+
INSERT INTO "record" VALUES (4,"Win",4,3);
|
| 87 |
+
INSERT INTO "record" VALUES (5,"Loss",1,3);
|
| 88 |
+
INSERT INTO "record" VALUES (6,"Win",6,3);
|
| 89 |
+
INSERT INTO "record" VALUES (7,"Win",5,3);
|
| 90 |
+
INSERT INTO "record" VALUES (8,"Win",2,1);
|
| 91 |
+
INSERT INTO "record" VALUES (9,"Win",3,1);
|
| 92 |
+
INSERT INTO "record" VALUES (10,"Win",4,1);
|
| 93 |
+
INSERT INTO "record" VALUES (11,"Win",4,2);
|
| 94 |
+
INSERT INTO "record" VALUES (12,"Win",3,5);
|
| 95 |
+
INSERT INTO "record" VALUES (13,"Loss",4,4);
|
test_database/swimming/swimming.sqlite
ADDED
|
Binary file (36.9 kB). View file
|
|
|
test_database/tracking_orders/schema.sql
ADDED
|
@@ -0,0 +1,165 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PRAGMA foreign_keys = ON;
|
| 2 |
+
CREATE TABLE `Customers` (
|
| 3 |
+
`customer_id` INTEGER PRIMARY KEY,
|
| 4 |
+
`customer_name` VARCHAR(80),
|
| 5 |
+
`customer_details` VARCHAR(255)
|
| 6 |
+
);
|
| 7 |
+
CREATE TABLE `Invoices` (
|
| 8 |
+
`invoice_number` INTEGER PRIMARY KEY,
|
| 9 |
+
`invoice_date` DATETIME,
|
| 10 |
+
`invoice_details` VARCHAR(255)
|
| 11 |
+
);
|
| 12 |
+
|
| 13 |
+
CREATE TABLE `Orders` (
|
| 14 |
+
`order_id` INTEGER PRIMARY KEY,
|
| 15 |
+
`customer_id` INTEGER NOT NULL,
|
| 16 |
+
`order_status` VARCHAR(10) NOT NULL,
|
| 17 |
+
`date_order_placed` DATETIME NOT NULL,
|
| 18 |
+
`order_details` VARCHAR(255),
|
| 19 |
+
FOREIGN KEY (`customer_id` ) REFERENCES `Customers`(`customer_id` )
|
| 20 |
+
);
|
| 21 |
+
|
| 22 |
+
CREATE TABLE `Products` (
|
| 23 |
+
`product_id` INTEGER PRIMARY KEY,
|
| 24 |
+
`product_name` VARCHAR(80),
|
| 25 |
+
`product_details` VARCHAR(255)
|
| 26 |
+
);
|
| 27 |
+
|
| 28 |
+
CREATE TABLE `Order_Items` (
|
| 29 |
+
`order_item_id` INTEGER PRIMARY KEY,
|
| 30 |
+
`product_id` INTEGER NOT NULL,
|
| 31 |
+
`order_id` INTEGER NOT NULL,
|
| 32 |
+
`order_item_status` VARCHAR(10) NOT NULL,
|
| 33 |
+
`order_item_details` VARCHAR(255),
|
| 34 |
+
FOREIGN KEY (`order_id` ) REFERENCES `Orders`(`order_id` ),
|
| 35 |
+
FOREIGN KEY (`product_id` ) REFERENCES `Products`(`product_id` )
|
| 36 |
+
);
|
| 37 |
+
|
| 38 |
+
CREATE TABLE `Shipments` (
|
| 39 |
+
`shipment_id` INTEGER PRIMARY KEY,
|
| 40 |
+
`order_id` INTEGER NOT NULL,
|
| 41 |
+
`invoice_number` INTEGER NOT NULL,
|
| 42 |
+
`shipment_tracking_number` VARCHAR(80),
|
| 43 |
+
`shipment_date` DATETIME,
|
| 44 |
+
`other_shipment_details` VARCHAR(255),
|
| 45 |
+
FOREIGN KEY (`order_id` ) REFERENCES `Orders`(`order_id` ),
|
| 46 |
+
FOREIGN KEY (`invoice_number` ) REFERENCES `Invoices`(`invoice_number` )
|
| 47 |
+
);
|
| 48 |
+
|
| 49 |
+
CREATE TABLE `Shipment_Items` (
|
| 50 |
+
`shipment_id` INTEGER NOT NULL,
|
| 51 |
+
`order_item_id` INTEGER NOT NULL,
|
| 52 |
+
FOREIGN KEY (`order_item_id` ) REFERENCES `Order_Items`(`order_item_id` ),
|
| 53 |
+
FOREIGN KEY (`shipment_id` ) REFERENCES `Shipments`(`shipment_id` )
|
| 54 |
+
);
|
| 55 |
+
|
| 56 |
+
INSERT INTO Customers (`customer_id`, `customer_name`, `customer_details`) VALUES (1, 'Savannah', 'rerum');
|
| 57 |
+
INSERT INTO Customers (`customer_id`, `customer_name`, `customer_details`) VALUES (2, 'George', 'est');
|
| 58 |
+
INSERT INTO Customers (`customer_id`, `customer_name`, `customer_details`) VALUES (3, 'Alberto', 'deleniti');
|
| 59 |
+
INSERT INTO Customers (`customer_id`, `customer_name`, `customer_details`) VALUES (4, 'Leilani', 'sequi');
|
| 60 |
+
INSERT INTO Customers (`customer_id`, `customer_name`, `customer_details`) VALUES (5, 'Hadley', 'corrupti');
|
| 61 |
+
INSERT INTO Customers (`customer_id`, `customer_name`, `customer_details`) VALUES (6, 'Chaz', 'nostrum');
|
| 62 |
+
INSERT INTO Customers (`customer_id`, `customer_name`, `customer_details`) VALUES (7, 'Violet', 'consectetur');
|
| 63 |
+
INSERT INTO Customers (`customer_id`, `customer_name`, `customer_details`) VALUES (8, 'Parker', 'rerum');
|
| 64 |
+
INSERT INTO Customers (`customer_id`, `customer_name`, `customer_details`) VALUES (9, 'Devan', 'doloribus');
|
| 65 |
+
INSERT INTO Customers (`customer_id`, `customer_name`, `customer_details`) VALUES (10, 'Beulah', 'commodi');
|
| 66 |
+
INSERT INTO Customers (`customer_id`, `customer_name`, `customer_details`) VALUES (11, 'Hershel', 'vel');
|
| 67 |
+
INSERT INTO Customers (`customer_id`, `customer_name`, `customer_details`) VALUES (12, 'Conrad', 'eligendi');
|
| 68 |
+
INSERT INTO Customers (`customer_id`, `customer_name`, `customer_details`) VALUES (13, 'Samson', 'dicta');
|
| 69 |
+
INSERT INTO Customers (`customer_id`, `customer_name`, `customer_details`) VALUES (14, 'Mabelle', 'quidem');
|
| 70 |
+
INSERT INTO Customers (`customer_id`, `customer_name`, `customer_details`) VALUES (15, 'Jeramie', 'officia');
|
| 71 |
+
INSERT INTO Invoices (`invoice_number`, `invoice_date`, `invoice_details`) VALUES (1, '1989-09-03 16:03:05', 'vitae');
|
| 72 |
+
INSERT INTO Invoices (`invoice_number`, `invoice_date`, `invoice_details`) VALUES (2, '1989-12-11 16:40:57', 'magnam');
|
| 73 |
+
INSERT INTO Invoices (`invoice_number`, `invoice_date`, `invoice_details`) VALUES (3, '1995-10-07 14:13:05', 'et');
|
| 74 |
+
INSERT INTO Invoices (`invoice_number`, `invoice_date`, `invoice_details`) VALUES (4, '1985-04-27 08:38:49', 'tempore');
|
| 75 |
+
INSERT INTO Invoices (`invoice_number`, `invoice_date`, `invoice_details`) VALUES (5, '1971-02-12 00:29:57', 'labore');
|
| 76 |
+
INSERT INTO Invoices (`invoice_number`, `invoice_date`, `invoice_details`) VALUES (6, '2007-12-25 15:49:37', 'optio');
|
| 77 |
+
INSERT INTO Invoices (`invoice_number`, `invoice_date`, `invoice_details`) VALUES (7, '1991-01-05 16:44:25', 'reiciendis');
|
| 78 |
+
INSERT INTO Invoices (`invoice_number`, `invoice_date`, `invoice_details`) VALUES (8, '2012-06-12 07:34:17', 'doloremque');
|
| 79 |
+
INSERT INTO Invoices (`invoice_number`, `invoice_date`, `invoice_details`) VALUES (9, '1974-07-27 16:18:49', 'quo');
|
| 80 |
+
INSERT INTO Invoices (`invoice_number`, `invoice_date`, `invoice_details`) VALUES (10, '2005-02-27 19:53:13', 'eveniet');
|
| 81 |
+
INSERT INTO Invoices (`invoice_number`, `invoice_date`, `invoice_details`) VALUES (11, '1972-08-12 05:48:49', 'earum');
|
| 82 |
+
INSERT INTO Invoices (`invoice_number`, `invoice_date`, `invoice_details`) VALUES (12, '1987-11-15 15:41:40', 'ea');
|
| 83 |
+
INSERT INTO Invoices (`invoice_number`, `invoice_date`, `invoice_details`) VALUES (13, '1981-03-28 20:01:44', 'voluptatem');
|
| 84 |
+
INSERT INTO Invoices (`invoice_number`, `invoice_date`, `invoice_details`) VALUES (14, '1998-07-30 15:39:12', 'repellat');
|
| 85 |
+
INSERT INTO Invoices (`invoice_number`, `invoice_date`, `invoice_details`) VALUES (15, '2012-12-08 02:21:54', 'voluptatem');
|
| 86 |
+
|
| 87 |
+
INSERT INTO Orders (`order_id`, `customer_id`, `order_status`, `date_order_placed`, `order_details`) VALUES (1, 2, 'Shipped', '2009-02-21 15:26:19', NULL);
|
| 88 |
+
INSERT INTO Orders (`order_id`, `customer_id`, `order_status`, `date_order_placed`, `order_details`) VALUES (2, 11, 'Shipped', '1974-06-24 22:10:26', NULL);
|
| 89 |
+
INSERT INTO Orders (`order_id`, `customer_id`, `order_status`, `date_order_placed`, `order_details`) VALUES (3, 4, 'Shipped', '1982-12-29 21:10:11', NULL);
|
| 90 |
+
INSERT INTO Orders (`order_id`, `customer_id`, `order_status`, `date_order_placed`, `order_details`) VALUES (4, 15, 'Packing', '1974-08-10 08:15:16', NULL);
|
| 91 |
+
INSERT INTO Orders (`order_id`, `customer_id`, `order_status`, `date_order_placed`, `order_details`) VALUES (5, 5, 'Packing', '2010-06-08 02:20:49', NULL);
|
| 92 |
+
INSERT INTO Orders (`order_id`, `customer_id`, `order_status`, `date_order_placed`, `order_details`) VALUES (6, 7, 'Packing', '1975-12-23 15:59:43', NULL);
|
| 93 |
+
INSERT INTO Orders (`order_id`, `customer_id`, `order_status`, `date_order_placed`, `order_details`) VALUES (7, 15, 'Packing', '1976-09-01 09:27:00', NULL);
|
| 94 |
+
INSERT INTO Orders (`order_id`, `customer_id`, `order_status`, `date_order_placed`, `order_details`) VALUES (8, 10, 'On Road', '1997-01-27 19:12:01', NULL);
|
| 95 |
+
INSERT INTO Orders (`order_id`, `customer_id`, `order_status`, `date_order_placed`, `order_details`) VALUES (9, 3, 'On Road', '1983-09-08 12:32:49', NULL);
|
| 96 |
+
INSERT INTO Orders (`order_id`, `customer_id`, `order_status`, `date_order_placed`, `order_details`) VALUES (10, 2, 'On Road', '1982-12-09 09:42:23', NULL);
|
| 97 |
+
INSERT INTO Orders (`order_id`, `customer_id`, `order_status`, `date_order_placed`, `order_details`) VALUES (11, 9, 'On Road', '1979-12-07 02:03:49', NULL);
|
| 98 |
+
INSERT INTO Orders (`order_id`, `customer_id`, `order_status`, `date_order_placed`, `order_details`) VALUES (12, 2, 'On Road', '1976-01-18 08:09:12', NULL);
|
| 99 |
+
INSERT INTO Orders (`order_id`, `customer_id`, `order_status`, `date_order_placed`, `order_details`) VALUES (13, 15, 'On Road', '2002-12-06 14:13:30', NULL);
|
| 100 |
+
INSERT INTO Orders (`order_id`, `customer_id`, `order_status`, `date_order_placed`, `order_details`) VALUES (14, 10, 'On Road', '2002-09-13 07:38:09', NULL);
|
| 101 |
+
INSERT INTO Orders (`order_id`, `customer_id`, `order_status`, `date_order_placed`, `order_details`) VALUES (15, 8, 'On Road', '1971-05-10 01:54:18', NULL);
|
| 102 |
+
|
| 103 |
+
INSERT INTO Products (`product_id`, `product_name`, `product_details`) VALUES (1, 'food', NULL);
|
| 104 |
+
INSERT INTO Products (`product_id`, `product_name`, `product_details`) VALUES (2, 'book', NULL);
|
| 105 |
+
INSERT INTO Products (`product_id`, `product_name`, `product_details`) VALUES (3, 'food', NULL);
|
| 106 |
+
INSERT INTO Products (`product_id`, `product_name`, `product_details`) VALUES (4, 'food', NULL);
|
| 107 |
+
INSERT INTO Products (`product_id`, `product_name`, `product_details`) VALUES (5, 'clothes', NULL);
|
| 108 |
+
INSERT INTO Products (`product_id`, `product_name`, `product_details`) VALUES (6, 'clothes', NULL);
|
| 109 |
+
INSERT INTO Products (`product_id`, `product_name`, `product_details`) VALUES (7, 'clothes', NULL);
|
| 110 |
+
INSERT INTO Products (`product_id`, `product_name`, `product_details`) VALUES (8, 'book', NULL);
|
| 111 |
+
INSERT INTO Products (`product_id`, `product_name`, `product_details`) VALUES (9, 'book', NULL);
|
| 112 |
+
INSERT INTO Products (`product_id`, `product_name`, `product_details`) VALUES (10, 'phone', NULL);
|
| 113 |
+
INSERT INTO Products (`product_id`, `product_name`, `product_details`) VALUES (11, 'phone', NULL);
|
| 114 |
+
INSERT INTO Products (`product_id`, `product_name`, `product_details`) VALUES (12, 'phone', NULL);
|
| 115 |
+
INSERT INTO Products (`product_id`, `product_name`, `product_details`) VALUES (13, 'phone', NULL);
|
| 116 |
+
INSERT INTO Products (`product_id`, `product_name`, `product_details`) VALUES (14, 'music', NULL);
|
| 117 |
+
INSERT INTO Products (`product_id`, `product_name`, `product_details`) VALUES (15, 'music', NULL);
|
| 118 |
+
|
| 119 |
+
INSERT INTO Shipments (`shipment_id`, `order_id`, `invoice_number`, `shipment_tracking_number`, `shipment_date`, `other_shipment_details`) VALUES (1, 5, 13, '3452', '1983-08-13 22:34:11', NULL);
|
| 120 |
+
INSERT INTO Shipments (`shipment_id`, `order_id`, `invoice_number`, `shipment_tracking_number`, `shipment_date`, `other_shipment_details`) VALUES (2, 7, 2, '0114', '1977-11-10 12:11:25', NULL);
|
| 121 |
+
INSERT INTO Shipments (`shipment_id`, `order_id`, `invoice_number`, `shipment_tracking_number`, `shipment_date`, `other_shipment_details`) VALUES (3, 10, 5, '478', '2006-01-17 03:08:05', NULL);
|
| 122 |
+
INSERT INTO Shipments (`shipment_id`, `order_id`, `invoice_number`, `shipment_tracking_number`, `shipment_date`, `other_shipment_details`) VALUES (4, 5, 2, '08858', '1982-01-24 12:13:16', NULL);
|
| 123 |
+
INSERT INTO Shipments (`shipment_id`, `order_id`, `invoice_number`, `shipment_tracking_number`, `shipment_date`, `other_shipment_details`) VALUES (5, 6, 15, '35342', '1981-11-13 23:20:42', NULL);
|
| 124 |
+
INSERT INTO Shipments (`shipment_id`, `order_id`, `invoice_number`, `shipment_tracking_number`, `shipment_date`, `other_shipment_details`) VALUES (6, 4, 3, '7480', '1978-05-17 00:03:43', NULL);
|
| 125 |
+
INSERT INTO Shipments (`shipment_id`, `order_id`, `invoice_number`, `shipment_tracking_number`, `shipment_date`, `other_shipment_details`) VALUES (7, 13, 15, '7662', '1999-10-12 10:41:49', NULL);
|
| 126 |
+
INSERT INTO Shipments (`shipment_id`, `order_id`, `invoice_number`, `shipment_tracking_number`, `shipment_date`, `other_shipment_details`) VALUES (8, 9, 10, '2323', '1983-03-08 16:14:58', NULL);
|
| 127 |
+
INSERT INTO Shipments (`shipment_id`, `order_id`, `invoice_number`, `shipment_tracking_number`, `shipment_date`, `other_shipment_details`) VALUES (9, 8, 10, '5991', '1986-06-07 13:54:27', NULL);
|
| 128 |
+
INSERT INTO Shipments (`shipment_id`, `order_id`, `invoice_number`, `shipment_tracking_number`, `shipment_date`, `other_shipment_details`) VALUES (10, 14, 15, '0182', '1973-06-20 14:26:43', NULL);
|
| 129 |
+
INSERT INTO Shipments (`shipment_id`, `order_id`, `invoice_number`, `shipment_tracking_number`, `shipment_date`, `other_shipment_details`) VALUES (11, 8, 2, '1334', '1992-08-13 04:04:52', NULL);
|
| 130 |
+
INSERT INTO Shipments (`shipment_id`, `order_id`, `invoice_number`, `shipment_tracking_number`, `shipment_date`, `other_shipment_details`) VALUES (12, 2, 9, '2421', '1985-11-12 12:41:34', NULL);
|
| 131 |
+
INSERT INTO Shipments (`shipment_id`, `order_id`, `invoice_number`, `shipment_tracking_number`, `shipment_date`, `other_shipment_details`) VALUES (13, 3, 10, '2424', '1970-02-02 05:23:57', NULL);
|
| 132 |
+
INSERT INTO Shipments (`shipment_id`, `order_id`, `invoice_number`, `shipment_tracking_number`, `shipment_date`, `other_shipment_details`) VALUES (14, 12, 3, '4029', '2014-01-15 20:52:15', NULL);
|
| 133 |
+
INSERT INTO Shipments (`shipment_id`, `order_id`, `invoice_number`, `shipment_tracking_number`, `shipment_date`, `other_shipment_details`) VALUES (15, 7, 9, '2436', '1991-04-01 15:24:24', NULL);
|
| 134 |
+
|
| 135 |
+
|
| 136 |
+
INSERT INTO Order_Items (`order_item_id`, `product_id`, `order_id`, `order_item_status`, `order_item_details`) VALUES (1, 4, 6, 'Finish', NULL);
|
| 137 |
+
INSERT INTO Order_Items (`order_item_id`, `product_id`, `order_id`, `order_item_status`, `order_item_details`) VALUES (2, 15, 6, 'Finish', NULL);
|
| 138 |
+
INSERT INTO Order_Items (`order_item_id`, `product_id`, `order_id`, `order_item_status`, `order_item_details`) VALUES (3, 12, 15, 'Finish', NULL);
|
| 139 |
+
INSERT INTO Order_Items (`order_item_id`, `product_id`, `order_id`, `order_item_status`, `order_item_details`) VALUES (4, 8, 15, 'Payed', NULL);
|
| 140 |
+
INSERT INTO Order_Items (`order_item_id`, `product_id`, `order_id`, `order_item_status`, `order_item_details`) VALUES (5, 11, 6, 'Payed', NULL);
|
| 141 |
+
INSERT INTO Order_Items (`order_item_id`, `product_id`, `order_id`, `order_item_status`, `order_item_details`) VALUES (6, 14, 8, 'Payed', NULL);
|
| 142 |
+
INSERT INTO Order_Items (`order_item_id`, `product_id`, `order_id`, `order_item_status`, `order_item_details`) VALUES (7, 3, 5, 'Payed', NULL);
|
| 143 |
+
INSERT INTO Order_Items (`order_item_id`, `product_id`, `order_id`, `order_item_status`, `order_item_details`) VALUES (8, 4, 10, 'Cancel', NULL);
|
| 144 |
+
INSERT INTO Order_Items (`order_item_id`, `product_id`, `order_id`, `order_item_status`, `order_item_details`) VALUES (9, 11, 15, 'Cancel', NULL);
|
| 145 |
+
INSERT INTO Order_Items (`order_item_id`, `product_id`, `order_id`, `order_item_status`, `order_item_details`) VALUES (10, 7, 7, 'Cancel', NULL);
|
| 146 |
+
INSERT INTO Order_Items (`order_item_id`, `product_id`, `order_id`, `order_item_status`, `order_item_details`) VALUES (11, 15, 11, 'Cancel', NULL);
|
| 147 |
+
INSERT INTO Order_Items (`order_item_id`, `product_id`, `order_id`, `order_item_status`, `order_item_details`) VALUES (12, 1, 11, 'Cancel', NULL);
|
| 148 |
+
INSERT INTO Order_Items (`order_item_id`, `product_id`, `order_id`, `order_item_status`, `order_item_details`) VALUES (13, 14, 7, 'Payed', NULL);
|
| 149 |
+
INSERT INTO Order_Items (`order_item_id`, `product_id`, `order_id`, `order_item_status`, `order_item_details`) VALUES (14, 15, 14, 'Payed', NULL);
|
| 150 |
+
INSERT INTO Order_Items (`order_item_id`, `product_id`, `order_id`, `order_item_status`, `order_item_details`) VALUES (15, 3, 9, 'Payed', NULL);
|
| 151 |
+
INSERT INTO Shipment_Items (`shipment_id`, `order_item_id`) VALUES (11, 12);
|
| 152 |
+
INSERT INTO Shipment_Items (`shipment_id`, `order_item_id`) VALUES (10, 15);
|
| 153 |
+
INSERT INTO Shipment_Items (`shipment_id`, `order_item_id`) VALUES (10, 12);
|
| 154 |
+
INSERT INTO Shipment_Items (`shipment_id`, `order_item_id`) VALUES (2, 2);
|
| 155 |
+
INSERT INTO Shipment_Items (`shipment_id`, `order_item_id`) VALUES (14, 10);
|
| 156 |
+
INSERT INTO Shipment_Items (`shipment_id`, `order_item_id`) VALUES (3, 7);
|
| 157 |
+
INSERT INTO Shipment_Items (`shipment_id`, `order_item_id`) VALUES (4, 5);
|
| 158 |
+
INSERT INTO Shipment_Items (`shipment_id`, `order_item_id`) VALUES (13, 7);
|
| 159 |
+
INSERT INTO Shipment_Items (`shipment_id`, `order_item_id`) VALUES (12, 10);
|
| 160 |
+
INSERT INTO Shipment_Items (`shipment_id`, `order_item_id`) VALUES (5, 13);
|
| 161 |
+
INSERT INTO Shipment_Items (`shipment_id`, `order_item_id`) VALUES (15, 4);
|
| 162 |
+
INSERT INTO Shipment_Items (`shipment_id`, `order_item_id`) VALUES (4, 11);
|
| 163 |
+
INSERT INTO Shipment_Items (`shipment_id`, `order_item_id`) VALUES (12, 15);
|
| 164 |
+
INSERT INTO Shipment_Items (`shipment_id`, `order_item_id`) VALUES (5, 5);
|
| 165 |
+
INSERT INTO Shipment_Items (`shipment_id`, `order_item_id`) VALUES (2, 10);
|
test_database/tracking_orders/tracking_orders.sqlite
ADDED
|
Binary file (32.8 kB). View file
|
|
|
test_database/tracking_share_transactions/tracking_share_transactions.sqlite
ADDED
|
Binary file (36.9 kB). View file
|
|
|
test_database/twitter_1/queries/sqlserver-dialects.xml
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0"?>
|
| 2 |
+
<dialects>
|
| 3 |
+
<dialect type="SQLSERVER">
|
| 4 |
+
<procedure name="GetTweet">
|
| 5 |
+
<statement name="getTweet">
|
| 6 |
+
SELECT * FROM "tweets" WHERE id = ?
|
| 7 |
+
</statement>
|
| 8 |
+
</procedure>
|
| 9 |
+
<procedure name="GetTweetsFromFollowing">
|
| 10 |
+
<statement name="getFollowing">
|
| 11 |
+
SELECT TOP 20 f2 FROM "follows" WHERE f1 = ?
|
| 12 |
+
</statement>
|
| 13 |
+
<statement name="getTweets">
|
| 14 |
+
SELECT * FROM "tweets" WHERE uid IN (??)
|
| 15 |
+
</statement>
|
| 16 |
+
</procedure>
|
| 17 |
+
<procedure name="GetFollowers">
|
| 18 |
+
<statement name="getFollowers">
|
| 19 |
+
SELECT TOP 20 f2 FROM "followers" WHERE f1 = ?
|
| 20 |
+
</statement>
|
| 21 |
+
<statement name="getFollowerNames">
|
| 22 |
+
SELECT uid, name FROM "user_profiles" WHERE uid IN (??)
|
| 23 |
+
</statement>
|
| 24 |
+
</procedure>
|
| 25 |
+
<procedure name="GetUserTweets">
|
| 26 |
+
<statement name="getTweets">
|
| 27 |
+
SELECT TOP 10 * FROM "tweets" WHERE uid = ?
|
| 28 |
+
</statement>
|
| 29 |
+
</procedure>
|
| 30 |
+
</dialect>
|
| 31 |
+
</dialects>
|
test_database/vehicle_rent/vehicle_rent.sqlite
ADDED
|
Binary file (36.9 kB). View file
|
|
|
test_database/workshop_paper/workshop_paper.sqlite
ADDED
|
Binary file (28.7 kB). View file
|
|
|