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", "2010");
INSERT INTO "concert" VALUES ("2", "2012");
INSERT INTO "concert" VALUES ("3", "2015");
INSERT INTO "concert" VALUES ("4", "2018");
INSERT INTO "concert" VALUES ("5", "2020");
INSERT INTO "singer" VALUES ("1", "France", "2001", "22");
INSERT INTO "singer" VALUES ("2", "France", "1995", "45");
INSERT INTO "singer" VALUES ("3", "France", "2010", "17");
INSERT INTO "singer" VALUES ("4", "France", "1980", "78");
INSERT INTO "singer" VALUES ("5", "France", "2005", "30");
INSERT INTO "singer" VALUES ("6", "France", "2018", "15");
INSERT INTO "singer" VALUES ("7", "France", "2023", "null");
INSERT INTO "singer" VALUES ("8", "United States", "2012", "40");
INSERT INTO "singer" VALUES ("9", "United Kingdom", "2000", "55");
INSERT INTO "singer" VALUES ("10", "Germany", "2015", "33");
INSERT INTO "singer" VALUES ("11", "France", "1990", "60");
INSERT INTO "singer" VALUES ("12", "France", "2003", "5");
INSERT INTO "singer" VALUES ("13", "France", "2019", "1");
INSERT INTO "singer" VALUES ("14", "Italy", "2011", "28");
INSERT INTO "singer" VALUES ("15", "France", "2007", "70");
INSERT INTO "stadium" VALUES ("1", "Paris");
INSERT INTO "stadium" VALUES ("2", "Lyon");
INSERT INTO "stadium" VALUES ("3", "Marseille");
INSERT INTO "stadium" VALUES ("4", "Toulouse");
INSERT INTO "stadium" VALUES ("5", "Nice");