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

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



INSERT INTO "Player" VALUES ("1", "10001", "Player A", "1988-05-10 00:00:00", "180");
INSERT INTO "Player" VALUES ("2", "10002", "Player B", "1991-03-15 00:00:00", "175");
INSERT INTO "Player" VALUES ("3", "10003", "Player C", "1993-07-20 00:00:00", "185");
INSERT INTO "Player" VALUES ("4", "10004", "Player D", "1995-01-01 00:00:00", "190");
INSERT INTO "Player" VALUES ("5", "10005", "Player E", "1989-11-25 00:00:00", "170");
INSERT INTO "Player" VALUES ("6", "10006", "Player F", "1990-01-01 00:00:00", "182");
INSERT INTO "Player" VALUES ("7", "10007", "Player G", "1996-02-10 00:00:00", "178");
INSERT INTO "Player" VALUES ("8", "10008", "Player H", "1992-09-05 00:00:00", "172");
INSERT INTO "Player" VALUES ("9", "10009", "Player I", "1994-04-30 00:00:00", "188");
INSERT INTO "Player" VALUES ("10", "10010", "Player J", "1995-12-31 00:00:00", "176");
INSERT INTO "Player_Attributes" VALUES ("1", "85");
INSERT INTO "Player_Attributes" VALUES ("2", "88");
INSERT INTO "Player_Attributes" VALUES ("3", "90");
INSERT INTO "Player_Attributes" VALUES ("4", "87");
INSERT INTO "Player_Attributes" VALUES ("5", "82");
INSERT INTO "Player_Attributes" VALUES ("6", "89");
INSERT INTO "Player_Attributes" VALUES ("7", "84");
INSERT INTO "Player_Attributes" VALUES ("8", "86");
INSERT INTO "Player_Attributes" VALUES ("9", "91");
INSERT INTO "Player_Attributes" VALUES ("10", "83");