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,
"Song_release_year" TEXT,
"Age" INT,
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 "singer" VALUES ("1", "France", "2010", "25");
INSERT INTO "singer" VALUES ("2", "France", "2012", "30");
INSERT INTO "singer" VALUES ("3", "France", "2014", "22");
INSERT INTO "singer" VALUES ("4", "France", "2016", "40");
INSERT INTO "singer" VALUES ("5", "France", "2018", "18");
INSERT INTO "singer" VALUES ("6", "USA", "2011", "35");
INSERT INTO "singer" VALUES ("7", "Germany", "2013", "28");
INSERT INTO "singer" VALUES ("8", "France", "2015", "50");
INSERT INTO "singer" VALUES ("9", "France", "2017", "19");
INSERT INTO "singer" VALUES ("10", "UK", "2019", "27");
INSERT INTO "stadium" VALUES ("1", "Paris");
INSERT INTO "stadium" VALUES ("2", "Lyon");
INSERT INTO "stadium" VALUES ("3", "Marseille");
INSERT INTO "stadium" VALUES ("4", "Nice");
INSERT INTO "stadium" VALUES ("5", "Toulouse");