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.0", "UK");
INSERT INTO "singer" VALUES ("2", "Ed Sheeran", "1991.0", "UK");
INSERT INTO "singer" VALUES ("3", "Taylor Swift", "1989.0", "USA");
INSERT INTO "singer" VALUES ("4", "Beyonce", "1981.0", "USA");
INSERT INTO "singer" VALUES ("5", "Drake", "1986.0", "Canada");
INSERT INTO "singer" VALUES ("6", "Rihanna", "1988.0", "Barbados");
INSERT INTO "singer" VALUES ("7", "Justin Bieber", "1994.0", "Canada");
INSERT INTO "singer" VALUES ("8", "Ariana Grande", "1993.0", "USA");
INSERT INTO "singer" VALUES ("9", "Bruno Mars", "1985.0", "USA");
INSERT INTO "singer" VALUES ("10", "Sia", "1975.0", "Australia");
INSERT INTO "song" VALUES ("1", "Hello", "30000000.0");
INSERT INTO "song" VALUES ("2", "Shape of You", "41500000.0");
INSERT INTO "song" VALUES ("3", "Blank Space", "12000000.0");
INSERT INTO "song" VALUES ("4", "Single Ladies", "7000000.0");
INSERT INTO "song" VALUES ("5", "Hotline Bling", "6000000.0");
INSERT INTO "song" VALUES ("6", "Umbrella", "8000000.0");
INSERT INTO "song" VALUES ("7", "Sorry", "10000000.0");
INSERT INTO "song" VALUES ("8", "Thank U, Next", "7000000.0");
INSERT INTO "song" VALUES ("9", "Uptown Funk", "20000000.0");
INSERT INTO "song" VALUES ("10", "Chandelier", "5000000.0");