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 "performance" (
"Performance_ID" INT,
"Type" TEXT,
"Official_ratings_(millions)" FLOAT,
"Weekly_rank" TEXT,
PRIMARY KEY ("Performance_ID")
);

CREATE TABLE "show" (
"Show_ID" INT,
"Attendance" FLOAT
);





INSERT INTO "show" VALUES ("1", "1500.0");
INSERT INTO "show" VALUES ("2", "2000.0");
INSERT INTO "show" VALUES ("3", "1200.0");
INSERT INTO "show" VALUES ("4", "800.0");
INSERT INTO "show" VALUES ("5", "3000.0");
INSERT INTO "show" VALUES ("6", "500.0");
INSERT INTO "show" VALUES ("7", "100.0");
INSERT INTO "show" VALUES ("8", "5000.0");
INSERT INTO "show" VALUES ("9", "250.0");
INSERT INTO "show" VALUES ("10", "1800.0");