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,
"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", "Adam Johnson", "175", "180");
INSERT INTO "Player" VALUES ("2", "John Smith", "180", "160");
INSERT INTO "Player" VALUES ("3", "Adam Davies", "170", "175");
INSERT INTO "Player" VALUES ("4", "Michael Brown", "185", "190");
INSERT INTO "Player" VALUES ("5", "Adam White", "172", "171");
INSERT INTO "Player" VALUES ("6", "David Green", "178", "165");
INSERT INTO "Player" VALUES ("7", "Adam Black", "168", "169");
INSERT INTO "Player" VALUES ("8", "Adam Miller", "176", "170");
INSERT INTO "Player" VALUES ("9", "Adam Wilson", "173", "172");
INSERT INTO "Player" VALUES ("10", "Chris Evans", "182", "185");
INSERT INTO "Player_Attributes" VALUES ("1", "85", "90");
INSERT INTO "Player_Attributes" VALUES ("2", "78", "82");
INSERT INTO "Player_Attributes" VALUES ("3", "80", "85");
INSERT INTO "Player_Attributes" VALUES ("4", "92", "95");
INSERT INTO "Player_Attributes" VALUES ("5", "75", "80");
INSERT INTO "Player_Attributes" VALUES ("6", "88", "90");
INSERT INTO "Player_Attributes" VALUES ("7", "70", "75");
INSERT INTO "Player_Attributes" VALUES ("8", "79", "83");
INSERT INTO "Player_Attributes" VALUES ("9", "77", "81");
INSERT INTO "Player_Attributes" VALUES ("10", "90", "93");