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", "150000");
INSERT INTO "city" VALUES ("2", "Gelderland", "85000");
INSERT INTO "city" VALUES ("3", "Gelderland", "5000");
INSERT INTO "city" VALUES ("4", "Utrecht", "120000");
INSERT INTO "city" VALUES ("5", "North Holland", "200000");
INSERT INTO "city" VALUES ("6", "Gelderland", "30000");
INSERT INTO "city" VALUES ("7", "South Holland", "180000");
INSERT INTO "city" VALUES ("8", "Gelderland", "0");
INSERT INTO "city" VALUES ("9", "Gelderland", "45000");
INSERT INTO "city" VALUES ("10", "Limburg", "90000");
INSERT INTO "country" VALUES ("NLD", "Europe", "17000000", "1");
INSERT INTO "country" VALUES ("BEL", "Europe", "11500000", "4");
INSERT INTO "country" VALUES ("DEU", "Europe", "83000000", "7");
INSERT INTO "country" VALUES ("FRA", "Europe", "67000000", "5");
INSERT INTO "country" VALUES ("ESP", "Europe", "47000000", "10");