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", "100000");
INSERT INTO "city" VALUES ("2", "50000");
INSERT INTO "city" VALUES ("3", "200000");
INSERT INTO "city" VALUES ("4", "75000");
INSERT INTO "city" VALUES ("5", "150000");
INSERT INTO "city" VALUES ("6", "30000");
INSERT INTO "city" VALUES ("7", "120000");
INSERT INTO "city" VALUES ("8", "90000");
INSERT INTO "city" VALUES ("9", "60000");
INSERT INTO "city" VALUES ("10", "180000");
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", "11000000");
INSERT INTO "country" VALUES ("JAM", "North America", "Caribbean", "10991.0", "3000000");
INSERT INTO "country" VALUES ("HTI", "North America", "Caribbean", "27750.0", "11000000");
INSERT INTO "country" VALUES ("DOM", "North America", "Caribbean", "48671.0", "11000000");
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 ("EGY", "Africa", "Northern Africa", "1010408.0", "102000000");
INSERT INTO "country" VALUES ("NGA", "Africa", "Western Africa", "923768.0", "206000000");
INSERT INTO "country" VALUES ("BHS", "North America", "Caribbean", "13878.0", "400000");
INSERT INTO "country" VALUES ("TTO", "North America", "Caribbean", "5131.0", "1400000");
INSERT INTO "country" VALUES ("BRB", "North America", "Caribbean", "430.0", "280000");
INSERT INTO "country" VALUES ("GRD", "North America", "Caribbean", "344.0", "110000");
INSERT INTO "country" VALUES ("LCA", "North America", "Caribbean", "616.0", "180000");
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 ("MSR", "North America", "Caribbean", "102.0", "5000");
INSERT INTO "country" VALUES ("AIA", "North America", "Caribbean", "91.0", "15000");
INSERT INTO "country" VALUES ("VGB", "North America", "Caribbean", "151.0", "30000");
INSERT INTO "country" VALUES ("CYM", "North America", "Caribbean", "264.0", "65000");
INSERT INTO "country" VALUES ("TCA", "North America", "Caribbean", "948.0", "40000");
INSERT INTO "country" VALUES ("BMU", "North America", "North America", "54.0", "64000");
INSERT INTO "country" VALUES ("GLP", "North America", "Caribbean", "1628.0", "400000");
INSERT INTO "country" VALUES ("MTQ", "North America", "Caribbean", "1128.0", "370000");
INSERT INTO "country" VALUES ("SXM", "North America", "Caribbean", "34.0", "40000");
INSERT INTO "country" VALUES ("ABW", "North America", "Caribbean", "180.0", "100000");
INSERT INTO "country" VALUES ("CUW", "North America", "Caribbean", "444.0", "160000");
INSERT INTO "country" VALUES ("SXM", "North America", "Caribbean", "34.0", "40000");
INSERT INTO "country" VALUES ("BES", "North America", "Caribbean", "328.0", "25000");
INSERT INTO "country" VALUES ("VIR", "North America", "Caribbean", "346.0", "100000");
INSERT INTO "country" VALUES ("PRI", "North America", "Caribbean", "9104.0", "3200000");
INSERT INTO "country" VALUES ("BLZ", "North America", "Central America", "22966.0", "400000");
INSERT INTO "country" VALUES ("GTM", "North America", "Central America", "108889.0", "18000000");
INSERT INTO "country" VALUES ("HND", "North America", "Central America", "112492.0", "10000000");
INSERT INTO "country" VALUES ("SLV", "North America", "Central America", "21041.0", "6500000");
INSERT INTO "country" VALUES ("NIC", "North America", "Central America", "130373.0", "6600000");
INSERT INTO "country" VALUES ("CRI", "North America", "Central America", "51100.0", "5000000");
INSERT INTO "country" VALUES ("PAN", "North America", "Central America", "75417.0", "4300000");