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 UNIQUE,
"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", "1985", "USA");
INSERT INTO "singer" VALUES ("2", "1990", "Canada");
INSERT INTO "singer" VALUES ("3", "1975", "UK");
INSERT INTO "singer" VALUES ("4", "2000", "Australia");
INSERT INTO "singer" VALUES ("5", "1960", "France");
INSERT INTO "singer" VALUES ("6", "1985", "USA");
INSERT INTO "singer" VALUES ("7", "1995", "Germany");
INSERT INTO "singer" VALUES ("8", "1980", "Brazil");
INSERT INTO "singer" VALUES ("9", "1990", "Japan");
INSERT INTO "singer" VALUES ("10", "1970", "South Korea");
INSERT INTO "song" VALUES ("1", "500000.0", "1");
INSERT INTO "song" VALUES ("2", "1500000.0", "3");
INSERT INTO "song" VALUES ("3", "750000.0", "2");
INSERT INTO "song" VALUES ("4", "200000.0", "10");
INSERT INTO "song" VALUES ("5", "1000000.0", "5");
INSERT INTO "song" VALUES ("6", "300000.0", "7");
INSERT INTO "song" VALUES ("7", "1200000.0", "4");
INSERT INTO "song" VALUES ("8", "450000.0", "8");
INSERT INTO "song" VALUES ("9", "900000.0", "6");
INSERT INTO "song" VALUES ("10", "600000.0", "9");