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", "1990");
INSERT INTO "conductor" VALUES ("2", "French", "1985");
INSERT INTO "conductor" VALUES ("3", "American", "2000");
INSERT INTO "conductor" VALUES ("4", "Italian", "1975");
INSERT INTO "conductor" VALUES ("5", "Russian", "2010");
INSERT INTO "orchestra" VALUES ("1", "Deutsche Grammophon", "1898");
INSERT INTO "orchestra" VALUES ("2", "Sony Classical", "1950");
INSERT INTO "orchestra" VALUES ("3", "EMI Classics", "1931");
INSERT INTO "orchestra" VALUES ("4", "Warner Classics", "2005");
INSERT INTO "orchestra" VALUES ("5", "Naxos Records", "1987");
INSERT INTO "orchestra" VALUES ("6", "Chandos Records", "2005");
INSERT INTO "orchestra" VALUES ("7", "Decca Records", "1929");
INSERT INTO "orchestra" VALUES ("8", "BIS Records", "1973");
INSERT INTO "orchestra" VALUES ("9", "Telarc International", "1977");
INSERT INTO "orchestra" VALUES ("10", "Hyperion Records", "1980");
INSERT INTO "performance" VALUES ("1", "Symphony");
INSERT INTO "performance" VALUES ("2", "Concerto");
INSERT INTO "performance" VALUES ("3", "Opera");
INSERT INTO "performance" VALUES ("4", "Chamber Music");
INSERT INTO "performance" VALUES ("5", "Ballet");
INSERT INTO "performance" VALUES ("6", "Oratorio");