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,
"Is_male" BOOLEAN,
PRIMARY KEY ("Singer_ID")
);

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





INSERT INTO "concert" VALUES ("1", "2014");
INSERT INTO "concert" VALUES ("2", "2015");
INSERT INTO "concert" VALUES ("3", "2016");
INSERT INTO "concert" VALUES ("4", "2017");
INSERT INTO "concert" VALUES ("5", "2018");
INSERT INTO "concert" VALUES ("6", "2019");
INSERT INTO "singer" VALUES ("1", "USA", "45", "1");
INSERT INTO "singer" VALUES ("2", "UK", "25", "0");
INSERT INTO "singer" VALUES ("3", "Canada", "50", "1");
INSERT INTO "singer" VALUES ("4", "USA", "28", "0");
INSERT INTO "singer" VALUES ("5", "Australia", "35", "1");
INSERT INTO "singer" VALUES ("6", "UK", "42", "0");
INSERT INTO "singer" VALUES ("7", "Canada", "22", "1");
INSERT INTO "singer" VALUES ("8", "Germany", "55", "1");
INSERT INTO "singer" VALUES ("9", "Germany", "29", "0");
INSERT INTO "singer" VALUES ("10", "France", "41", "1");
INSERT INTO "singer" VALUES ("11", "France", "20", "0");
INSERT INTO "singer" VALUES ("12", "Japan", "30", "1");
INSERT INTO "singer" VALUES ("13", "Japan", "48", "0");
INSERT INTO "stadium" VALUES ("1", "New York");
INSERT INTO "stadium" VALUES ("2", "London");
INSERT INTO "stadium" VALUES ("3", "Toronto");
INSERT INTO "stadium" VALUES ("4", "Sydney");
INSERT INTO "stadium" VALUES ("5", "Berlin");
INSERT INTO "stadium" VALUES ("6", "Paris");
INSERT INTO "stadium" VALUES ("7", "Tokyo");