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" (
"match_num" INT,
"tourney_date" DATE,
"tourney_id" TEXT,
"tourney_name" TEXT
);





INSERT INTO "matches" VALUES ("1", "2023-01-15", "AUS2023", "Australian Open");
INSERT INTO "matches" VALUES ("2", "2023-01-15", "AUS2023", "Australian Open");
INSERT INTO "matches" VALUES ("3", "2023-01-16", "AUS2023", "Australian Open");
INSERT INTO "matches" VALUES ("4", "2023-02-20", "DUB2023", "Dubai Tennis Championships");
INSERT INTO "matches" VALUES ("5", "2023-02-20", "DUB2023", "Dubai Tennis Championships");
INSERT INTO "matches" VALUES ("6", "2023-03-08", "IND2023", "Indian Wells Open");
INSERT INTO "matches" VALUES ("7", "2023-03-09", "IND2023", "Indian Wells Open");
INSERT INTO "matches" VALUES ("8", "2023-04-24", "MAD2023", "Madrid Open");
INSERT INTO "matches" VALUES ("9", "2023-05-28", "FRA2023", "French Open");
INSERT INTO "matches" VALUES ("10", "2023-05-29", "FRA2023", "French Open");
INSERT INTO "matches" VALUES ("11", "2023-06-01", "FRA2023", "French Open");
INSERT INTO "matches" VALUES ("12", "2023-07-03", "WIM2023", "Wimbledon");
INSERT INTO "matches" VALUES ("13", "2023-07-04", "WIM2023", "Wimbledon");
INSERT INTO "matches" VALUES ("14", "2023-08-28", "USO2023", "US Open");
INSERT INTO "matches" VALUES ("15", "2023-08-29", "USO2023", "US Open");