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 "concert" (
"concert_ID" INT,
"Theme" TEXT,
"Year" TEXT,
PRIMARY KEY ("concert_ID")
);

CREATE TABLE "stadium" (
"Stadium_ID" INT,
"Location" TEXT,
"Name" TEXT,
"Capacity" INT,
"Average" INT,
PRIMARY KEY ("Stadium_ID")
);





INSERT INTO "stadium" VALUES ("1", "New York", "Liberty Arena", "20000", "15000");
INSERT INTO "stadium" VALUES ("2", "Los Angeles", "Sunset Dome", "25000", "25000");
INSERT INTO "stadium" VALUES ("3", "Chicago", "Windy Field", "18000", "18000");
INSERT INTO "stadium" VALUES ("4", "Houston", "Bayou Stadium", "22000", "0");
INSERT INTO "stadium" VALUES ("5", "Miami", "Oceanview Park", "15000", "16000");
INSERT INTO "stadium" VALUES ("6", "Seattle", "Rain City Grounds", "17000", "12000");
INSERT INTO "stadium" VALUES ("7", "Denver", "Mile High Arena", "19000", "19000");
INSERT INTO "stadium" VALUES ("8", "Boston", "Harbor Stadium", "21000", "20500");
INSERT INTO "stadium" VALUES ("9", "Atlanta", "Peach Bowl", "23000", "23000");
INSERT INTO "stadium" VALUES ("10", "San Francisco", "Golden Gate Field", "24000", "23999");
INSERT INTO "concert" VALUES ("1", "Rock Fest", "2019");
INSERT INTO "concert" VALUES ("2", "Jazz Nights", "2020");
INSERT INTO "concert" VALUES ("3", "Pop Explosion", "2021");
INSERT INTO "concert" VALUES ("4", "Classical Evening", "2018");
INSERT INTO "concert" VALUES ("5", "Indie Vibes", "2022");