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", "The 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", "Orchestra of the Age of Enlightenment", "6", "Virgin Classics", "1986");
INSERT INTO "orchestra" VALUES ("110", "Mahler Chamber Orchestra", "1", "Harmonia Mundi", "1997");
INSERT INTO "orchestra" VALUES ("111", "West-Eastern Divan Orchestra", "8", "Warner Classics", "1999");
INSERT INTO "orchestra" VALUES ("112", "Venezuelan Youth Orchestra", "1", "Deutsche Grammophon", "2007");
INSERT INTO "orchestra" VALUES ("113", "Youth Orchestra of the Americas", "5", "YOA", "2001");
INSERT INTO "orchestra" VALUES ("114", "National Youth Orchestra of the USA", "2", "Carnegie Hall", "2013");
INSERT INTO "orchestra" VALUES ("115", "European Union Youth Orchestra", "3", "EUYO", "1976");
INSERT INTO "orchestra" VALUES ("116", "Symphony Orchestra of the National Centre for the Performing Arts", "4", "NCPA", "2010");
INSERT INTO "orchestra" VALUES ("117", "China Philharmonic Orchestra", "7", "China Record Corporation", "2000");
INSERT INTO "orchestra" VALUES ("118", "Shanghai Symphony Orchestra", "8", "Deutsche Grammophon", "1879");
INSERT INTO "orchestra" VALUES ("119", "New World Symphony", "2", "NWS", "1987");
INSERT INTO "orchestra" VALUES ("120", "Orchestre Révolutionnaire et Romantique", "6", "Philips", "1990");