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_age" FLOAT,
"loser_name" TEXT,
"winner_age" FLOAT,
"winner_name" TEXT
);

CREATE TABLE "players" (
"player_id" INT,
"birth_date" DATE,
PRIMARY KEY ("player_id")
);





INSERT INTO "matches" VALUES ("25.5", "Player A", "28.1", "Player B");
INSERT INTO "matches" VALUES ("30.2", "Player C", "22.9", "Player D");
INSERT INTO "matches" VALUES ("22.0", "Player E", "35.0", "Player F");
INSERT INTO "matches" VALUES ("27.8", "Player G", "26.3", "Player H");
INSERT INTO "matches" VALUES ("31.5", "Player I", "29.0", "Player J");
INSERT INTO "matches" VALUES ("24.1", "Player K", "27.5", "Player L");
INSERT INTO "matches" VALUES ("29.9", "Player M", "23.8", "Player N");
INSERT INTO "matches" VALUES ("26.7", "Player O", "30.1", "Player P");
INSERT INTO "matches" VALUES ("33.0", "Player Q", "25.0", "Player R");
INSERT INTO "matches" VALUES ("21.0", "Player S", "32.5", "Player T");
INSERT INTO "matches" VALUES ("28.0", "Player U", "28.0", "Player V");
INSERT INTO "matches" VALUES ("30.0", "Player W", "30.0", "Player X");
INSERT INTO "players" VALUES ("1", "1995-01-15");
INSERT INTO "players" VALUES ("2", "1992-03-20");
INSERT INTO "players" VALUES ("3", "1990-07-10");
INSERT INTO "players" VALUES ("4", "1998-05-01");
INSERT INTO "players" VALUES ("5", "2000-02-29");
INSERT INTO "players" VALUES ("6", "1987-11-11");
INSERT INTO "players" VALUES ("7", "1993-09-05");
INSERT INTO "players" VALUES ("8", "1994-06-25");
INSERT INTO "players" VALUES ("9", "1989-04-18");
INSERT INTO "players" VALUES ("10", "1991-12-03");
INSERT INTO "players" VALUES ("11", "1996-08-08");
INSERT INTO "players" VALUES ("12", "1997-01-01");
INSERT INTO "players" VALUES ("13", "1988-03-14");
INSERT INTO "players" VALUES ("14", "1999-10-22");
INSERT INTO "players" VALUES ("15", "1995-07-07");
INSERT INTO "players" VALUES ("16", "1990-02-02");
INSERT INTO "players" VALUES ("17", "1986-09-09");
INSERT INTO "players" VALUES ("18", "1992-04-04");
INSERT INTO "players" VALUES ("19", "1998-11-11");
INSERT INTO "players" VALUES ("20", "1985-01-01");