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),
PRIMARY KEY ("ID")
);

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

CREATE TABLE "countrylanguage" (
"CountryCode" CHAR(3),
"Language" CHAR(30),
PRIMARY KEY ("CountryCode", "Language")
);





INSERT INTO "city" VALUES ("1", "Kabul");
INSERT INTO "city" VALUES ("2", "Qandahar");
INSERT INTO "city" VALUES ("3", "Herat");
INSERT INTO "city" VALUES ("4", "Mazar-e-Sharif");
INSERT INTO "city" VALUES ("5", "Amsterdam");
INSERT INTO "city" VALUES ("6", "Rotterdam");
INSERT INTO "city" VALUES ("7", "Haag");
INSERT INTO "city" VALUES ("8", "Utrecht");
INSERT INTO "city" VALUES ("9", "Eindhoven");
INSERT INTO "city" VALUES ("10", "Groningen");
INSERT INTO "city" VALUES ("11", "Tripoli");
INSERT INTO "city" VALUES ("12", "Homs");
INSERT INTO "city" VALUES ("13", "Benghazi");
INSERT INTO "city" VALUES ("14", "Misratah");
INSERT INTO "city" VALUES ("15", "Zwara");
INSERT INTO "country" VALUES ("AFG", "Afghanistan", "Asia", "Southern and Central Asia");
INSERT INTO "country" VALUES ("NLD", "Netherlands", "Europe", "Western Europe");
INSERT INTO "country" VALUES ("LBY", "Libyan Arab Jamahiriya", "Africa", "Northern Africa");
INSERT INTO "country" VALUES ("JPN", "Japan", "Asia", "Eastern Asia");
INSERT INTO "country" VALUES ("IND", "India", "Asia", "Southern and Central Asia");
INSERT INTO "country" VALUES ("USA", "United States", "North America", "North America");
INSERT INTO "country" VALUES ("BRA", "Brazil", "South America", "South America");
INSERT INTO "country" VALUES ("AUS", "Australia", "Oceania", "Australia and New Zealand");
INSERT INTO "country" VALUES ("EGY", "Egypt", "Africa", "Northern Africa");
INSERT INTO "country" VALUES ("CAN", "Canada", "North America", "North America");
INSERT INTO "countrylanguage" VALUES ("AFG", "Dari");
INSERT INTO "countrylanguage" VALUES ("AFG", "Pashto");
INSERT INTO "countrylanguage" VALUES ("NLD", "Dutch");
INSERT INTO "countrylanguage" VALUES ("LBY", "Arabic");
INSERT INTO "countrylanguage" VALUES ("JPN", "Japanese");
INSERT INTO "countrylanguage" VALUES ("IND", "Hindi");
INSERT INTO "countrylanguage" VALUES ("IND", "English");
INSERT INTO "countrylanguage" VALUES ("USA", "English");
INSERT INTO "countrylanguage" VALUES ("BRA", "Portuguese");
INSERT INTO "countrylanguage" VALUES ("AUS", "English");
INSERT INTO "countrylanguage" VALUES ("EGY", "Arabic");
INSERT INTO "countrylanguage" VALUES ("CAN", "English");
INSERT INTO "countrylanguage" VALUES ("CAN", "French");