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", "John Smith", "United States");
INSERT INTO "singer" VALUES ("3", "Maria Garcia", "Spain");
INSERT INTO "singer" VALUES ("4", "Pierre Martin", "France");
INSERT INTO "singer" VALUES ("5", "Liu Wei", "China");
INSERT INTO "singer" VALUES ("6", "Anna Müller", "Germany");
INSERT INTO "singer" VALUES ("7", "Satoshi Tanaka", "Japan");
INSERT INTO "singer" VALUES ("8", "Isabelle Laurent", "France");
INSERT INTO "singer" VALUES ("9", "David Brown", "United Kingdom");
INSERT INTO "singer" VALUES ("10", "Fatima Zahra", "Morocco");
INSERT INTO "song" VALUES ("1", "Sunrise Melody", "150000.0", "5");
INSERT INTO "song" VALUES ("2", "Ocean Breeze", "300000.0", "2");
INSERT INTO "song" VALUES ("3", "Midnight Dance", "50000.0", "15");
INSERT INTO "song" VALUES ("4", "Paris Nights", "200000.0", "3");
INSERT INTO "song" VALUES ("5", "Desert Rose", "120000.0", "7");
INSERT INTO "song" VALUES ("6", "Mountain Echo", "80000.0", "10");
INSERT INTO "song" VALUES ("7", "City Lights", "250000.0", "1");
INSERT INTO "song" VALUES ("8", "River Flow", "90000.0", "12");
INSERT INTO "song" VALUES ("9", "Golden Horizon", "400000.0", "1");
INSERT INTO "song" VALUES ("10", "Silent Whisper", "60000.0", "20");