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





INSERT INTO "people" VALUES ("1", "John Doe", "180.5");
INSERT INTO "people" VALUES ("2", "Jane Smith", "175.0");
INSERT INTO "people" VALUES ("3", "Peter Jones", "205.2");
INSERT INTO "people" VALUES ("4", "Alice Brown", "160.0");
INSERT INTO "people" VALUES ("5", "Robert White", "210.0");
INSERT INTO "people" VALUES ("6", "Emily Green", "190.0");
INSERT INTO "people" VALUES ("7", "David Black", "201.5");
INSERT INTO "people" VALUES ("8", "Sarah Blue", "165.0");
INSERT INTO "people" VALUES ("9", "Michael Red", "195.0");
INSERT INTO "people" VALUES ("10", "Laura Yellow", "200.0");
INSERT INTO "poker_player" VALUES ("101", "1", "5.0", "2.0", "15000.0");
INSERT INTO "poker_player" VALUES ("102", "3", "10.0", "1.0", "50000.0");
INSERT INTO "poker_player" VALUES ("103", "5", "8.0", "3.0", "30000.0");
INSERT INTO "poker_player" VALUES ("104", "7", "12.0", "1.0", "75000.0");
INSERT INTO "poker_player" VALUES ("105", "9", "3.0", "5.0", "8000.0");
INSERT INTO "poker_player" VALUES ("106", "2", "1.0", "10.0", "2000.0");
INSERT INTO "poker_player" VALUES ("107", "4", "0.0", "0.0", "0.0");
INSERT INTO "poker_player" VALUES ("108", "6", "7.0", "4.0", "22000.0");
INSERT INTO "poker_player" VALUES ("109", "8", "2.0", "8.0", "5000.0");
INSERT INTO "poker_player" VALUES ("110", "10", "6.0", "2.0", "40000.0");