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,
"Name" TEXT,
PRIMARY KEY ("Conductor_ID")
);

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

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





INSERT INTO "conductor" VALUES ("1", "Leonard Bernstein");
INSERT INTO "conductor" VALUES ("2", "Marin Alsop");
INSERT INTO "conductor" VALUES ("3", "Gustavo Dudamel");
INSERT INTO "conductor" VALUES ("4", "Valery Gergiev");
INSERT INTO "conductor" VALUES ("5", "Simone Young");
INSERT INTO "orchestra" VALUES ("101", "Deutsche Grammophon");
INSERT INTO "orchestra" VALUES ("102", "Sony Classical");
INSERT INTO "orchestra" VALUES ("103", "Deutsche Grammophon");
INSERT INTO "orchestra" VALUES ("104", "Warner Classics");
INSERT INTO "orchestra" VALUES ("105", "Sony Classical");
INSERT INTO "orchestra" VALUES ("106", "Deutsche Grammophon");
INSERT INTO "orchestra" VALUES ("107", "Naxos");
INSERT INTO "orchestra" VALUES ("108", "Naxos");
INSERT INTO "orchestra" VALUES ("109", "Universal Music");
INSERT INTO "orchestra" VALUES ("110", "Universal Music");
INSERT INTO "orchestra" VALUES ("111", "Universal Music");
INSERT INTO "orchestra" VALUES ("112", "NULL");
INSERT INTO "orchestra" VALUES ("113", "NULL");
INSERT INTO "orchestra" VALUES ("114", "Sony Classical");
INSERT INTO "orchestra" VALUES ("115", "Warner Classics");
INSERT INTO "orchestra" VALUES ("116", "Warner Classics");
INSERT INTO "orchestra" VALUES ("117", "Warner Classics");
INSERT INTO "orchestra" VALUES ("118", "Deutsche Grammophon");
INSERT INTO "orchestra" VALUES ("119", "Deutsche Grammophon");
INSERT INTO "orchestra" VALUES ("120", "Sony Classical");
INSERT INTO "orchestra" VALUES ("121", "Independent Label");
INSERT INTO "performance" VALUES ("201", "Symphony");
INSERT INTO "performance" VALUES ("202", "Concerto");
INSERT INTO "performance" VALUES ("203", "Opera");
INSERT INTO "performance" VALUES ("204", "Chamber Music");
INSERT INTO "performance" VALUES ("205", "Ballet");
INSERT INTO "performance" VALUES ("206", "Oratorio");