PRAGMA foreign_keys = ON;

PRAGMA writable_schema = 1;
DELETE FROM sqlite_master WHERE type IN ("table", "index", "trigger");
PRAGMA writable_schema = 0;
VACUUM;

CREATE TABLE "conductor" (
"Conductor_ID" INT,
"Nationality" TEXT,
"Year_of_Work" INT,
PRIMARY KEY ("Conductor_ID")
);

CREATE TABLE "orchestra" (
"Orchestra_ID" INT,
"Record_Company" TEXT,
"Year_of_Founded" FLOAT,
PRIMARY KEY ("Orchestra_ID")
);

CREATE TABLE "performance" (
"Performance_ID" INT,
"Type" TEXT,
PRIMARY KEY ("Performance_ID")
);





INSERT INTO "conductor" VALUES ("1", "German", "1999");
INSERT INTO "conductor" VALUES ("2", "French", "2005");
INSERT INTO "conductor" VALUES ("3", "Italian", "2003");
INSERT INTO "conductor" VALUES ("4", "American", "2010");
INSERT INTO "conductor" VALUES ("5", "Russian", "1995");
INSERT INTO "orchestra" VALUES ("1", "Deutsche Grammophon", "1998");
INSERT INTO "orchestra" VALUES ("2", "Sony Classical", "2005");
INSERT INTO "orchestra" VALUES ("3", "Deutsche Grammophon", "2007");
INSERT INTO "orchestra" VALUES ("4", "EMI Classics", "2000");
INSERT INTO "orchestra" VALUES ("5", "Sony Classical", "1990");
INSERT INTO "orchestra" VALUES ("6", "Warner Classics", "2015");
INSERT INTO "orchestra" VALUES ("7", "EMI Classics", "2004");
INSERT INTO "orchestra" VALUES ("8", "Deutsche Grammophon", "2003");
INSERT INTO "orchestra" VALUES ("9", "Warner Classics", "1999");
INSERT INTO "orchestra" VALUES ("10", "Sony Classical", "2002");
INSERT INTO "performance" VALUES ("1", "Symphony");
INSERT INTO "performance" VALUES ("2", "Concerto");
INSERT INTO "performance" VALUES ("3", "Opera");
INSERT INTO "performance" VALUES ("4", "Ballet");
INSERT INTO "performance" VALUES ("5", "Chamber Music");