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_name" TEXT,
"birthday" TEXT,
"height" INT,
PRIMARY KEY ("id")
);

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



INSERT INTO "Player" VALUES ("1", "Cristiano Ronaldo", "1985-02-05", "187");
INSERT INTO "Player" VALUES ("2", "Zlatan Ibrahimovic", "1981-10-03", "195");
INSERT INTO "Player" VALUES ("3", "Peter Crouch", "1981-01-30", "201");
INSERT INTO "Player" VALUES ("4", "Thibaut Courtois", "1992-05-11", "199");
INSERT INTO "Player" VALUES ("5", "Gareth Bale", "1989-07-16", "183");
INSERT INTO "Player" VALUES ("6", "Jan Koller", "1973-03-30", "202");
INSERT INTO "Player" VALUES ("7", "Nikola Zigic", "1980-09-25", "202");
INSERT INTO "Player" VALUES ("8", "Edin Dzeko", "1986-03-17", "193");
INSERT INTO "Player" VALUES ("9", "Peter Schmeichel", "1963-11-18", "193");
INSERT INTO "Player" VALUES ("10", "Luka Modric", "1985-09-09", "172");
INSERT INTO "Player_Attributes" VALUES ("1", "92");
INSERT INTO "Player_Attributes" VALUES ("2", "89");
INSERT INTO "Player_Attributes" VALUES ("3", "75");
INSERT INTO "Player_Attributes" VALUES ("4", "88");
INSERT INTO "Player_Attributes" VALUES ("5", "86");
INSERT INTO "Player_Attributes" VALUES ("6", "70");
INSERT INTO "Player_Attributes" VALUES ("7", "72");
INSERT INTO "Player_Attributes" VALUES ("8", "85");
INSERT INTO "Player_Attributes" VALUES ("9", "90");
INSERT INTO "Player_Attributes" VALUES ("10", "91");