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 "Player" (
"id" INT,
"player_api_id" INT UNIQUE,
"player_name" TEXT,
"height" INT,
"weight" INT,
PRIMARY KEY ("id")
);

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



INSERT INTO "Player" VALUES ("1", "12345", "Lionel Messi", "170", "72");
INSERT INTO "Player" VALUES ("2", "67890", "Cristiano Ronaldo", "187", "83");
INSERT INTO "Player" VALUES ("3", "11223", "Zlatan Ibrahimovic", "195", "95");
INSERT INTO "Player" VALUES ("4", "44556", "Neymar Jr.", "175", "68");
INSERT INTO "Player" VALUES ("5", "77889", "Peter Crouch", "201", "75");
INSERT INTO "Player" VALUES ("6", "99001", "Sergio Ramos", "184", "82");
INSERT INTO "Player" VALUES ("7", "22334", "Eden Hazard", "173", "74");
INSERT INTO "Player" VALUES ("8", "55667", "Manuel Neuer", "193", "92");
INSERT INTO "Player" VALUES ("9", "88990", "Antoine Griezmann", "176", "73");
INSERT INTO "Player" VALUES ("10", "33445", "Kylian Mbappe", "178", "73");
INSERT INTO "Player_Attributes" VALUES ("1", "94", "95");
INSERT INTO "Player_Attributes" VALUES ("2", "93", "93");
INSERT INTO "Player_Attributes" VALUES ("3", "88", "88");
INSERT INTO "Player_Attributes" VALUES ("4", "92", "94");
INSERT INTO "Player_Attributes" VALUES ("5", "78", "78");
INSERT INTO "Player_Attributes" VALUES ("6", "89", "89");
INSERT INTO "Player_Attributes" VALUES ("7", "90", "90");
INSERT INTO "Player_Attributes" VALUES ("8", "91", "91");
INSERT INTO "Player_Attributes" VALUES ("9", "89", "90");
INSERT INTO "Player_Attributes" VALUES ("10", "91", "95");