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_name" TEXT,
"winner_name" TEXT
);

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





INSERT INTO "matches" VALUES ("Serena Williams", "Maria Sharapova");
INSERT INTO "matches" VALUES ("Maria Sharapova", "Victoria Azarenka");
INSERT INTO "matches" VALUES ("Victoria Azarenka", "Serena Williams");
INSERT INTO "matches" VALUES ("Simona Halep", "Angelique Kerber");
INSERT INTO "matches" VALUES ("Angelique Kerber", "Simona Halep");
INSERT INTO "matches" VALUES ("Naomi Osaka", "Ashleigh Barty");
INSERT INTO "matches" VALUES ("Ashleigh Barty", "Naomi Osaka");
INSERT INTO "matches" VALUES ("Petra Kvitova", "Karolina Pliskova");
INSERT INTO "matches" VALUES ("Karolina Pliskova", "Petra Kvitova");
INSERT INTO "matches" VALUES ("Elina Svitolina", "Bianca Andreescu");
INSERT INTO "matches" VALUES ("Bianca Andreescu", "Elina Svitolina");
INSERT INTO "matches" VALUES ("Garbine Muguruza", "Sloane Stephens");
INSERT INTO "matches" VALUES ("Sloane Stephens", "Garbine Muguruza");
INSERT INTO "matches" VALUES ("Venus Williams", "Caroline Wozniacki");
INSERT INTO "matches" VALUES ("Caroline Wozniacki", "Venus Williams");
INSERT INTO "matches" VALUES ("Coco Gauff", "Leylah Fernandez");
INSERT INTO "matches" VALUES ("Leylah Fernandez", "Coco Gauff");
INSERT INTO "matches" VALUES ("Emma Raducanu", "Iga Swiatek");
INSERT INTO "matches" VALUES ("Iga Swiatek", "Emma Raducanu");
INSERT INTO "matches" VALUES ("Aryna Sabalenka", "Ons Jabeur");
INSERT INTO "matches" VALUES ("Ons Jabeur", "Aryna Sabalenka");
INSERT INTO "matches" VALUES ("Serena Williams", "Maria Sharapova");
INSERT INTO "matches" VALUES ("Maria Sharapova", "Serena Williams");
INSERT INTO "matches" VALUES ("Victoria Azarenka", "Simona Halep");
INSERT INTO "matches" VALUES ("Simona Halep", "Victoria Azarenka");
INSERT INTO "matches" VALUES ("Angelique Kerber", "Naomi Osaka");
INSERT INTO "matches" VALUES ("Naomi Osaka", "Angelique Kerber");
INSERT INTO "matches" VALUES ("Ashleigh Barty", "Petra Kvitova");
INSERT INTO "matches" VALUES ("Petra Kvitova", "Ashleigh Barty");
INSERT INTO "matches" VALUES ("Karolina Pliskova", "Elina Svitolina");
INSERT INTO "matches" VALUES ("Elina Svitolina", "Karolina Pliskova");
INSERT INTO "matches" VALUES ("Bianca Andreescu", "Garbine Muguruza");
INSERT INTO "matches" VALUES ("Garbine Muguruza", "Bianca Andreescu");
INSERT INTO "matches" VALUES ("Sloane Stephens", "Venus Williams");
INSERT INTO "matches" VALUES ("Venus Williams", "Sloane Stephens");
INSERT INTO "matches" VALUES ("Caroline Wozniacki", "Coco Gauff");
INSERT INTO "matches" VALUES ("Coco Gauff", "Caroline Wozniacki");
INSERT INTO "matches" VALUES ("Leylah Fernandez", "Emma Raducanu");
INSERT INTO "matches" VALUES ("Emma Raducanu", "Leylah Fernandez");
INSERT INTO "matches" VALUES ("Iga Swiatek", "Aryna Sabalenka");
INSERT INTO "matches" VALUES ("Aryna Sabalenka", "Iga Swiatek");
INSERT INTO "matches" VALUES ("Ons Jabeur", "Serena Williams");
INSERT INTO "matches" VALUES ("Serena Williams", "Ons Jabeur");
INSERT INTO "players" VALUES ("1", "Serena", "Williams");
INSERT INTO "players" VALUES ("2", "Maria", "Sharapova");
INSERT INTO "players" VALUES ("3", "Victoria", "Azarenka");
INSERT INTO "players" VALUES ("4", "Simona", "Halep");
INSERT INTO "players" VALUES ("5", "Angelique", "Kerber");
INSERT INTO "players" VALUES ("6", "Naomi", "Osaka");
INSERT INTO "players" VALUES ("7", "Ashleigh", "Barty");
INSERT INTO "players" VALUES ("8", "Petra", "Kvitova");
INSERT INTO "players" VALUES ("9", "Karolina", "Pliskova");
INSERT INTO "players" VALUES ("10", "Elina", "Svitolina");
INSERT INTO "players" VALUES ("11", "Bianca", "Andreescu");
INSERT INTO "players" VALUES ("12", "Garbine", "Muguruza");
INSERT INTO "players" VALUES ("13", "Sloane", "Stephens");
INSERT INTO "players" VALUES ("14", "Venus", "Williams");
INSERT INTO "players" VALUES ("15", "Caroline", "Wozniacki");
INSERT INTO "players" VALUES ("16", "Coco", "Gauff");
INSERT INTO "players" VALUES ("17", "Leylah", "Fernandez");
INSERT INTO "players" VALUES ("18", "Emma", "Raducanu");
INSERT INTO "players" VALUES ("19", "Iga", "Swiatek");
INSERT INTO "players" VALUES ("20", "Aryna", "Sabalenka");
INSERT INTO "players" VALUES ("21", "Ons", "Jabeur");
INSERT INTO "players" VALUES ("22", "Anna", "Chakvetadze");
INSERT INTO "players" VALUES ("23", "Dinara", "Safina");
INSERT INTO "players" VALUES ("24", "Jelena", "Jankovic");
INSERT INTO "players" VALUES ("25", "Svetlana", "Kuznetsova");