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,
"Final_Table_Made" FLOAT,
"Best_Finish" FLOAT,
"Money_Rank" FLOAT,
"Earnings" FLOAT,
PRIMARY KEY ("Poker_Player_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 "people" VALUES ("9", "Ivan");
INSERT INTO "people" VALUES ("10", "Judy");
INSERT INTO "poker_player" VALUES ("1", "5", "1", "10", "150000");
INSERT INTO "poker_player" VALUES ("2", "8", "2", "15", "180000");
INSERT INTO "poker_player" VALUES ("3", "3", "5", "20", "50000");
INSERT INTO "poker_player" VALUES ("4", "10", "1", "5", "250000");
INSERT INTO "poker_player" VALUES ("5", "6", "3", "12", "199999");
INSERT INTO "poker_player" VALUES ("6", "2", "7", "25", "30000");
INSERT INTO "poker_player" VALUES ("7", "9", "1", "3", "500000");
INSERT INTO "poker_player" VALUES ("8", "7", "2", "8", "175000");
INSERT INTO "poker_player" VALUES ("9", "4", "6", "18", "90000");
INSERT INTO "poker_player" VALUES ("10", "1", "10", "30", "10000");