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),
"SurfaceArea" FLOAT,
"Population" INT,
PRIMARY KEY ("Code")
);





INSERT INTO "city" VALUES ("1", "Gelderland", "500000");
INSERT INTO "city" VALUES ("2", "Gelderland", "1500000");
INSERT INTO "city" VALUES ("3", "Gelderland", "NULL");
INSERT INTO "city" VALUES ("4", "Gelderland", "0");
INSERT INTO "city" VALUES ("5", "Friesland", "300000");
INSERT INTO "city" VALUES ("6", "Gelderland", "250000");
INSERT INTO "city" VALUES ("7", "Limburg", "400000");
INSERT INTO "city" VALUES ("8", "Gelderland", "100000");
INSERT INTO "city" VALUES ("9", "Gelderland", "NULL");
INSERT INTO "city" VALUES ("10", "North Holland", "800000");
INSERT INTO "country" VALUES ("NLD", "Europe", "41543.0", "17000000");
INSERT INTO "country" VALUES ("BEL", "Europe", "30528.0", "11500000");
INSERT INTO "country" VALUES ("DEU", "Europe", "357022.0", "83000000");
INSERT INTO "country" VALUES ("FRA", "Europe", "551695.0", "67000000");
INSERT INTO "country" VALUES ("ESP", "Europe", "505990.0", "47000000");