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,
"Birth_Year" FLOAT,
"Citizenship" TEXT,
PRIMARY KEY ("Singer_ID")
);

CREATE TABLE "song" (
"Song_ID" INT,
"Sales" FLOAT,
"Highest_Position" FLOAT,
PRIMARY KEY ("Song_ID")
);





INSERT INTO "singer" VALUES ("1", "1940", "USA");
INSERT INTO "singer" VALUES ("2", "1935", "UK");
INSERT INTO "singer" VALUES ("3", "1960", "USA");
INSERT INTO "singer" VALUES ("4", "1970", "UK");
INSERT INTO "singer" VALUES ("5", "1944", "Canada");
INSERT INTO "singer" VALUES ("6", "1956", "Canada");
INSERT INTO "singer" VALUES ("7", "1943", "France");
INSERT INTO "singer" VALUES ("8", "1965", "France");
INSERT INTO "singer" VALUES ("9", "1946", "Germany");
INSERT INTO "singer" VALUES ("10", "1954", "Germany");
INSERT INTO "song" VALUES ("1", "500000", "1");
INSERT INTO "song" VALUES ("2", "300000", "5");
INSERT INTO "song" VALUES ("3", "1000000", "2");
INSERT INTO "song" VALUES ("4", "750000", "3");
INSERT INTO "song" VALUES ("5", "200000", "10");
INSERT INTO "song" VALUES ("6", "450000", "4");
INSERT INTO "song" VALUES ("7", "600000", "6");
INSERT INTO "song" VALUES ("8", "350000", "7");
INSERT INTO "song" VALUES ("9", "800000", "8");
INSERT INTO "song" VALUES ("10", "150000", "9");