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

CREATE TABLE "orchestra" (
"Orchestra_ID" INT,
"Orchestra" TEXT,
PRIMARY KEY ("Orchestra_ID")
);

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





INSERT INTO "conductor" VALUES ("1", "Leonard Bernstein", "70", "40");
INSERT INTO "conductor" VALUES ("2", "Herbert von Karajan", "81", "50");
INSERT INTO "conductor" VALUES ("3", "Gustavo Dudamel", "42", "25");
INSERT INTO "conductor" VALUES ("4", "Marin Alsop", "67", "35");
INSERT INTO "conductor" VALUES ("5", "Zubin Mehta", "87", "60");
INSERT INTO "conductor" VALUES ("6", "Daniel Barenboim", "81", "65");
INSERT INTO "conductor" VALUES ("7", "Valery Gergiev", "70", "45");
INSERT INTO "conductor" VALUES ("8", "Yannick Nézet-Séguin", "48", "20");
INSERT INTO "conductor" VALUES ("9", "Mirga Gražinytė-Tyla", "37", "15");
INSERT INTO "conductor" VALUES ("10", "Klaus Mäkelä", "27", "10");
INSERT INTO "orchestra" VALUES ("1", "New York Philharmonic");
INSERT INTO "orchestra" VALUES ("2", "Berlin Philharmonic");
INSERT INTO "orchestra" VALUES ("3", "Los Angeles Philharmonic");
INSERT INTO "orchestra" VALUES ("4", "Baltimore Symphony Orchestra");
INSERT INTO "orchestra" VALUES ("5", "Israel Philharmonic Orchestra");
INSERT INTO "orchestra" VALUES ("6", "West-Eastern Divan Orchestra");
INSERT INTO "orchestra" VALUES ("7", "Mariinsky Orchestra");
INSERT INTO "orchestra" VALUES ("8", "Philadelphia Orchestra");
INSERT INTO "orchestra" VALUES ("9", "City of Birmingham Symphony Orchestra");
INSERT INTO "orchestra" VALUES ("10", "Oslo Philharmonic");
INSERT INTO "performance" VALUES ("1", "Symphony");
INSERT INTO "performance" VALUES ("2", "Opera");
INSERT INTO "performance" VALUES ("3", "Concerto");
INSERT INTO "performance" VALUES ("4", "Ballet");
INSERT INTO "performance" VALUES ("5", "Chamber Music");
INSERT INTO "performance" VALUES ("6", "Oratorio");
INSERT INTO "performance" VALUES ("7", "Film Score");
INSERT INTO "performance" VALUES ("8", "Musical");
INSERT INTO "performance" VALUES ("9", "Jazz");
INSERT INTO "performance" VALUES ("10", "Contemporary");