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,
"District" CHAR(20),
"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", "Gelderland", "100000");
INSERT INTO "city" VALUES ("2", "Gelderland", "150000");
INSERT INTO "city" VALUES ("3", "North Holland", "200000");
INSERT INTO "city" VALUES ("4", "Gelderland", "50000");
INSERT INTO "city" VALUES ("5", "South Holland", "300000");
INSERT INTO "city" VALUES ("6", "Gelderland", "75000");
INSERT INTO "city" VALUES ("7", "Utrecht", "120000");
INSERT INTO "city" VALUES ("8", "Gelderland", "25000");
INSERT INTO "city" VALUES ("9", "North Brabant", "180000");
INSERT INTO "city" VALUES ("10", "Gelderland", "90000");
INSERT INTO "country" VALUES ("NLD", "Netherlands", "Europe", "17000000");
INSERT INTO "country" VALUES ("DEU", "Germany", "Europe", "83000000");
INSERT INTO "country" VALUES ("BEL", "Belgium", "Europe", "11500000");
INSERT INTO "country" VALUES ("FRA", "France", "Europe", "67000000");
INSERT INTO "country" VALUES ("GBR", "United Kingdom", "Europe", "68000000");
INSERT INTO "country" VALUES ("USA", "United States", "North America", "330000000");
INSERT INTO "country" VALUES ("CAN", "Canada", "North America", "38000000");
INSERT INTO "country" VALUES ("MEX", "Mexico", "North America", "128000000");
INSERT INTO "country" VALUES ("BRA", "Brazil", "South America", "215000000");
INSERT INTO "country" VALUES ("ARG", "Argentina", "South America", "45000000");