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,
"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", "150.5", "United States");
INSERT INTO "singer" VALUES ("2", "200.0", "United States");
INSERT INTO "singer" VALUES ("3", "50.0", "United Kingdom");
INSERT INTO "singer" VALUES ("4", "75.5", "United Kingdom");
INSERT INTO "singer" VALUES ("5", "120.0", "Canada");
INSERT INTO "singer" VALUES ("6", "120.0", "Canada");
INSERT INTO "singer" VALUES ("7", "0.0", "Australia");
INSERT INTO "singer" VALUES ("8", "300.0", "Australia");
INSERT INTO "singer" VALUES ("9", "300.0", "Australia");
INSERT INTO "singer" VALUES ("10", "85.0", "France");
INSERT INTO "song" VALUES ("1", "5000000", "1");
INSERT INTO "song" VALUES ("2", "3000000", "5");
INSERT INTO "song" VALUES ("3", "1000000", "10");
INSERT INTO "song" VALUES ("4", "2000000", "3");
INSERT INTO "song" VALUES ("5", "1500000", "7");
INSERT INTO "song" VALUES ("6", "2500000", "2");
INSERT INTO "song" VALUES ("7", "0", "100");
INSERT INTO "song" VALUES ("8", "10000000", "1");
INSERT INTO "song" VALUES ("9", "750000", "15");
INSERT INTO "song" VALUES ("10", "500000", "20");