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", "1980-05-10", "180", "75");
INSERT INTO "Player" VALUES ("2", "Player B", "1990-01-15", "175", "70");
INSERT INTO "Player" VALUES ("3", "Player C", "1985-11-22", "185", "80");
INSERT INTO "Player" VALUES ("4", "Player D", "1978-03-01", "170", "68");
INSERT INTO "Player" VALUES ("5", "Player E", "1995-07-07", "190", "85");
INSERT INTO "Player" VALUES ("6", "Player F", "1988-09-12", "178", "72");
INSERT INTO "Player" VALUES ("7", "Player G", "1982-02-28", "182", "77");
INSERT INTO "Player" VALUES ("8", "Player H", "1975-06-05", "172", "65");
INSERT INTO "Player" VALUES ("9", "Player I", "1992-04-18", "183", "79");
INSERT INTO "Player" VALUES ("10", "Player J", "1981-10-30", "176", "71");
INSERT INTO "Player_Attributes" VALUES ("1", "85");
INSERT INTO "Player_Attributes" VALUES ("2", "78");
INSERT INTO "Player_Attributes" VALUES ("3", "88");
INSERT INTO "Player_Attributes" VALUES ("4", "70");
INSERT INTO "Player_Attributes" VALUES ("5", "92");
INSERT INTO "Player_Attributes" VALUES ("6", "80");
INSERT INTO "Player_Attributes" VALUES ("7", "83");
INSERT INTO "Player_Attributes" VALUES ("8", "65");
INSERT INTO "Player_Attributes" VALUES ("9", "81");
INSERT INTO "Player_Attributes" VALUES ("10", "76");