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,
"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", "Alice Johnson", "25");
INSERT INTO "conductor" VALUES ("2", "Bob Smith", "40");
INSERT INTO "conductor" VALUES ("3", "Clara Lee", "40");
INSERT INTO "conductor" VALUES ("4", "David Kim", "15");
INSERT INTO "conductor" VALUES ("5", "Eva Martinez", "30");
INSERT INTO "orchestra" VALUES ("1", "1890.0");
INSERT INTO "orchestra" VALUES ("2", "1950.5");
INSERT INTO "orchestra" VALUES ("3", "2000.0");
INSERT INTO "orchestra" VALUES ("4", "1800.0");
INSERT INTO "orchestra" VALUES ("5", "2010.0");
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");