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 "people" (
"People_ID" INT UNIQUE,
"Birth_Date" TEXT,
"Height" FLOAT,
PRIMARY KEY ("People_ID")
);

CREATE TABLE "poker_player" (
"Poker_Player_ID" INT,
"People_ID" INT,
"Final_Table_Made" FLOAT,
"Best_Finish" FLOAT,
"Money_Rank" FLOAT,
PRIMARY KEY ("Poker_Player_ID"),
FOREIGN KEY ("People_ID") REFERENCES "people"("People_ID")
);





INSERT INTO "people" VALUES ("1", "1985-07-12", "1.75");
INSERT INTO "people" VALUES ("2", "1990-03-05", "1.82");
INSERT INTO "people" VALUES ("3", "1978-11-23", "1.90");
INSERT INTO "people" VALUES ("4", "1982-01-15", "1.90");
INSERT INTO "people" VALUES ("5", "1995-06-30", "1.68");
INSERT INTO "people" VALUES ("6", "1988-09-10", "2.05");
INSERT INTO "people" VALUES ("7", "1992-12-01", "1.85");
INSERT INTO "people" VALUES ("8", "1980-04-20", "1.60");
INSERT INTO "people" VALUES ("9", "1975-08-08", "1.95");
INSERT INTO "people" VALUES ("10", "1993-02-14", "2.05");
INSERT INTO "poker_player" VALUES ("101", "1", "3", "1", "15");
INSERT INTO "poker_player" VALUES ("102", "2", "1", "2", "10");
INSERT INTO "poker_player" VALUES ("103", "3", "0", "5", "25");
INSERT INTO "poker_player" VALUES ("104", "4", "2", "3", "20");
INSERT INTO "poker_player" VALUES ("105", "5", "0", "10", "50");
INSERT INTO "poker_player" VALUES ("106", "6", "4", "1", "5");
INSERT INTO "poker_player" VALUES ("107", "7", "1", "4", "30");
INSERT INTO "poker_player" VALUES ("108", "8", "0", "8", "40");
INSERT INTO "poker_player" VALUES ("109", "9", "3", "2", "12");
INSERT INTO "poker_player" VALUES ("110", "10", "5", "1", "3");