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 "city" (
"ID" INT,
"Population" INT,
PRIMARY KEY ("ID")
);

CREATE TABLE "country" (
"Code" CHAR(3),
"Continent" TEXT,
"Region" CHAR(26),
"SurfaceArea" FLOAT,
"LifeExpectancy" FLOAT,
PRIMARY KEY ("Code")
);





INSERT INTO "city" VALUES ("1", "1000000");
INSERT INTO "city" VALUES ("2", "500000");
INSERT INTO "city" VALUES ("3", "2000000");
INSERT INTO "city" VALUES ("4", "750000");
INSERT INTO "city" VALUES ("5", "1200000");
INSERT INTO "city" VALUES ("6", "300000");
INSERT INTO "city" VALUES ("7", "450000");
INSERT INTO "city" VALUES ("8", "900000");
INSERT INTO "city" VALUES ("9", "1100000");
INSERT INTO "city" VALUES ("10", "600000");
INSERT INTO "country" VALUES ("CHN", "Asia", "Eastern Asia", "9596961.0", "76.7");
INSERT INTO "country" VALUES ("IND", "Asia", "Southern Asia", "3287263.0", "69.4");
INSERT INTO "country" VALUES ("RUS", "Europe", "Eastern Europe", "17098242.0", "72.6");
INSERT INTO "country" VALUES ("FRA", "Europe", "Western Europe", "551695.0", "82.5");
INSERT INTO "country" VALUES ("DEU", "Europe", "Western Europe", "357022.0", "81.0");
INSERT INTO "country" VALUES ("EGY", "Africa", "Northern Africa", "1002450.0", "71.8");
INSERT INTO "country" VALUES ("BRA", "South America", "South America", "8515767.0", "75.5");
INSERT INTO "country" VALUES ("JPN", "Asia", "Eastern Asia", "377975.0", "84.6");
INSERT INTO "country" VALUES ("TUR", "Asia", "Western Asia", "783562.0", "75.9");
INSERT INTO "country" VALUES ("GBR", "Europe", "Northern Europe", "242495.0", "81.2");