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

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





INSERT INTO "people" VALUES ("1", "Alice Johnson");
INSERT INTO "people" VALUES ("2", "Bob Smith");
INSERT INTO "people" VALUES ("3", "Charlie Lee");
INSERT INTO "people" VALUES ("4", "Diana Prince");
INSERT INTO "people" VALUES ("5", "Ethan Hunt");
INSERT INTO "people" VALUES ("6", "Fiona Gallagher");
INSERT INTO "people" VALUES ("7", "George Martin");
INSERT INTO "people" VALUES ("8", "Hannah Brown");
INSERT INTO "people" VALUES ("9", "Ian Curtis");
INSERT INTO "people" VALUES ("10", "Julia Roberts");
INSERT INTO "people" VALUES ("11", "Kevin Spacey");
INSERT INTO "people" VALUES ("12", "Laura Palmer");
INSERT INTO "poker_player" VALUES ("101", "1", "150000.50");
INSERT INTO "poker_player" VALUES ("102", "2", "250000.00");
INSERT INTO "poker_player" VALUES ("103", "3", "50000.75");
INSERT INTO "poker_player" VALUES ("104", "4", "0.00");
INSERT INTO "poker_player" VALUES ("105", "5", "1000000.00");
INSERT INTO "poker_player" VALUES ("106", "6", "75000.25");
INSERT INTO "poker_player" VALUES ("107", "7", "300000.00");
INSERT INTO "poker_player" VALUES ("108", "8", "0.00");
INSERT INTO "poker_player" VALUES ("109", "9", "120000.00");
INSERT INTO "poker_player" VALUES ("110", "10", "450000.00");
INSERT INTO "poker_player" VALUES ("111", "11", "0.00");
INSERT INTO "poker_player" VALUES ("112", "12", "200000.00");