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

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

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





INSERT INTO "conductor" VALUES ("1", "Ludwig van Beethoven", "German", "35");
INSERT INTO "conductor" VALUES ("2", "Marin Alsop", "American", "25");
INSERT INTO "conductor" VALUES ("3", "Gustavo Dudamel", "Venezuelan", "15");
INSERT INTO "conductor" VALUES ("4", "Riccardo Muti", "Italian", "45");
INSERT INTO "conductor" VALUES ("5", "Valery Gergiev", "Russian", "40");
INSERT INTO "conductor" VALUES ("6", "JoAnn Falletta", "American", "0");
INSERT INTO "conductor" VALUES ("7", "Simon Rattle", "British", "30");
INSERT INTO "conductor" VALUES ("8", "Zubin Mehta", "Indian", "45");
INSERT INTO "conductor" VALUES ("9", "Claudio Abbado", "Italian", "40");
INSERT INTO "conductor" VALUES ("10", "Esa-Pekka Salonen", "Finnish", "20");
INSERT INTO "conductor" VALUES ("11", "Mariss Jansons", "Latvian", "40");
INSERT INTO "conductor" VALUES ("12", "Daniel Barenboim", "Argentine-Israeli", "45");
INSERT INTO "conductor" VALUES ("13", "Seiji Ozawa", "Japanese", "35");
INSERT INTO "conductor" VALUES ("14", "Pierre Boulez", "French", "0");
INSERT INTO "conductor" VALUES ("15", "Herbert von Karajan", "Austrian", "50");