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 "matches" (
"loser_ioc" TEXT
);

CREATE TABLE "players" (
"player_id" INT,
"first_name" TEXT,
"last_name" TEXT,
"birth_date" DATE,
"country_code" TEXT,
PRIMARY KEY ("player_id")
);





INSERT INTO "matches" VALUES ("USA");
INSERT INTO "matches" VALUES ("FRA");
INSERT INTO "matches" VALUES ("ESP");
INSERT INTO "matches" VALUES ("GER");
INSERT INTO "matches" VALUES ("RUS");
INSERT INTO "matches" VALUES ("ITA");
INSERT INTO "matches" VALUES ("AUS");
INSERT INTO "matches" VALUES ("JPN");
INSERT INTO "matches" VALUES ("CAN");
INSERT INTO "matches" VALUES ("BRA");
INSERT INTO "players" VALUES ("1", "Serena", "Williams", "1981-09-26", "USA");
INSERT INTO "players" VALUES ("2", "Simona", "Halep", "1991-09-27", "ROU");
INSERT INTO "players" VALUES ("3", "Naomi", "Osaka", "1997-10-16", "JPN");
INSERT INTO "players" VALUES ("4", "Petra", "Kvitova", "1990-03-08", "CZE");
INSERT INTO "players" VALUES ("5", "Venus", "Williams", "1980-06-17", "USA");
INSERT INTO "players" VALUES ("6", "Angelique", "Kerber", "1988-01-18", "GER");
INSERT INTO "players" VALUES ("7", "Caroline", "Wozniacki", "1990-07-11", "DEN");
INSERT INTO "players" VALUES ("8", "Maria", "Sharapova", "1987-04-19", "RUS");
INSERT INTO "players" VALUES ("9", "Sloane", "Stephens", "1993-03-20", "USA");
INSERT INTO "players" VALUES ("10", "Bianca", "Andreescu", "2000-06-16", "CAN");