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

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

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





INSERT INTO "conductor" VALUES ("1", "Leonard Bernstein", "40");
INSERT INTO "conductor" VALUES ("2", "Marin Alsop", "30");
INSERT INTO "conductor" VALUES ("3", "Gustavo Dudamel", "15");
INSERT INTO "conductor" VALUES ("4", "Simon Rattle", "45");
INSERT INTO "conductor" VALUES ("5", "Valery Gergiev", "50");
INSERT INTO "conductor" VALUES ("6", "Riccardo Muti", "55");
INSERT INTO "conductor" VALUES ("7", "Claudio Abbado", "0");
INSERT INTO "conductor" VALUES ("8", "Seiji Ozawa", "55");
INSERT INTO "conductor" VALUES ("9", "Zubin Mehta", "53");
INSERT INTO "conductor" VALUES ("10", "Daniel Barenboim", "52");
INSERT INTO "orchestra" VALUES ("1", "Berlin Philharmonic", "1882");
INSERT INTO "orchestra" VALUES ("2", "Vienna Philharmonic", "1842");
INSERT INTO "orchestra" VALUES ("3", "New York Philharmonic", "1842");
INSERT INTO "orchestra" VALUES ("4", "London Symphony Orchestra", "1904");
INSERT INTO "orchestra" VALUES ("5", "Chicago Symphony Orchestra", "1891");
INSERT INTO "orchestra" VALUES ("6", "Los Angeles Philharmonic", "1919");
INSERT INTO "orchestra" VALUES ("7", "Boston Symphony Orchestra", "1881");
INSERT INTO "orchestra" VALUES ("8", "San Francisco Symphony", "1911");
INSERT INTO "orchestra" VALUES ("9", "Royal Concertgebouw Orchestra", "1888");
INSERT INTO "orchestra" VALUES ("10", "Cleveland Orchestra", "1918");
INSERT INTO "performance" VALUES ("1", "Symphony");
INSERT INTO "performance" VALUES ("2", "Concerto");
INSERT INTO "performance" VALUES ("3", "Opera");
INSERT INTO "performance" VALUES ("4", "Ballet");
INSERT INTO "performance" VALUES ("5", "Chamber Music");
INSERT INTO "performance" VALUES ("6", "Oratorio");
INSERT INTO "performance" VALUES ("7", "Recital");
INSERT INTO "performance" VALUES ("8", "Festival");
INSERT INTO "performance" VALUES ("9", "Overture");
INSERT INTO "performance" VALUES ("10", "Suite");