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

CREATE TABLE "singer" (
"Singer_ID" INT,
"Name" TEXT,
"Country" TEXT,
"Age" INT,
PRIMARY KEY ("Singer_ID")
);

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





INSERT INTO "concert" VALUES ("1", "Summer Fest", "2018");
INSERT INTO "concert" VALUES ("2", "Winter Gala", "2019");
INSERT INTO "concert" VALUES ("3", "Spring Jam", "2020");
INSERT INTO "concert" VALUES ("4", "Autumn Beats", "2021");
INSERT INTO "concert" VALUES ("5", "New Year Bash", "2022");
INSERT INTO "singer" VALUES ("1", "Alice Monroe", "USA", "45");
INSERT INTO "singer" VALUES ("2", "Carlos Vega", "Spain", "52");
INSERT INTO "singer" VALUES ("3", "Yuki Tanaka", "Japan", "38");
INSERT INTO "singer" VALUES ("4", "Fatima Zahra", "Morocco", "52");
INSERT INTO "singer" VALUES ("5", "Liam O'Connor", "Ireland", "29");
INSERT INTO "singer" VALUES ("6", "Nina Petrova", "Russia", "45");
INSERT INTO "singer" VALUES ("7", "Mohamed Ali", "Egypt", "60");
INSERT INTO "singer" VALUES ("8", "Sofia Rossi", "Italy", "60");
INSERT INTO "singer" VALUES ("9", "John Smith", "UK", "22");
INSERT INTO "singer" VALUES ("10", "Emma Johnson", "Canada", "38");
INSERT INTO "stadium" VALUES ("1", "New York");
INSERT INTO "stadium" VALUES ("2", "Madrid");
INSERT INTO "stadium" VALUES ("3", "Tokyo");
INSERT INTO "stadium" VALUES ("4", "Casablanca");
INSERT INTO "stadium" VALUES ("5", "Dublin");
INSERT INTO "stadium" VALUES ("6", "Moscow");
INSERT INTO "stadium" VALUES ("7", "Cairo");
INSERT INTO "stadium" VALUES ("8", "Rome");
INSERT INTO "stadium" VALUES ("9", "London");
INSERT INTO "stadium" VALUES ("10", "Toronto");