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

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

CREATE TABLE "performance" (
"Performance_ID" INT,
PRIMARY KEY ("Performance_ID")
);





INSERT INTO "conductor" VALUES ("1");
INSERT INTO "conductor" VALUES ("2");
INSERT INTO "conductor" VALUES ("3");
INSERT INTO "conductor" VALUES ("4");
INSERT INTO "conductor" VALUES ("5");
INSERT INTO "conductor" VALUES ("6");
INSERT INTO "conductor" VALUES ("7");
INSERT INTO "conductor" VALUES ("8");
INSERT INTO "conductor" VALUES ("9");
INSERT INTO "conductor" VALUES ("10");
INSERT INTO "orchestra" VALUES ("1", "New York Philharmonic", "1");
INSERT INTO "orchestra" VALUES ("2", "Berlin Philharmonic", "2");
INSERT INTO "orchestra" VALUES ("3", "Vienna Philharmonic", "3");
INSERT INTO "orchestra" VALUES ("4", "London Symphony Orchestra", "4");
INSERT INTO "orchestra" VALUES ("5", "Chicago Symphony Orchestra", "5");
INSERT INTO "orchestra" VALUES ("6", "Los Angeles Philharmonic", "6");
INSERT INTO "orchestra" VALUES ("7", "Boston Symphony Orchestra", "7");
INSERT INTO "orchestra" VALUES ("8", "San Francisco Symphony", "8");
INSERT INTO "orchestra" VALUES ("9", "Royal Concertgebouw Orchestra", "9");
INSERT INTO "orchestra" VALUES ("10", "Cleveland Orchestra", "10");
INSERT INTO "orchestra" VALUES ("11", "Philadelphia Orchestra", "1");
INSERT INTO "orchestra" VALUES ("12", "Seattle Symphony", "2");
INSERT INTO "performance" VALUES ("1");
INSERT INTO "performance" VALUES ("2");
INSERT INTO "performance" VALUES ("3");
INSERT INTO "performance" VALUES ("4");
INSERT INTO "performance" VALUES ("5");
INSERT INTO "performance" VALUES ("6");
INSERT INTO "performance" VALUES ("7");
INSERT INTO "performance" VALUES ("8");
INSERT INTO "performance" VALUES ("9");
INSERT INTO "performance" VALUES ("10");