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,
"Major_Record_Format" 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", "Gustavo Dudamel");
INSERT INTO "conductor" VALUES ("3", "Marin Alsop");
INSERT INTO "conductor" VALUES ("4", "Simon Rattle");
INSERT INTO "conductor" VALUES ("5", "Valery Gergiev");
INSERT INTO "orchestra" VALUES ("1", "CD");
INSERT INTO "orchestra" VALUES ("2", "DVD");
INSERT INTO "orchestra" VALUES ("3", "Vinyl");
INSERT INTO "orchestra" VALUES ("4", "Digital");
INSERT INTO "orchestra" VALUES ("5", "CD");
INSERT INTO "orchestra" VALUES ("6", "");
INSERT INTO "orchestra" VALUES ("7", "NULL");
INSERT INTO "orchestra" VALUES ("8", "Blu-ray");
INSERT INTO "orchestra" VALUES ("9", "DVD");
INSERT INTO "orchestra" VALUES ("10", "Cassette");
INSERT INTO "orchestra" VALUES ("11", "CD");
INSERT INTO "orchestra" VALUES ("12", "DVD");
INSERT INTO "orchestra" VALUES ("13", "Streaming");
INSERT INTO "orchestra" VALUES ("14", "CD");
INSERT INTO "orchestra" VALUES ("15", "DVD");
INSERT INTO "orchestra" VALUES ("16", "Vinyl");
INSERT INTO "orchestra" VALUES ("17", "NULL");
INSERT INTO "orchestra" VALUES ("18", "");
INSERT INTO "orchestra" VALUES ("19", "CD");
INSERT INTO "orchestra" VALUES ("20", "DVD");
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");
INSERT INTO "performance" VALUES ("6", "Recital");
INSERT INTO "performance" VALUES ("7", "Oratorio");
INSERT INTO "performance" VALUES ("8", "Festival");
INSERT INTO "performance" VALUES ("9", "Concert");
INSERT INTO "performance" VALUES ("10", "Premiere");