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 "singer" (
"Singer_ID" INT,
"Country" TEXT,
PRIMARY KEY ("Singer_ID")
);

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





INSERT INTO "concert" VALUES ("1", "Rock Fest", "2018");
INSERT INTO "concert" VALUES ("2", "Jazz Night", "2019");
INSERT INTO "concert" VALUES ("3", "Pop Gala", "2020");
INSERT INTO "concert" VALUES ("4", "Classical Evening", "2021");
INSERT INTO "concert" VALUES ("5", "Indie Vibes", "2022");
INSERT INTO "singer" VALUES ("1", "USA");
INSERT INTO "singer" VALUES ("2", "UK");
INSERT INTO "singer" VALUES ("3", "Canada");
INSERT INTO "singer" VALUES ("4", "Australia");
INSERT INTO "singer" VALUES ("5", "Brazil");
INSERT INTO "stadium" VALUES ("1", "New York", "Madison Square Garden", "20789");
INSERT INTO "stadium" VALUES ("2", "Los Angeles", "The Forum", "17500");
INSERT INTO "stadium" VALUES ("3", "Chicago", "United Center", "23500");
INSERT INTO "stadium" VALUES ("4", "Houston", "Toyota Center", "18000");
INSERT INTO "stadium" VALUES ("5", "San Francisco", "Chase Center", "6800");
INSERT INTO "stadium" VALUES ("6", "Seattle", "Climate Pledge Arena", "8000");
INSERT INTO "stadium" VALUES ("7", "Denver", "Ball Arena", "19500");
INSERT INTO "stadium" VALUES ("8", "Portland", "Moda Center", "12000");
INSERT INTO "stadium" VALUES ("9", "Austin", "Frank Erwin Center", "9000");
INSERT INTO "stadium" VALUES ("10", "Miami", "FTX Arena", "8500");