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

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





INSERT INTO "concert" VALUES ("1", "2014");
INSERT INTO "concert" VALUES ("2", "2014");
INSERT INTO "concert" VALUES ("3", "2015");
INSERT INTO "concert" VALUES ("4", "2014");
INSERT INTO "concert" VALUES ("5", "2015");
INSERT INTO "concert" VALUES ("6", "2016");
INSERT INTO "concert" VALUES ("7", "2016");
INSERT INTO "concert" VALUES ("8", "2016");
INSERT INTO "concert" VALUES ("9", "2017");
INSERT INTO "concert" VALUES ("10", "2017");
INSERT INTO "singer" VALUES ("1", "1992");
INSERT INTO "singer" VALUES ("2", "2008");
INSERT INTO "singer" VALUES ("3", "2013");
INSERT INTO "singer" VALUES ("4", "2003");
INSERT INTO "singer" VALUES ("5", "2014");
INSERT INTO "singer" VALUES ("6", "2016");
INSERT INTO "stadium" VALUES ("1", "Stark's Park");
INSERT INTO "stadium" VALUES ("2", "Somerset Park");
INSERT INTO "stadium" VALUES ("3", "Bayview Stadium");
INSERT INTO "stadium" VALUES ("4", "Hampden Park");
INSERT INTO "stadium" VALUES ("5", "Forthbank Stadium");
INSERT INTO "stadium" VALUES ("6", "Gayfield Park");
INSERT INTO "stadium" VALUES ("7", "Recreation Park");
INSERT INTO "stadium" VALUES ("8", "Balmoor");
INSERT INTO "stadium" VALUES ("9", "Glebe Park");
INSERT INTO "stadium" VALUES ("10", "Firhill Stadium");