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 "airports" (
"City" TEXT,
"AirportCode" TEXT,
"AirportName" TEXT,
"Country" TEXT,
"CountryAbbrev" TEXT,
PRIMARY KEY ("AirportCode")
);





INSERT INTO "airports" VALUES ("New York", "JFK", "John F. Kennedy International Airport", "United States", "USA");
INSERT INTO "airports" VALUES ("Los Angeles", "LAX", "Los Angeles International Airport", "United States", "USA");
INSERT INTO "airports" VALUES ("London", "LHR", "Heathrow Airport", "United Kingdom", "UK");
INSERT INTO "airports" VALUES ("Paris", "CDG", "Charles de Gaulle Airport", "France", "FRA");
INSERT INTO "airports" VALUES ("Tokyo", "NRT", "Narita International Airport", "Japan", "JPN");
INSERT INTO "airports" VALUES ("Dubai", "DXB", "Dubai International Airport", "United Arab Emirates", "UAE");
INSERT INTO "airports" VALUES ("Frankfurt", "FRA", "Frankfurt Airport", "Germany", "DEU");
INSERT INTO "airports" VALUES ("Sydney", "SYD", "Sydney Airport", "Australia", "AUS");
INSERT INTO "airports" VALUES ("Beijing", "PEK", "Beijing Capital International Airport", "China", "CHN");
INSERT INTO "airports" VALUES ("Toronto", "YYZ", "Toronto Pearson International Airport", "Canada", "CAN");
INSERT INTO "airports" VALUES ("Mexico City", "MEX", "Mexico City International Airport", "Mexico", "MEX");
INSERT INTO "airports" VALUES ("Sao Paulo", "GRU", "Guarulhos International Airport", "Brazil", "BRA");
INSERT INTO "airports" VALUES ("Cape Town", "CPT", "Cape Town International Airport", "South Africa", "ZAF");
INSERT INTO "airports" VALUES ("Mumbai", "BOM", "Chhatrapati Shivaji Maharaj International Airport", "India", "IND");
INSERT INTO "airports" VALUES ("Moscow", "SVO", "Sheremetyevo International Airport", "Russia", "RUS");