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

CREATE TABLE "orchestra" (
"Orchestra_ID" INT,
"Orchestra" TEXT,
"Conductor_ID" INT,
"Record_Company" TEXT,
PRIMARY KEY ("Orchestra_ID"),
FOREIGN KEY ("Conductor_ID") REFERENCES "conductor"("Conductor_ID")
);





INSERT INTO "conductor" VALUES ("1", "Herbert von Karajan", "Austrian");
INSERT INTO "conductor" VALUES ("2", "Leonard Bernstein", "American");
INSERT INTO "conductor" VALUES ("3", "Claudio Abbado", "Italian");
INSERT INTO "conductor" VALUES ("4", "Georg Solti", "Hungarian");
INSERT INTO "conductor" VALUES ("5", "Carlos Kleiber", "Austrian");
INSERT INTO "conductor" VALUES ("6", "Riccardo Muti", "Italian");
INSERT INTO "conductor" VALUES ("7", "Simon Rattle", "British");
INSERT INTO "conductor" VALUES ("8", "Daniel Barenboim", "Argentine-Israeli");
INSERT INTO "conductor" VALUES ("9", "Gustavo Dudamel", "Venezuelan");
INSERT INTO "conductor" VALUES ("10", "Zubin Mehta", "Indian");
INSERT INTO "orchestra" VALUES ("101", "Berlin Philharmonic Orchestra", "1", "Deutsche Grammophon");
INSERT INTO "orchestra" VALUES ("102", "New York Philharmonic", "2", "Sony Classical");
INSERT INTO "orchestra" VALUES ("103", "Lucerne Festival Orchestra", "3", "Deutsche Grammophon");
INSERT INTO "orchestra" VALUES ("104", "Chicago Symphony Orchestra", "4", "Decca");
INSERT INTO "orchestra" VALUES ("105", "Vienna Philharmonic", "5", "Deutsche Grammophon");
INSERT INTO "orchestra" VALUES ("106", "Philadelphia Orchestra", "6", "EMI Classics");
INSERT INTO "orchestra" VALUES ("107", "London Symphony Orchestra", "7", "EMI Classics");
INSERT INTO "orchestra" VALUES ("108", "Staatskapelle Berlin", "8", "Warner Classics");
INSERT INTO "orchestra" VALUES ("109", "Los Angeles Philharmonic", "9", "Deutsche Grammophon");
INSERT INTO "orchestra" VALUES ("110", "Israel Philharmonic Orchestra", "10", "Sony Classical");
INSERT INTO "orchestra" VALUES ("111", "Orchestra dell'Accademia Nazionale di Santa Cecilia", "6", "Warner Classics");
INSERT INTO "orchestra" VALUES ("112", "West-Eastern Divan Orchestra", "8", "Deutsche Grammophon");
INSERT INTO "orchestra" VALUES ("113", "Simón Bolívar Symphony Orchestra", "9", "Deutsche Grammophon");
INSERT INTO "orchestra" VALUES ("114", "Bavarian Radio Symphony Orchestra", "5", "Orfeo");
INSERT INTO "orchestra" VALUES ("115", "Royal Concertgebouw Orchestra", "1", "Philips");