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", "Null Conductor");
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", "Independent Records");
INSERT INTO "orchestra" VALUES ("107", "NULL");
INSERT INTO "orchestra" VALUES ("108", "");
INSERT INTO "orchestra" VALUES ("109", "Deutsche Grammophon");
INSERT INTO "orchestra" VALUES ("110", "Universal Music");
INSERT INTO "performance" VALUES ("201", "Symphony");
INSERT INTO "performance" VALUES ("202", "Concerto");
INSERT INTO "performance" VALUES ("203", "Opera");
INSERT INTO "performance" VALUES ("204", "Ballet");
INSERT INTO "performance" VALUES ("205", "Chamber Music");