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", "Gustavo Dudamel", "Venezuela");
INSERT INTO "conductor" VALUES ("3", "Simon Rattle", "UK");
INSERT INTO "conductor" VALUES ("4", "Marin Alsop", "USA");
INSERT INTO "conductor" VALUES ("5", "Zubin Mehta", "India");
INSERT INTO "conductor" VALUES ("6", "Valery Gergiev", "Russia");
INSERT INTO "conductor" VALUES ("7", "Yannick Nézet-Séguin", "Canada");
INSERT INTO "conductor" VALUES ("8", "Mirga Gražinytė-Tyla", "Lithuania");
INSERT INTO "conductor" VALUES ("9", "Andris Nelsons", "Latvia");
INSERT INTO "conductor" VALUES ("10", "Susanna Mälkki", "Finland");
INSERT INTO "orchestra" VALUES ("1", "New York Philharmonic", "Deutsche Grammophon");
INSERT INTO "orchestra" VALUES ("2", "Los Angeles Philharmonic", "DG Concerts");
INSERT INTO "orchestra" VALUES ("3", "Berlin Philharmonic", "EMI Classics");
INSERT INTO "orchestra" VALUES ("4", "London Symphony Orchestra", "LSO Live");
INSERT INTO "orchestra" VALUES ("5", "Vienna Philharmonic", "Sony Classical");
INSERT INTO "orchestra" VALUES ("6", "Mariinsky Orchestra", "Mariinsky Label");
INSERT INTO "orchestra" VALUES ("7", "Philadelphia Orchestra", "Deutsche Grammophon");
INSERT INTO "orchestra" VALUES ("8", "City of Birmingham Symphony Orchestra", "Deutsche Grammophon");
INSERT INTO "orchestra" VALUES ("9", "Boston Symphony Orchestra", "Deutsche Grammophon");
INSERT INTO "orchestra" VALUES ("10", "Finnish Radio Symphony Orchestra", "Ondine");
INSERT INTO "performance" VALUES ("1", "Concert");
INSERT INTO "performance" VALUES ("2", "Opera");
INSERT INTO "performance" VALUES ("3", "Ballet");
INSERT INTO "performance" VALUES ("4", "Rehearsal");
INSERT INTO "performance" VALUES ("5", "Recording Session");
INSERT INTO "performance" VALUES ("6", "Festival");
INSERT INTO "performance" VALUES ("7", "Gala");
INSERT INTO "performance" VALUES ("8", "Chamber Music");
INSERT INTO "performance" VALUES ("9", "Educational");
INSERT INTO "performance" VALUES ("10", "Special Event");