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,
"Name" TEXT,
PRIMARY KEY ("People_ID")
);

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





INSERT INTO "people" VALUES ("1", "Alice");
INSERT INTO "people" VALUES ("2", "Bob");
INSERT INTO "people" VALUES ("3", "Charlie");
INSERT INTO "people" VALUES ("4", "David");
INSERT INTO "people" VALUES ("5", "Eve");
INSERT INTO "people" VALUES ("6", "Frank");
INSERT INTO "people" VALUES ("7", "Grace");
INSERT INTO "people" VALUES ("8", "Heidi");
INSERT INTO "poker_player" VALUES ("101", "1", "1.0", "1500000.0");
INSERT INTO "poker_player" VALUES ("102", "2", "3.0", "750000.0");
INSERT INTO "poker_player" VALUES ("103", "3", "5.0", "300000.0");
INSERT INTO "poker_player" VALUES ("104", "4", "2.0", "1000000.0");
INSERT INTO "poker_player" VALUES ("105", "5", "4.0", "500000.0");
INSERT INTO "poker_player" VALUES ("106", "6", "6.0", "100000.0");
INSERT INTO "poker_player" VALUES ("107", "7", "7.0", "50000.0");
INSERT INTO "poker_player" VALUES ("108", "8", "8.0", "25000.0");