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

CREATE TABLE "singer" (
"Singer_ID" INT,
"Country" TEXT,
"Age" INT,
PRIMARY KEY ("Singer_ID")
);

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





INSERT INTO "concert" VALUES ("1", "2018");
INSERT INTO "concert" VALUES ("2", "2019");
INSERT INTO "concert" VALUES ("3", "2020");
INSERT INTO "concert" VALUES ("4", "2021");
INSERT INTO "concert" VALUES ("5", "2022");
INSERT INTO "singer" VALUES ("1", "USA", "19");
INSERT INTO "singer" VALUES ("2", "USA", "20");
INSERT INTO "singer" VALUES ("3", "USA", "21");
INSERT INTO "singer" VALUES ("4", "France", "18");
INSERT INTO "singer" VALUES ("5", "France", "22");
INSERT INTO "singer" VALUES ("6", "France", "25");
INSERT INTO "singer" VALUES ("7", "Germany", "20");
INSERT INTO "singer" VALUES ("8", "Germany", "23");
INSERT INTO "singer" VALUES ("9", "Germany", "17");
INSERT INTO "singer" VALUES ("10", "Japan", "30");
INSERT INTO "singer" VALUES ("11", "Japan", "20");
INSERT INTO "singer" VALUES ("12", "Japan", "19");
INSERT INTO "singer" VALUES ("13", "Brazil", "21");
INSERT INTO "singer" VALUES ("14", "Brazil", "20");
INSERT INTO "singer" VALUES ("15", "Brazil", "18");
INSERT INTO "stadium" VALUES ("1", "New York");
INSERT INTO "stadium" VALUES ("2", "Paris");
INSERT INTO "stadium" VALUES ("3", "Berlin");
INSERT INTO "stadium" VALUES ("4", "Tokyo");
INSERT INTO "stadium" VALUES ("5", "Rio de Janeiro");