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 "country" (
"Code" CHAR(3),
"Name" CHAR(52),
"Population" INT,
"LifeExpectancy" FLOAT,
PRIMARY KEY ("Code")
);





INSERT INTO "country" VALUES ("BRA", "Brazil", "215000000", "75.5");
INSERT INTO "country" VALUES ("USA", "United States", "335000000", "79.1");
INSERT INTO "country" VALUES ("CAN", "Canada", "38000000", "82.2");
INSERT INTO "country" VALUES ("MEX", "Mexico", "128000000", "75.0");
INSERT INTO "country" VALUES ("ARG", "Argentina", "46000000", "76.8");
INSERT INTO "country" VALUES ("COL", "Colombia", "52000000", "77.5");
INSERT INTO "country" VALUES ("PER", "Peru", "33000000", "74.7");
INSERT INTO "country" VALUES ("CHL", "Chile", "19000000", "80.7");
INSERT INTO "country" VALUES ("GBR", "United Kingdom", "67000000", "81.0");
INSERT INTO "country" VALUES ("FRA", "France", "65000000", "82.6");
INSERT INTO "country" VALUES ("DEU", "Germany", "83000000", "81.3");
INSERT INTO "country" VALUES ("ITA", "Italy", "59000000", "83.5");
INSERT INTO "country" VALUES ("ESP", "Spain", "47000000", "83.6");
INSERT INTO "country" VALUES ("CHN", "China", "1410000000", "78.2");
INSERT INTO "country" VALUES ("IND", "India", "1420000000", "70.1");
INSERT INTO "country" VALUES ("JPN", "Japan", "125000000", "84.7");
INSERT INTO "country" VALUES ("AUS", "Australia", "26000000", "83.2");
INSERT INTO "country" VALUES ("ZAF", "South Africa", "60000000", "64.0");
INSERT INTO "country" VALUES ("EGY", "Egypt", "109000000", "72.0");
INSERT INTO "country" VALUES ("NGA", "Nigeria", "220000000", "53.0");