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





INSERT INTO "city" VALUES ("1", "Gelderland", "500000");
INSERT INTO "city" VALUES ("2", "Gelderland", "750000");
INSERT INTO "city" VALUES ("3", "Gelderland", "0");
INSERT INTO "city" VALUES ("4", "Gelderland", "NULL");
INSERT INTO "city" VALUES ("5", "Utrecht", "300000");
INSERT INTO "city" VALUES ("6", "Utrecht", "450000");
INSERT INTO "city" VALUES ("7", "North Holland", "1200000");
INSERT INTO "city" VALUES ("8", "North Holland", "NULL");
INSERT INTO "city" VALUES ("9", "South Holland", "900000");
INSERT INTO "city" VALUES ("10", "South Holland", "850000");
INSERT INTO "city" VALUES ("11", "Limburg", "NULL");
INSERT INTO "city" VALUES ("12", "Limburg", "200000");
INSERT INTO "city" VALUES ("13", "Gelderland", "100000");
INSERT INTO "city" VALUES ("14", "Gelderland", "250000");
INSERT INTO "city" VALUES ("15", "Friesland", "150000");
INSERT INTO "country" VALUES ("NLD", "Europe", "17000000", "2");
INSERT INTO "country" VALUES ("BEL", "Europe", "11500000", "5");
INSERT INTO "country" VALUES ("DEU", "Europe", "83000000", "7");
INSERT INTO "country" VALUES ("FRA", "Europe", "67000000", "9");
INSERT INTO "country" VALUES ("ESP", "Europe", "47000000", "11");