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

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





INSERT INTO "singer" VALUES ("1", "Adele", "220.0", "UK");
INSERT INTO "singer" VALUES ("2", "Ed Sheeran", "200.0", "UK");
INSERT INTO "singer" VALUES ("3", "Taylor Swift", "400.0", "USA");
INSERT INTO "singer" VALUES ("4", "Beyonce", "500.0", "USA");
INSERT INTO "singer" VALUES ("5", "Drake", "250.0", "Canada");
INSERT INTO "singer" VALUES ("6", "Celine Dion", "800.0", "Canada");
INSERT INTO "singer" VALUES ("7", "Rihanna", "1700.0", "Barbados");
INSERT INTO "singer" VALUES ("8", "Justin Bieber", "300.0", "Canada");
INSERT INTO "singer" VALUES ("9", "Elton John", "550.0", "UK");
INSERT INTO "singer" VALUES ("10", "Madonna", "850.0", "USA");
INSERT INTO "song" VALUES ("1", "25.5", "1.0");
INSERT INTO "song" VALUES ("2", "18.2", "3.0");
INSERT INTO "song" VALUES ("3", "30.1", "1.0");
INSERT INTO "song" VALUES ("4", "22.0", "2.0");
INSERT INTO "song" VALUES ("5", "15.7", "5.0");
INSERT INTO "song" VALUES ("6", "40.0", "1.0");
INSERT INTO "song" VALUES ("7", "10.5", "10.0");
INSERT INTO "song" VALUES ("8", "28.9", "1.0");
INSERT INTO "song" VALUES ("9", "12.3", "7.0");
INSERT INTO "song" VALUES ("10", "35.6", "1.0");