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,
"Birth_Date" 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", "1985-04-12");
INSERT INTO "people" VALUES ("2", "Bob Smith", "1990-11-23");
INSERT INTO "people" VALUES ("3", "Charlie Lee", "1978-07-30");
INSERT INTO "people" VALUES ("4", "Diana Prince", "1982-01-15");
INSERT INTO "people" VALUES ("5", "Evan Davis", "1995-09-05");
INSERT INTO "people" VALUES ("6", "Fiona Green", "1988-12-20");
INSERT INTO "people" VALUES ("7", "George King", "1975-03-10");
INSERT INTO "people" VALUES ("8", "Hannah Scott", "1992-06-25");
INSERT INTO "people" VALUES ("9", "Ian Wright", "1980-08-14");
INSERT INTO "people" VALUES ("10", "Julia Brown", "1987-02-28");
INSERT INTO "poker_player" VALUES ("101", "1", "1500000.50");
INSERT INTO "poker_player" VALUES ("102", "2", "250000.00");
INSERT INTO "poker_player" VALUES ("103", "3", "5000000.75");
INSERT INTO "poker_player" VALUES ("104", "4", "0.00");
INSERT INTO "poker_player" VALUES ("105", "5", "120000.00");
INSERT INTO "poker_player" VALUES ("106", "6", "750000.25");
INSERT INTO "poker_player" VALUES ("107", "7", "3000000.00");
INSERT INTO "poker_player" VALUES ("108", "8", "0.00");
INSERT INTO "poker_player" VALUES ("109", "9", "450000.00");
INSERT INTO "poker_player" VALUES ("110", "10", "100000.00");