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", "PlayerA", "28.1", "PlayerB");
INSERT INTO "matches" VALUES ("30.2", "PlayerC", "22.0", "PlayerD");
INSERT INTO "matches" VALUES ("27.8", "PlayerE", "31.5", "PlayerF");
INSERT INTO "matches" VALUES ("21.0", "PlayerG", "29.3", "PlayerH");
INSERT INTO "matches" VALUES ("35.0", "PlayerI", "26.7", "PlayerJ");
INSERT INTO "matches" VALUES ("24.1", "PlayerK", "33.9", "PlayerL");
INSERT INTO "matches" VALUES ("29.9", "PlayerM", "20.5", "PlayerN");
INSERT INTO "matches" VALUES ("23.7", "PlayerO", "30.0", "PlayerP");
INSERT INTO "matches" VALUES ("32.4", "PlayerQ", "27.0", "PlayerR");
INSERT INTO "matches" VALUES ("26.0", "PlayerS", "24.5", "PlayerT");
INSERT INTO "players" VALUES ("1", "1998-05-10");
INSERT INTO "players" VALUES ("2", "1995-02-15");
INSERT INTO "players" VALUES ("3", "1993-11-20");
INSERT INTO "players" VALUES ("4", "2001-08-01");
INSERT INTO "players" VALUES ("5", "1996-04-25");
INSERT INTO "players" VALUES ("6", "1991-09-12");
INSERT INTO "players" VALUES ("7", "2002-01-30");
INSERT INTO "players" VALUES ("8", "1994-07-05");
INSERT INTO "players" VALUES ("9", "1988-12-03");
INSERT INTO "players" VALUES ("10", "1997-06-18");