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

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





INSERT INTO "people" VALUES ("1", "United States", "Alice Johnson", "1985-04-12");
INSERT INTO "people" VALUES ("2", "Canada", "Bob Smith", "1990-11-23");
INSERT INTO "people" VALUES ("3", "United Kingdom", "Charlie Brown", "1978-07-30");
INSERT INTO "people" VALUES ("4", "Australia", "Diana Prince", "1982-01-15");
INSERT INTO "people" VALUES ("5", "Germany", "Erik Müller", "1995-09-05");
INSERT INTO "people" VALUES ("6", "Brazil", "Fernanda Silva", "1988-06-20");
INSERT INTO "people" VALUES ("7", "Japan", "Hiro Tanaka", "1975-12-10");
INSERT INTO "people" VALUES ("8", "France", "Isabelle Dupont", "1992-03-28");
INSERT INTO "people" VALUES ("9", "Russia", "Ivan Petrov", "1980-08-14");
INSERT INTO "people" VALUES ("10", "South Africa", "Jabu Nkosi", "1987-05-02");
INSERT INTO "poker_player" VALUES ("101", "1", "5", "1500000.00");
INSERT INTO "poker_player" VALUES ("102", "2", "3", "750000.00");
INSERT INTO "poker_player" VALUES ("103", "3", "7", "2200000.00");
INSERT INTO "poker_player" VALUES ("104", "4", "0", "50000.00");
INSERT INTO "poker_player" VALUES ("105", "5", "2", "300000.00");
INSERT INTO "poker_player" VALUES ("106", "6", "3", "800000.00");
INSERT INTO "poker_player" VALUES ("107", "7", "7", "2100000.00");
INSERT INTO "poker_player" VALUES ("108", "8", "1", "120000.00");
INSERT INTO "poker_player" VALUES ("109", "9", "0", "0.00");
INSERT INTO "poker_player" VALUES ("110", "10", "5", "1600000.00");