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

CREATE TABLE "song" (
"Song_ID" INT,
"Title" TEXT,
"Sales" FLOAT,
PRIMARY KEY ("Song_ID")
);





INSERT INTO "singer" VALUES ("1", "Adele", "1988", "UK");
INSERT INTO "singer" VALUES ("2", "Ed Sheeran", "1991", "UK");
INSERT INTO "singer" VALUES ("3", "Taylor Swift", "1989", "USA");
INSERT INTO "singer" VALUES ("4", "Beyonce", "1981", "USA");
INSERT INTO "singer" VALUES ("5", "Drake", "1986", "Canada");
INSERT INTO "singer" VALUES ("6", "Rihanna", "1988", "Barbados");
INSERT INTO "singer" VALUES ("7", "Justin Bieber", "1994", "Canada");
INSERT INTO "singer" VALUES ("8", "Ariana Grande", "1993", "USA");
INSERT INTO "singer" VALUES ("9", "Bruno Mars", "1985", "USA");
INSERT INTO "singer" VALUES ("10", "Sia", "1975", "Australia");
INSERT INTO "song" VALUES ("1", "Hello", "50000000");
INSERT INTO "song" VALUES ("2", "Shape of You", "40000000");
INSERT INTO "song" VALUES ("3", "Blank Space", "30000000");
INSERT INTO "song" VALUES ("4", "Single Ladies", "25000000");
INSERT INTO "song" VALUES ("5", "Hotline Bling", "20000000");
INSERT INTO "song" VALUES ("6", "Umbrella", "18000000");
INSERT INTO "song" VALUES ("7", "Baby", "15000000");
INSERT INTO "song" VALUES ("8", "Thank U, Next", "12000000");
INSERT INTO "song" VALUES ("9", "Uptown Funk", "28000000");
INSERT INTO "song" VALUES ("10", "Chandelier", "10000000");
INSERT INTO "song" VALUES ("11", "Someone Like You", "45000000");
INSERT INTO "song" VALUES ("12", "Thinking Out Loud", "35000000");
INSERT INTO "song" VALUES ("13", "Shake It Off", "27000000");
INSERT INTO "song" VALUES ("14", "Halo", "22000000");
INSERT INTO "song" VALUES ("15", "God's Plan", "19000000");
INSERT INTO "song" VALUES ("16", "Diamonds", "17000000");
INSERT INTO "song" VALUES ("17", "Sorry", "14000000");
INSERT INTO "song" VALUES ("18", "7 Rings", "11000000");
INSERT INTO "song" VALUES ("19", "24K Magic", "26000000");
INSERT INTO "song" VALUES ("20", "Cheap Thrills", "9000000");