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

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

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





INSERT INTO "conductor" VALUES ("1", "1990");
INSERT INTO "conductor" VALUES ("2", "2005");
INSERT INTO "conductor" VALUES ("3", "1988");
INSERT INTO "conductor" VALUES ("4", "2010");
INSERT INTO "conductor" VALUES ("5", "1995");
INSERT INTO "conductor" VALUES ("6", "2000");
INSERT INTO "orchestra" VALUES ("1", "Sony Music", "1985.5", "CD");
INSERT INTO "orchestra" VALUES ("2", "Universal Music Group", "1992.0", "Vinyl");
INSERT INTO "orchestra" VALUES ("3", "Warner Music Group", "1970.0", "Cassette");
INSERT INTO "orchestra" VALUES ("4", "BMG", "2001.0", "Digital");
INSERT INTO "orchestra" VALUES ("5", "EMI", "1960.0", "CD");
INSERT INTO "orchestra" VALUES ("6", "Atlantic Records", "1947.0", "Vinyl");
INSERT INTO "orchestra" VALUES ("7", "Columbia Records", "1995.0", "Digital");
INSERT INTO "orchestra" VALUES ("8", "Decca Records", "1980.0", "CD");
INSERT INTO "orchestra" VALUES ("9", "Deutsche Grammophon", "1998.0", "Vinyl");
INSERT INTO "orchestra" VALUES ("10", "Naxos Records", "2005.0", "Digital");
INSERT INTO "performance" VALUES ("1", "12.5");
INSERT INTO "performance" VALUES ("2", "8.2");
INSERT INTO "performance" VALUES ("3", "15.0");
INSERT INTO "performance" VALUES ("4", "9.7");
INSERT INTO "performance" VALUES ("5", "11.1");
INSERT INTO "performance" VALUES ("6", "7.5");
INSERT INTO "performance" VALUES ("7", "10.0");
INSERT INTO "performance" VALUES ("8", "13.8");
INSERT INTO "performance" VALUES ("9", "6.9");
INSERT INTO "performance" VALUES ("10", "14.2");