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,
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", "190.5");
INSERT INTO "singer" VALUES ("2", "Bruno Mars", "175.0");
INSERT INTO "singer" VALUES ("3", "Taylor Swift", "320.0");
INSERT INTO "singer" VALUES ("4", "Ed Sheeran", "200.0");
INSERT INTO "singer" VALUES ("5", "Billie Eilish", "80.0");
INSERT INTO "singer" VALUES ("6", "Elton John", "500.0");
INSERT INTO "singer" VALUES ("7", "Lady Gaga", "320.0");
INSERT INTO "singer" VALUES ("8", "Drake", "180.0");
INSERT INTO "singer" VALUES ("9", "Beyonce", "400.0");
INSERT INTO "singer" VALUES ("10", "Rihanna", "600.0");
INSERT INTO "song" VALUES ("1", "15.5", "1");
INSERT INTO "song" VALUES ("2", "10.0", "2");
INSERT INTO "song" VALUES ("3", "20.0", "1");
INSERT INTO "song" VALUES ("4", "5.0", "5");
INSERT INTO "song" VALUES ("5", "8.0", "3");
INSERT INTO "song" VALUES ("6", "12.0", "1");
INSERT INTO "song" VALUES ("7", "7.5", "4");
INSERT INTO "song" VALUES ("8", "9.0", "2");
INSERT INTO "song" VALUES ("9", "11.0", "1");
INSERT INTO "song" VALUES ("10", "14.0", "1");