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,
"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", "Alice Smith", "1985-03-15");
INSERT INTO "people" VALUES ("2", "Bob Johnson", "1990-07-22");
INSERT INTO "people" VALUES ("3", "Charlie Brown", "1978-11-01");
INSERT INTO "people" VALUES ("4", "Diana Prince", "1992-05-10");
INSERT INTO "people" VALUES ("5", "Eve Adams", "1980-01-20");
INSERT INTO "people" VALUES ("6", "Frank White", "1995-09-03");
INSERT INTO "people" VALUES ("7", "Grace Lee", "1988-04-18");
INSERT INTO "people" VALUES ("8", "Henry Green", "1975-12-25");
INSERT INTO "people" VALUES ("9", "Ivy King", "1998-06-30");
INSERT INTO "people" VALUES ("10", "Jack Black", "1983-02-14");
INSERT INTO "poker_player" VALUES ("101", "1", "5.0", "2.0", "150000.0");
INSERT INTO "poker_player" VALUES ("102", "2", "10.0", "1.0", "500000.0");
INSERT INTO "poker_player" VALUES ("103", "3", "2.0", "5.0", "75000.0");
INSERT INTO "poker_player" VALUES ("104", "4", "1.0", "10.0", "25000.0");
INSERT INTO "poker_player" VALUES ("105", "5", "7.0", "3.0", "200000.0");
INSERT INTO "poker_player" VALUES ("106", "6", "0.0", "0.0", "5000.0");
INSERT INTO "poker_player" VALUES ("107", "7", "3.0", "4.0", "100000.0");
INSERT INTO "poker_player" VALUES ("108", "8", "12.0", "1.0", "750000.0");
INSERT INTO "poker_player" VALUES ("109", "9", "0.0", "0.0", "1000.0");
INSERT INTO "poker_player" VALUES ("110", "10", "4.0", "6.0", "120000.0");