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,
"Citizenship" TEXT,
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", "Alice Dupont", "France");
INSERT INTO "singer" VALUES ("2", "Bob Marley", "Jamaica");
INSERT INTO "singer" VALUES ("3", "Clara Oswald", "United Kingdom");
INSERT INTO "singer" VALUES ("4", "David Guetta", "France");
INSERT INTO "singer" VALUES ("5", "Eva Mendes", "Spain");
INSERT INTO "singer" VALUES ("6", "Fiona Apple", "NULL");
INSERT INTO "singer" VALUES ("7", "George Michael", "United Kingdom");
INSERT INTO "singer" VALUES ("8", "Hana Kimura", "Japan");
INSERT INTO "singer" VALUES ("9", "Isabelle Laurent", "France Canada");
INSERT INTO "singer" VALUES ("10", "Jack White", "United States");
INSERT INTO "song" VALUES ("1", "Sunshine", "500000.0", "1");
INSERT INTO "song" VALUES ("2", "Moonlight", "300000.0", "5");
INSERT INTO "song" VALUES ("3", "Starlight", "150000.0", "10");
INSERT INTO "song" VALUES ("4", "Rainfall", "750000.0", "2");
INSERT INTO "song" VALUES ("5", "Thunder", "200000.0", "8");
INSERT INTO "song" VALUES ("6", "Breeze", "100000.0", "15");
INSERT INTO "song" VALUES ("7", "Firefly", "450000.0", "3");
INSERT INTO "song" VALUES ("8", "Echoes", "600000.0", "4");
INSERT INTO "song" VALUES ("9", "Whisper", "250000.0", "7");
INSERT INTO "song" VALUES ("10", "Harmony", "350000.0", "6");