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", "Madison Square Garden", "20000", "18000");
INSERT INTO "stadium" VALUES ("2", "Los Angeles", "Staples Center", "21000", "19000");
INSERT INTO "stadium" VALUES ("3", "Chicago", "United Center", "23000", "22000");
INSERT INTO "stadium" VALUES ("4", "Houston", "Toyota Center", "18000", "17000");
INSERT INTO "stadium" VALUES ("5", "San Francisco", "Chase Center", "19000", "18500");
INSERT INTO "stadium" VALUES ("6", "Boston", "TD Garden", "19500", "22000");
INSERT INTO "stadium" VALUES ("7", "Miami", "American Airlines Arena", "21000", "21000");
INSERT INTO "stadium" VALUES ("8", "Dallas", "American Airlines Center", "20000", "20000");
INSERT INTO "stadium" VALUES ("9", "Philadelphia", "Wells Fargo Center", "21000", "21500");
INSERT INTO "stadium" VALUES ("10", "Atlanta", "State Farm Arena", "19000", "18000");
INSERT INTO "concert" VALUES ("1", "Rock Night", "2022");
INSERT INTO "concert" VALUES ("2", "Jazz Evening", "2021");
INSERT INTO "concert" VALUES ("3", "Pop Festival", "2023");
INSERT INTO "concert" VALUES ("4", "Classical Gala", "2020");
INSERT INTO "concert" VALUES ("5", "Hip Hop Bash", "2022");
INSERT INTO "concert" VALUES ("6", "Country Fest", "2021");
INSERT INTO "concert" VALUES ("7", "Electronic Dance", "2023");
INSERT INTO "concert" VALUES ("8", "Indie Showcase", "2020");
INSERT INTO "concert" VALUES ("9", "Blues Night", "2022");
INSERT INTO "concert" VALUES ("10", "Reggae Vibes", "2021");