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 "singer" (
"Singer_ID" INT UNIQUE,
"Name" TEXT,
"Country" TEXT,
"Song_Name" TEXT,
"Song_release_year" TEXT,
"Age" INT,
PRIMARY KEY ("Singer_ID")
);

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





INSERT INTO "singer" VALUES ("1", "Adele", "UK", "Hello", "2015", "33");
INSERT INTO "singer" VALUES ("2", "Ed Sheeran", "UK", "Shape of You", "2017", "30");
INSERT INTO "singer" VALUES ("3", "Taylor Swift", "USA", "Blank Space", "2014", "31");
INSERT INTO "singer" VALUES ("4", "Justin Bieber", "Canada", "Sorry", "2015", "27");
INSERT INTO "singer" VALUES ("5", "Beyonce", "USA", "Single Ladies", "2008", "40");
INSERT INTO "singer" VALUES ("6", "Rihanna", "Barbados", "Umbrella", "2007", "33");
INSERT INTO "singer" VALUES ("7", "Drake", "Canada", "Hotline Bling", "2015", "35");
INSERT INTO "singer" VALUES ("8", "Ariana Grande", "USA", "Thank U, Next", "2018", "28");
INSERT INTO "singer" VALUES ("9", "Shawn Mendes", "Canada", "Stitches", "2015", "23");
INSERT INTO "singer" VALUES ("10", "Billie Eilish", "USA", "Bad Guy", "2019", "19");
INSERT INTO "singer" VALUES ("11", "Dua Lipa", "UK", "New Rules", "2017", "26");
INSERT INTO "singer" VALUES ("12", "The Weeknd", "Canada", "Blinding Lights", "2019", "32");
INSERT INTO "singer" VALUES ("13", "Sia", "Australia", "Chandelier", "2014", "46");
INSERT INTO "singer" VALUES ("14", "Bruno Mars", "USA", "Uptown Funk", "2014", "36");
INSERT INTO "singer" VALUES ("15", "Lady Gaga", "USA", "Bad Romance", "2009", "35");
INSERT INTO "singer_in_concert" VALUES ("101", "1");
INSERT INTO "singer_in_concert" VALUES ("101", "2");
INSERT INTO "singer_in_concert" VALUES ("102", "3");
INSERT INTO "singer_in_concert" VALUES ("102", "4");
INSERT INTO "singer_in_concert" VALUES ("103", "5");
INSERT INTO "singer_in_concert" VALUES ("103", "6");
INSERT INTO "singer_in_concert" VALUES ("104", "7");
INSERT INTO "singer_in_concert" VALUES ("104", "8");
INSERT INTO "singer_in_concert" VALUES ("105", "9");
INSERT INTO "singer_in_concert" VALUES ("105", "10");
INSERT INTO "singer_in_concert" VALUES ("106", "11");
INSERT INTO "singer_in_concert" VALUES ("106", "12");
INSERT INTO "singer_in_concert" VALUES ("107", "13");
INSERT INTO "singer_in_concert" VALUES ("107", "14");
INSERT INTO "singer_in_concert" VALUES ("108", "15");
INSERT INTO "singer_in_concert" VALUES ("108", "1");
INSERT INTO "singer_in_concert" VALUES ("109", "2");
INSERT INTO "singer_in_concert" VALUES ("109", "3");
INSERT INTO "singer_in_concert" VALUES ("110", "4");
INSERT INTO "singer_in_concert" VALUES ("110", "5");