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

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





INSERT INTO "conductor" VALUES ("1", "Gustavo Dudamel", "42");
INSERT INTO "conductor" VALUES ("2", "Yannick Nézet-Séguin", "48");
INSERT INTO "conductor" VALUES ("3", "Mirga Gražinytė-Tyla", "37");
INSERT INTO "conductor" VALUES ("4", "Andris Nelsons", "44");
INSERT INTO "conductor" VALUES ("5", "Marin Alsop", "66");
INSERT INTO "conductor" VALUES ("6", "Simon Rattle", "68");
INSERT INTO "conductor" VALUES ("7", "Valery Gergiev", "70");
INSERT INTO "conductor" VALUES ("8", "Zubin Mehta", "87");
INSERT INTO "orchestra" VALUES ("101", "Los Angeles Philharmonic", "1", "Deutsche Grammophon", "1919");
INSERT INTO "orchestra" VALUES ("102", "Philadelphia Orchestra", "2", "Deutsche Grammophon", "1900");
INSERT INTO "orchestra" VALUES ("103", "City of Birmingham Symphony Orchestra", "3", "Deutsche Grammophon", "1920");
INSERT INTO "orchestra" VALUES ("104", "Boston Symphony Orchestra", "4", "Deutsche Grammophon", "1881");
INSERT INTO "orchestra" VALUES ("105", "Baltimore Symphony Orchestra", "5", "Naxos", "1916");
INSERT INTO "orchestra" VALUES ("106", "London Symphony Orchestra", "6", "LSO Live", "1904");
INSERT INTO "orchestra" VALUES ("107", "Mariinsky Orchestra", "7", "Mariinsky", "1783");
INSERT INTO "orchestra" VALUES ("108", "Israel Philharmonic Orchestra", "8", "Sony Classical", "1936");
INSERT INTO "orchestra" VALUES ("109", "Youth Orchestra of Los Angeles", "1", "YOLA Records", "2007");
INSERT INTO "orchestra" VALUES ("110", "Orchestra of the Age of Enlightenment", "6", "Virgin Classics", "1986");
INSERT INTO "orchestra" VALUES ("111", "New World Symphony", "2", "NWS Media", "1987");
INSERT INTO "orchestra" VALUES ("112", "Mahler Chamber Orchestra", "3", "Harmonia Mundi", "1997");
INSERT INTO "orchestra" VALUES ("113", "West-Eastern Divan Orchestra", "8", "Warner Classics", "1999");
INSERT INTO "orchestra" VALUES ("114", "Aurora Orchestra", "4", "Warner Classics", "2005");
INSERT INTO "orchestra" VALUES ("115", "Chineke! Orchestra", "5", "Orchid Classics", "2015");
INSERT INTO "orchestra" VALUES ("116", "The Knights", "2", "Warner Classics", "2007");
INSERT INTO "orchestra" VALUES ("117", "Spira Mirabilis", "3", "Self-released", "2007");
INSERT INTO "orchestra" VALUES ("118", "Manchester Collective", "4", "Bedroom Community", "2016");
INSERT INTO "orchestra" VALUES ("119", "12 Ensemble", "5", "Platoon", "2012");
INSERT INTO "orchestra" VALUES ("120", "Street Orchestra Live", "6", "SOL Records", "2017");
INSERT INTO "orchestra" VALUES ("121", "The Orchestra of the Swan", "1", "SOMM Recordings", "1995");
INSERT INTO "orchestra" VALUES ("122", "London Contemporary Orchestra", "7", "LCO Records", "2008");
INSERT INTO "orchestra" VALUES ("123", "National Youth Orchestra of Great Britain", "8", "NYO Records", "1948");
INSERT INTO "orchestra" VALUES ("124", "The Hallé", "1", "Hallé", "1858");
INSERT INTO "orchestra" VALUES ("125", "BBC Philharmonic", "2", "Chandos", "1922");
INSERT INTO "orchestra" VALUES ("126", "Royal Liverpool Philharmonic Orchestra", "3", "RLPO Live", "1840");
INSERT INTO "orchestra" VALUES ("127", "Scottish Chamber Orchestra", "4", "Linn Records", "1974");
INSERT INTO "orchestra" VALUES ("128", "Royal Scottish National Orchestra", "5", "RSNO", "1891");
INSERT INTO "orchestra" VALUES ("129", "Bournemouth Symphony Orchestra", "6", "Chandos", "1893");
INSERT INTO "orchestra" VALUES ("130", "Britten Sinfonia", "7", "Hyperion", "1992");
INSERT INTO "orchestra" VALUES ("131", "Manchester Camerata", "8", "Avie", "1972");
INSERT INTO "orchestra" VALUES ("132", "Chamber Orchestra of Europe", "1", "Deutsche Grammophon", "1981");
INSERT INTO "orchestra" VALUES ("133", "Ensemble intercontemporain", "2", "Kairos", "1976");
INSERT INTO "orchestra" VALUES ("134", "Klangforum Wien", "3", "Kairos", "1985");
INSERT INTO "orchestra" VALUES ("135", "Ensemble Modern", "4", "ECM New Series", "1980");
INSERT INTO "orchestra" VALUES ("136", "London Sinfonietta", "5", "NMC Recordings", "1968");
INSERT INTO "orchestra" VALUES ("137", "Birmingham Contemporary Music Group", "6", "NMC Recordings", "1987");
INSERT INTO "orchestra" VALUES ("138", "Asko|Schönberg", "7", "Challenge Records", "1994");
INSERT INTO "orchestra" VALUES ("139", "Ensemble Resonanz", "8", "Es Dur", "1994");
INSERT INTO "orchestra" VALUES ("140", "The Knights NYC", "2", "Warner Classics", "2007");
INSERT INTO "orchestra" VALUES ("141", "Orchestra of St. Luke's", "1", "Telarc", "1974");
INSERT INTO "orchestra" VALUES ("142", "The Knights re-founded", "2", "Warner Classics", "2009");
INSERT INTO "orchestra" VALUES ("143", "New York Youth Symphony", "3", "NYYS", "1963");
INSERT INTO "orchestra" VALUES ("144", "San Francisco Symphony Youth Orchestra", "4", "SFS Media", "1981");
INSERT INTO "orchestra" VALUES ("145", "Chicago Youth Symphony Orchestras", "5", "CYSO", "1946");
INSERT INTO "orchestra" VALUES ("146", "Los Angeles Youth Orchestra", "6", "LAYO", "1999");
INSERT INTO "orchestra" VALUES ("147", "National Youth Orchestra of the USA", "7", "Carnegie Hall", "2013");
INSERT INTO "orchestra" VALUES ("148", "European Union Youth Orchestra", "8", "EUYO", "1976");
INSERT INTO "orchestra" VALUES ("149", "Gustav Mahler Youth Orchestra", "1", "GMJO", "1987");
INSERT INTO "orchestra" VALUES ("150", "West-Eastern Divan Orchestra re-founded", "8", "Warner Classics", "2009");