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

CREATE TABLE "orchestra" (
"Orchestra_ID" INT,
"Orchestra" TEXT,
"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", "USA");
INSERT INTO "conductor" VALUES ("2", "Herbert von Karajan", "Austria");
INSERT INTO "conductor" VALUES ("3", "Riccardo Muti", "Italy");
INSERT INTO "conductor" VALUES ("4", "Simon Rattle", "UK");
INSERT INTO "conductor" VALUES ("5", "Seiji Ozawa", "Japan");
INSERT INTO "conductor" VALUES ("6", "Marin Alsop", "USA");
INSERT INTO "conductor" VALUES ("7", "Valery Gergiev", "Russia");
INSERT INTO "conductor" VALUES ("8", "Gustavo Dudamel", "Venezuela");
INSERT INTO "conductor" VALUES ("9", "Claudio Abbado", "Italy");
INSERT INTO "conductor" VALUES ("10", "Esa-Pekka Salonen", "Finland");
INSERT INTO "orchestra" VALUES ("1", "Berlin Philharmonic", "Deutsche Grammophon");
INSERT INTO "orchestra" VALUES ("2", "Vienna Philharmonic", "Sony Classical");
INSERT INTO "orchestra" VALUES ("3", "New York Philharmonic", "Decca");
INSERT INTO "orchestra" VALUES ("4", "London Symphony Orchestra", "LSO Live");
INSERT INTO "orchestra" VALUES ("5", "Chicago Symphony Orchestra", "CSO Resound");
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");