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,
"Title" TEXT,
"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.3");
INSERT INTO "singer" VALUES ("3", "Cardi B", "24.7");
INSERT INTO "singer" VALUES ("4", "Drake", "180.0");
INSERT INTO "singer" VALUES ("5", "Ed Sheeran", "220.1");
INSERT INTO "singer" VALUES ("6", "FKA twigs", "3.2");
INSERT INTO "singer" VALUES ("7", "Gwen Stefani", "150.0");
INSERT INTO "singer" VALUES ("8", "Halsey", "25.0");
INSERT INTO "singer" VALUES ("9", "Iggy Azalea", "10.0");
INSERT INTO "singer" VALUES ("10", "Janelle Monáe", "12.5");
INSERT INTO "song" VALUES ("1", "Hello", "12.3", "1");
INSERT INTO "song" VALUES ("2", "Uptown Funk", "15.0", "1");
INSERT INTO "song" VALUES ("3", "Bodak Yellow", "8.5", "1");
INSERT INTO "song" VALUES ("4", "God's Plan", "14.2", "1");
INSERT INTO "song" VALUES ("5", "Shape of You", "20.0", "1");
INSERT INTO "song" VALUES ("6", "Cellophane", "1.1", "8");
INSERT INTO "song" VALUES ("7", "Hollaback Girl", "7.0", "1");
INSERT INTO "song" VALUES ("8", "Without Me", "9.8", "1");
INSERT INTO "song" VALUES ("9", "Fancy", "6.5", "1");
INSERT INTO "song" VALUES ("10", "Tightrope", "2.0", "50");