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", "Ed Sheeran", "220.3");
INSERT INTO "singer" VALUES ("3", "Beyonce", "400.0");
INSERT INTO "singer" VALUES ("4", "Drake", "180.0");
INSERT INTO "singer" VALUES ("5", "Taylor Swift", "365.7");
INSERT INTO "singer" VALUES ("6", "Bruno Mars", "150.2");
INSERT INTO "singer" VALUES ("7", "Billie Eilish", "120.0");
INSERT INTO "singer" VALUES ("8", "Elton John", "450.0");
INSERT INTO "singer" VALUES ("9", "Lady Gaga", "320.0");
INSERT INTO "singer" VALUES ("10", "Kanye West", "310.0");
INSERT INTO "song" VALUES ("1", "Hello", "12.5", "1");
INSERT INTO "song" VALUES ("2", "Shape of You", "15.0", "1");
INSERT INTO "song" VALUES ("3", "Single Ladies", "10.0", "1");
INSERT INTO "song" VALUES ("4", "God's Plan", "9.5", "1");
INSERT INTO "song" VALUES ("5", "Shake It Off", "14.0", "1");
INSERT INTO "song" VALUES ("6", "Uptown Funk", "11.0", "1");
INSERT INTO "song" VALUES ("7", "Bad Guy", "8.0", "1");
INSERT INTO "song" VALUES ("8", "Rocket Man", "7.5", "2");
INSERT INTO "song" VALUES ("9", "Poker Face", "9.0", "1");
INSERT INTO "song" VALUES ("10", "Stronger", "6.0", "3");