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

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

CREATE TABLE "singer_in_concert" (
"concert_ID" INT,
"Singer_ID" TEXT,
PRIMARY KEY ("concert_ID", "Singer_ID"),
FOREIGN KEY ("concert_ID") REFERENCES "concert"("concert_ID")
);

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





INSERT INTO "concert" VALUES ("1", "2010");
INSERT INTO "concert" VALUES ("2", "2010");
INSERT INTO "concert" VALUES ("3", "2011");
INSERT INTO "concert" VALUES ("4", "2011");
INSERT INTO "concert" VALUES ("5", "2011");
INSERT INTO "concert" VALUES ("6", "2012");
INSERT INTO "concert" VALUES ("7", "2012");
INSERT INTO "concert" VALUES ("8", "2012");
INSERT INTO "concert" VALUES ("9", "2012");
INSERT INTO "concert" VALUES ("10", "2013");
INSERT INTO "concert" VALUES ("11", "2013");
INSERT INTO "concert" VALUES ("12", "2014");
INSERT INTO "concert" VALUES ("13", "2014");
INSERT INTO "concert" VALUES ("14", "2014");
INSERT INTO "concert" VALUES ("15", "2014");
INSERT INTO "concert" VALUES ("16", "2015");
INSERT INTO "concert" VALUES ("17", "2015");
INSERT INTO "concert" VALUES ("18", "2015");
INSERT INTO "concert" VALUES ("19", "2015");
INSERT INTO "concert" VALUES ("20", "2015");
INSERT INTO "concert" VALUES ("21", "2016");
INSERT INTO "concert" VALUES ("22", "2017");
INSERT INTO "concert" VALUES ("23", "2017");
INSERT INTO "concert" VALUES ("24", "2017");
INSERT INTO "concert" VALUES ("25", "2018");
INSERT INTO "concert" VALUES ("26", "2018");
INSERT INTO "concert" VALUES ("27", "2018");
INSERT INTO "concert" VALUES ("28", "2018");
INSERT INTO "concert" VALUES ("29", "2018");
INSERT INTO "concert" VALUES ("30", "2018");
INSERT INTO "concert" VALUES ("31", "2019");
INSERT INTO "concert" VALUES ("32", "2019");
INSERT INTO "concert" VALUES ("33", "2020");
INSERT INTO "concert" VALUES ("34", "2020");
INSERT INTO "concert" VALUES ("35", "2020");
INSERT INTO "concert" VALUES ("36", "2020");
INSERT INTO "concert" VALUES ("37", "2020");
INSERT INTO "concert" VALUES ("38", "2020");
INSERT INTO "concert" VALUES ("39", "2020");
INSERT INTO "concert" VALUES ("40", "2021");
INSERT INTO "concert" VALUES ("41", "2021");
INSERT INTO "concert" VALUES ("42", "2021");
INSERT INTO "concert" VALUES ("43", "2021");
INSERT INTO "concert" VALUES ("44", "2021");
INSERT INTO "concert" VALUES ("45", "2021");
INSERT INTO "concert" VALUES ("46", "2021");
INSERT INTO "concert" VALUES ("47", "2021");
INSERT INTO "concert" VALUES ("48", "2021");
INSERT INTO "concert" VALUES ("49", "2022");
INSERT INTO "concert" VALUES ("50", "2023");
INSERT INTO "singer" VALUES ("1", "2010");
INSERT INTO "singer" VALUES ("2", "2011");
INSERT INTO "singer" VALUES ("3", "2012");
INSERT INTO "singer" VALUES ("4", "2013");
INSERT INTO "singer" VALUES ("5", "2014");
INSERT INTO "singer" VALUES ("6", "2015");
INSERT INTO "singer" VALUES ("7", "2016");
INSERT INTO "singer" VALUES ("8", "2017");
INSERT INTO "singer" VALUES ("9", "2018");
INSERT INTO "singer" VALUES ("10", "2019");
INSERT INTO "singer_in_concert" VALUES ("1", "1");
INSERT INTO "singer_in_concert" VALUES ("2", "2");
INSERT INTO "singer_in_concert" VALUES ("3", "3");
INSERT INTO "singer_in_concert" VALUES ("4", "4");
INSERT INTO "singer_in_concert" VALUES ("5", "5");
INSERT INTO "singer_in_concert" VALUES ("6", "6");
INSERT INTO "singer_in_concert" VALUES ("7", "7");
INSERT INTO "singer_in_concert" VALUES ("8", "8");
INSERT INTO "singer_in_concert" VALUES ("9", "9");
INSERT INTO "singer_in_concert" VALUES ("10", "10");
INSERT INTO "singer_in_concert" VALUES ("11", "1");
INSERT INTO "singer_in_concert" VALUES ("12", "2");
INSERT INTO "singer_in_concert" VALUES ("13", "3");
INSERT INTO "singer_in_concert" VALUES ("14", "4");
INSERT INTO "singer_in_concert" VALUES ("15", "5");
INSERT INTO "singer_in_concert" VALUES ("16", "6");
INSERT INTO "singer_in_concert" VALUES ("17", "7");
INSERT INTO "singer_in_concert" VALUES ("18", "8");
INSERT INTO "singer_in_concert" VALUES ("19", "9");
INSERT INTO "singer_in_concert" VALUES ("20", "10");
INSERT INTO "singer_in_concert" VALUES ("21", "1");
INSERT INTO "singer_in_concert" VALUES ("22", "2");
INSERT INTO "singer_in_concert" VALUES ("23", "3");
INSERT INTO "singer_in_concert" VALUES ("24", "4");
INSERT INTO "singer_in_concert" VALUES ("25", "5");
INSERT INTO "singer_in_concert" VALUES ("26", "6");
INSERT INTO "singer_in_concert" VALUES ("27", "7");
INSERT INTO "singer_in_concert" VALUES ("28", "8");
INSERT INTO "singer_in_concert" VALUES ("29", "9");
INSERT INTO "singer_in_concert" VALUES ("30", "10");
INSERT INTO "singer_in_concert" VALUES ("31", "1");
INSERT INTO "singer_in_concert" VALUES ("32", "2");
INSERT INTO "singer_in_concert" VALUES ("33", "3");
INSERT INTO "singer_in_concert" VALUES ("34", "4");
INSERT INTO "singer_in_concert" VALUES ("35", "5");
INSERT INTO "singer_in_concert" VALUES ("36", "6");
INSERT INTO "singer_in_concert" VALUES ("37", "7");
INSERT INTO "singer_in_concert" VALUES ("38", "8");
INSERT INTO "singer_in_concert" VALUES ("39", "9");
INSERT INTO "singer_in_concert" VALUES ("40", "10");
INSERT INTO "singer_in_concert" VALUES ("41", "1");
INSERT INTO "singer_in_concert" VALUES ("42", "2");
INSERT INTO "singer_in_concert" VALUES ("43", "3");
INSERT INTO "singer_in_concert" VALUES ("44", "4");
INSERT INTO "singer_in_concert" VALUES ("45", "5");
INSERT INTO "singer_in_concert" VALUES ("46", "6");
INSERT INTO "singer_in_concert" VALUES ("47", "7");
INSERT INTO "singer_in_concert" VALUES ("48", "8");
INSERT INTO "singer_in_concert" VALUES ("49", "9");
INSERT INTO "singer_in_concert" VALUES ("50", "10");
INSERT INTO "stadium" VALUES ("1", "New York");
INSERT INTO "stadium" VALUES ("2", "Los Angeles");
INSERT INTO "stadium" VALUES ("3", "Chicago");
INSERT INTO "stadium" VALUES ("4", "Houston");
INSERT INTO "stadium" VALUES ("5", "Phoenix");