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,
"Best_Finish" FLOAT,
"Earnings" FLOAT,
PRIMARY KEY ("Poker_Player_ID"),
FOREIGN KEY ("People_ID") REFERENCES "people"("People_ID")
);





INSERT INTO "people" VALUES ("1", "1985-07-12", "198.5");
INSERT INTO "people" VALUES ("2", "1990-03-22", "201.0");
INSERT INTO "people" VALUES ("3", "1978-11-05", "205.3");
INSERT INTO "people" VALUES ("4", "1982-01-15", "199.9");
INSERT INTO "people" VALUES ("5", "1995-06-30", "210.2");
INSERT INTO "people" VALUES ("6", "1988-09-10", "200.0");
INSERT INTO "people" VALUES ("7", "1975-12-25", "202.5");
INSERT INTO "people" VALUES ("8", "1992-04-18", "198.0");
INSERT INTO "people" VALUES ("9", "1980-08-08", "215.0");
INSERT INTO "people" VALUES ("10", "1993-02-28", "190.0");
INSERT INTO "poker_player" VALUES ("101", "1", "2.0", "150000.00");
INSERT INTO "poker_player" VALUES ("102", "2", "1.0", "300000.00");
INSERT INTO "poker_player" VALUES ("103", "3", "3.0", "500000.00");
INSERT INTO "poker_player" VALUES ("104", "4", "5.0", "120000.00");
INSERT INTO "poker_player" VALUES ("105", "5", "2.0", "750000.00");
INSERT INTO "poker_player" VALUES ("106", "6", "4.0", "200000.00");
INSERT INTO "poker_player" VALUES ("107", "7", "1.0", "1000000.00");
INSERT INTO "poker_player" VALUES ("108", "8", "6.0", "90000.00");
INSERT INTO "poker_player" VALUES ("109", "9", "2.0", "850000.00");
INSERT INTO "poker_player" VALUES ("110", "10", "7.0", "50000.00");