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

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



INSERT INTO "Player" VALUES ("1", "Player A", "1970-10-15", "180", "75");
INSERT INTO "Player" VALUES ("2", "Player B", "1970-10-01", "175", "70");
INSERT INTO "Player" VALUES ("3", "Player C", "1970-11-20", "185", "80");
INSERT INTO "Player" VALUES ("4", "Player D", "1971-10-05", "178", "72");
INSERT INTO "Player" VALUES ("5", "Player E", "1969-10-10", "170", "68");
INSERT INTO "Player" VALUES ("6", "Player F", "1970-09-25", "182", "77");
INSERT INTO "Player" VALUES ("7", "Player G", "1970-10-31", "176", "71");
INSERT INTO "Player" VALUES ("8", "Player H", "1970-01-01", "188", "85");
INSERT INTO "Player" VALUES ("9", "Player I", "1970-12-12", "173", "69");
INSERT INTO "Player" VALUES ("10", "Player J", "1970-10-22", "190", "88");
INSERT INTO "Player_Attributes" VALUES ("1", "85");
INSERT INTO "Player_Attributes" VALUES ("2", "82");
INSERT INTO "Player_Attributes" VALUES ("3", "88");
INSERT INTO "Player_Attributes" VALUES ("4", "79");
INSERT INTO "Player_Attributes" VALUES ("5", "75");
INSERT INTO "Player_Attributes" VALUES ("6", "80");
INSERT INTO "Player_Attributes" VALUES ("7", "83");
INSERT INTO "Player_Attributes" VALUES ("8", "90");
INSERT INTO "Player_Attributes" VALUES ("9", "78");
INSERT INTO "Player_Attributes" VALUES ("10", "87");