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

CREATE TABLE "country" (
"Code" CHAR(3),
"Name" CHAR(52),
"Continent" TEXT,
"Population" INT,
PRIMARY KEY ("Code")
);





INSERT INTO "city" VALUES ("1", "Kabul", "1780000");
INSERT INTO "city" VALUES ("2", "Qandahar", "237500");
INSERT INTO "city" VALUES ("3", "Herat", "186800");
INSERT INTO "city" VALUES ("4", "Mazar-e-Sharif", "237600");
INSERT INTO "city" VALUES ("5", "Amsterdam", "731200");
INSERT INTO "city" VALUES ("6", "Rotterdam", "593321");
INSERT INTO "city" VALUES ("7", "Haag", "440900");
INSERT INTO "city" VALUES ("8", "Utrecht", "234323");
INSERT INTO "city" VALUES ("9", "Eindhoven", "201843");
INSERT INTO "city" VALUES ("10", "Tilburg", "193238");
INSERT INTO "city" VALUES ("11", "Groningen", "172711");
INSERT INTO "city" VALUES ("12", "Breda", "167673");
INSERT INTO "city" VALUES ("13", "Apeldoorn", "153491");
INSERT INTO "city" VALUES ("14", "Nijmegen", "152463");
INSERT INTO "city" VALUES ("15", "Enschede", "149527");
INSERT INTO "city" VALUES ("16", "Haarlem", "148764");
INSERT INTO "city" VALUES ("17", "Arnhem", "138020");
INSERT INTO "city" VALUES ("18", "Zaanstad", "135621");
INSERT INTO "city" VALUES ("19", "Amersfoort", "126270");
INSERT INTO "city" VALUES ("20", "Leiden", "117196");
INSERT INTO "city" VALUES ("21", "Dordrecht", "116209");
INSERT INTO "city" VALUES ("22", "Zoetermeer", "110987");
INSERT INTO "city" VALUES ("23", "Maastricht", "122087");
INSERT INTO "city" VALUES ("24", "Zwolle", "105819");
INSERT INTO "city" VALUES ("25", "Almere", "142465");
INSERT INTO "city" VALUES ("26", "Delft", "96093");
INSERT INTO "city" VALUES ("27", "Heerlen", "95053");
INSERT INTO "city" VALUES ("28", "Den Bosch", "129170");
INSERT INTO "city" VALUES ("29", "Alkmaar", "92713");
INSERT INTO "city" VALUES ("30", "Emmen", "105972");
INSERT INTO "city" VALUES ("31", "Westland", "83358");
INSERT INTO "city" VALUES ("32", "Delft", "96093");
INSERT INTO "city" VALUES ("33", "Heerlen", "95053");
INSERT INTO "city" VALUES ("34", "Den Bosch", "129170");
INSERT INTO "city" VALUES ("35", "Alkmaar", "92713");
INSERT INTO "city" VALUES ("36", "Emmen", "105972");
INSERT INTO "city" VALUES ("37", "Westland", "83358");
INSERT INTO "country" VALUES ("AFG", "Afghanistan", "Asia", "22720000");
INSERT INTO "country" VALUES ("NLD", "Netherlands", "Europe", "15864000");
INSERT INTO "country" VALUES ("CHN", "China", "Asia", "1277558000");
INSERT INTO "country" VALUES ("IND", "India", "Asia", "1013662000");
INSERT INTO "country" VALUES ("USA", "United States", "North America", "278357000");
INSERT INTO "country" VALUES ("IDN", "Indonesia", "Asia", "212107000");
INSERT INTO "country" VALUES ("BRA", "Brazil", "South America", "170115000");
INSERT INTO "country" VALUES ("PAK", "Pakistan", "Asia", "156483000");
INSERT INTO "country" VALUES ("RUS", "Russian Federation", "Europe", "146934000");
INSERT INTO "country" VALUES ("JPN", "Japan", "Asia", "126714000");
INSERT INTO "country" VALUES ("BGD", "Bangladesh", "Asia", "129155000");
INSERT INTO "country" VALUES ("NGA", "Nigeria", "Africa", "111506000");
INSERT INTO "country" VALUES ("DEU", "Germany", "Europe", "82164000");
INSERT INTO "country" VALUES ("MEX", "Mexico", "North America", "98881000");
INSERT INTO "country" VALUES ("PHL", "Philippines", "Asia", "75967000");
INSERT INTO "country" VALUES ("VNM", "Vietnam", "Asia", "79832000");
INSERT INTO "country" VALUES ("EGY", "Egypt", "Africa", "68470000");
INSERT INTO "country" VALUES ("ETH", "Ethiopia", "Africa", "62565000");
INSERT INTO "country" VALUES ("IRN", "Iran", "Asia", "67467000");
INSERT INTO "country" VALUES ("TUR", "Turkey", "Asia", "66591000");
INSERT INTO "country" VALUES ("FRA", "France", "Europe", "59226000");
INSERT INTO "country" VALUES ("GBR", "United Kingdom", "Europe", "59623000");
INSERT INTO "country" VALUES ("ITA", "Italy", "Europe", "57680000");
INSERT INTO "country" VALUES ("ZAR", "Congo, The Democratic Republic of the", "Africa", "50457000");
INSERT INTO "country" VALUES ("THA", "Thailand", "Asia", "61399000");
INSERT INTO "country" VALUES ("KOR", "South Korea", "Asia", "46844000");
INSERT INTO "country" VALUES ("UKR", "Ukraine", "Europe", "50456000");
INSERT INTO "country" VALUES ("MMR", "Myanmar", "Asia", "45611000");
INSERT INTO "country" VALUES ("COL", "Colombia", "South America", "42321000");
INSERT INTO "country" VALUES ("ESP", "Spain", "Europe", "39441000");
INSERT INTO "country" VALUES ("ARG", "Argentina", "South America", "37032000");
INSERT INTO "country" VALUES ("POL", "Poland", "Europe", "38654000");
INSERT INTO "country" VALUES ("CAN", "Canada", "North America", "31147000");
INSERT INTO "country" VALUES ("DZA", "Algeria", "Africa", "31471000");
INSERT INTO "country" VALUES ("SDN", "Sudan", "Africa", "30921000");
INSERT INTO "country" VALUES ("MAR", "Morocco", "Africa", "29891000");
INSERT INTO "country" VALUES ("PER", "Peru", "South America", "27012000");
INSERT INTO "country" VALUES ("UZB", "Uzbekistan", "Asia", "24318000");
INSERT INTO "country" VALUES ("VEN", "Venezuela", "South America", "24170000");
INSERT INTO "country" VALUES ("SAU", "Saudi Arabia", "Asia", "21607000");
INSERT INTO "country" VALUES ("PRK", "North Korea", "Asia", "23968000");