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", "1998");
INSERT INTO "conductor" VALUES ("4", "2010");
INSERT INTO "conductor" VALUES ("5", "1985");
INSERT INTO "orchestra" VALUES ("1", "Sony Music", "1995.0", "CD");
INSERT INTO "orchestra" VALUES ("2", "Universal Music Group", "2000.0", "Vinyl");
INSERT INTO "orchestra" VALUES ("3", "Warner Music Group", "2005.0", "Digital");
INSERT INTO "orchestra" VALUES ("4", "Sony Music", "2010.0", "CD");
INSERT INTO "orchestra" VALUES ("5", "Universal Music Group", "1998.0", "Digital");
INSERT INTO "orchestra" VALUES ("6", "BMG", "2002.0", "CD");
INSERT INTO "orchestra" VALUES ("7", "BMG", "2004.0", "Vinyl");
INSERT INTO "orchestra" VALUES ("8", "EMI", "1999.0", "Digital");
INSERT INTO "orchestra" VALUES ("9", "EMI", "2006.0", "CD");
INSERT INTO "orchestra" VALUES ("10", "Sony Music", "2001.0", "Vinyl");
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.1");
INSERT INTO "performance" VALUES ("5", "11.7");