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





INSERT INTO "city" VALUES ("1", "1000000");
INSERT INTO "city" VALUES ("2", "500000");
INSERT INTO "city" VALUES ("3", "200000");
INSERT INTO "city" VALUES ("4", "1500000");
INSERT INTO "city" VALUES ("5", "750000");
INSERT INTO "city" VALUES ("6", "300000");
INSERT INTO "city" VALUES ("7", "1200000");
INSERT INTO "city" VALUES ("8", "900000");
INSERT INTO "city" VALUES ("9", "400000");
INSERT INTO "city" VALUES ("10", "600000");
INSERT INTO "country" VALUES ("USA", "North America", "North America", "9833520.0", "331000000");
INSERT INTO "country" VALUES ("CAN", "North America", "North America", "9984670.0", "38000000");
INSERT INTO "country" VALUES ("MEX", "North America", "North America", "1972550.0", "128000000");
INSERT INTO "country" VALUES ("CUB", "North America", "Caribbean", "109884.0", "11300000");
INSERT INTO "country" VALUES ("JAM", "North America", "Caribbean", "10991.0", "2900000");
INSERT INTO "country" VALUES ("HTI", "North America", "Caribbean", "27750.0", "11400000");
INSERT INTO "country" VALUES ("DOM", "North America", "Caribbean", "48671.0", "10800000");
INSERT INTO "country" VALUES ("BRA", "South America", "South America", "8515767.0", "212000000");
INSERT INTO "country" VALUES ("ARG", "South America", "South America", "2780400.0", "45000000");
INSERT INTO "country" VALUES ("COL", "South America", "South America", "1141748.0", "50000000");
INSERT INTO "country" VALUES ("GBR", "Europe", "Western Europe", "243610.0", "67000000");
INSERT INTO "country" VALUES ("FRA", "Europe", "Western Europe", "551695.0", "65000000");
INSERT INTO "country" VALUES ("DEU", "Europe", "Western Europe", "357022.0", "83000000");
INSERT INTO "country" VALUES ("JPN", "Asia", "Eastern Asia", "377975.0", "126000000");
INSERT INTO "country" VALUES ("CHN", "Asia", "Eastern Asia", "9596961.0", "1440000000");
INSERT INTO "country" VALUES ("IND", "Asia", "Southern Asia", "3287590.0", "1380000000");
INSERT INTO "country" VALUES ("AUS", "Oceania", "Australia and New Zealand", "7692024.0", "25000000");
INSERT INTO "country" VALUES ("NZL", "Oceania", "Australia and New Zealand", "268838.0", "5000000");
INSERT INTO "country" VALUES ("GRD", "North America", "Caribbean", "344.0", "112000");
INSERT INTO "country" VALUES ("BHS", "North America", "Caribbean", "13878.0", "390000");
INSERT INTO "country" VALUES ("TTO", "North America", "Caribbean", "5131.0", "1400000");
INSERT INTO "country" VALUES ("BRB", "North America", "Caribbean", "430.0", "287000");
INSERT INTO "country" VALUES ("LCA", "North America", "Caribbean", "616.0", "184000");
INSERT INTO "country" VALUES ("VCT", "North America", "Caribbean", "389.0", "110000");
INSERT INTO "country" VALUES ("ATG", "North America", "Caribbean", "442.0", "97000");
INSERT INTO "country" VALUES ("KNA", "North America", "Caribbean", "261.0", "53000");
INSERT INTO "country" VALUES ("DMA", "North America", "Caribbean", "751.0", "72000");
INSERT INTO "country" VALUES ("BLZ", "North America", "Central America", "22966.0", "400000");
INSERT INTO "country" VALUES ("GUY", "South America", "South America", "214969.0", "780000");
INSERT INTO "country" VALUES ("SUR", "South America", "South America", "163820.0", "580000");