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

CREATE TABLE "singer" (
"Singer_ID" INT,
"Song_Name" 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", "Rock Fest", "2019");
INSERT INTO "concert" VALUES ("2", "Jazz Night", "2020");
INSERT INTO "concert" VALUES ("3", "Pop Gala", "2021");
INSERT INTO "concert" VALUES ("4", "Indie Vibes", "2022");
INSERT INTO "concert" VALUES ("5", "Classical Evening", "2023");
INSERT INTO "singer" VALUES ("1", "Sunrise Melody", "2018", "30");
INSERT INTO "singer" VALUES ("2", "Moonlight Dance", "2019", "25");
INSERT INTO "singer" VALUES ("3", "Starlit Dreams", "2020", "22");
INSERT INTO "singer" VALUES ("4", "Echoes of Time", "2021", "22");
INSERT INTO "singer" VALUES ("5", "Silent Whispers", "2022", "28");
INSERT INTO "stadium" VALUES ("1", "Madison Square Garden");
INSERT INTO "stadium" VALUES ("2", "Wembley Stadium");
INSERT INTO "stadium" VALUES ("3", "Sydney Opera House");
INSERT INTO "stadium" VALUES ("4", "Tokyo Dome");
INSERT INTO "stadium" VALUES ("5", "The O2 Arena");