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 "Match" (
"id" INT,
"home_player_1" INT,
PRIMARY KEY ("id")
);

CREATE TABLE "Player" (
"id" INT,
"player_name" TEXT,
"height" INT,
"weight" INT,
PRIMARY KEY ("id")
);

CREATE TABLE "Player_Attributes" (
"id" INT,
"overall_rating" INT,
PRIMARY KEY ("id")
);



INSERT INTO "Player" VALUES ("1", "Lionel Messi", "170", "72");
INSERT INTO "Player" VALUES ("2", "Cristiano Ronaldo", "187", "83");
INSERT INTO "Player" VALUES ("3", "Neymar Jr.", "175", "68");
INSERT INTO "Player" VALUES ("4", "Robert Lewandowski", "185", "80");
INSERT INTO "Player" VALUES ("5", "Kevin De Bruyne", "181", "70");
INSERT INTO "Player" VALUES ("6", "Sergio Ramos", "184", "82");
INSERT INTO "Player" VALUES ("7", "Virgil van Dijk", "193", "92");
INSERT INTO "Player" VALUES ("8", "Kylian Mbappé", "178", "73");
INSERT INTO "Player" VALUES ("9", "Harry Kane", "188", "89");
INSERT INTO "Player" VALUES ("10", "Eden Hazard", "175", "74");
INSERT INTO "Player" VALUES ("11", "Zlatan Ibrahimovic", "195", "95");
INSERT INTO "Player" VALUES ("12", "Manuel Neuer", "193", "92");
INSERT INTO "Player" VALUES ("13", "Antoine Griezmann", "176", "69");
INSERT INTO "Player" VALUES ("14", "Erling Haaland", "194", "88");
INSERT INTO "Player" VALUES ("15", "Romelu Lukaku", "191", "94");
INSERT INTO "Player_Attributes" VALUES ("1", "93");
INSERT INTO "Player_Attributes" VALUES ("2", "92");
INSERT INTO "Player_Attributes" VALUES ("3", "91");
INSERT INTO "Player_Attributes" VALUES ("4", "91");
INSERT INTO "Player_Attributes" VALUES ("5", "91");
INSERT INTO "Player_Attributes" VALUES ("6", "89");
INSERT INTO "Player_Attributes" VALUES ("7", "90");
INSERT INTO "Player_Attributes" VALUES ("8", "90");
INSERT INTO "Player_Attributes" VALUES ("9", "89");
INSERT INTO "Player_Attributes" VALUES ("10", "88");
INSERT INTO "Player_Attributes" VALUES ("11", "85");
INSERT INTO "Player_Attributes" VALUES ("12", "89");
INSERT INTO "Player_Attributes" VALUES ("13", "87");
INSERT INTO "Player_Attributes" VALUES ("14", "88");
INSERT INTO "Player_Attributes" VALUES ("15", "87");
INSERT INTO "Match" VALUES ("1", "1");
INSERT INTO "Match" VALUES ("2", "2");
INSERT INTO "Match" VALUES ("3", "3");
INSERT INTO "Match" VALUES ("4", "4");
INSERT INTO "Match" VALUES ("5", "5");
INSERT INTO "Match" VALUES ("6", "6");
INSERT INTO "Match" VALUES ("7", "7");
INSERT INTO "Match" VALUES ("8", "8");
INSERT INTO "Match" VALUES ("9", "9");
INSERT INTO "Match" VALUES ("10", "10");
INSERT INTO "Match" VALUES ("11", "11");
INSERT INTO "Match" VALUES ("12", "12");
INSERT INTO "Match" VALUES ("13", "13");
INSERT INTO "Match" VALUES ("14", "14");
INSERT INTO "Match" VALUES ("15", "15");