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,
"Earnings" FLOAT,
PRIMARY KEY ("Poker_Player_ID"),
FOREIGN KEY ("People_ID") REFERENCES "people"("People_ID")
);





INSERT INTO "people" VALUES ("1", "USA", "John Doe", "1980-01-15");
INSERT INTO "people" VALUES ("2", "Canada", "Jane Smith", "1992-05-20");
INSERT INTO "people" VALUES ("3", "UK", "Peter Jones", "1975-11-01");
INSERT INTO "people" VALUES ("4", "Australia", "Alice Brown", "1988-03-10");
INSERT INTO "people" VALUES ("5", "Germany", "Max Muller", "1995-07-25");
INSERT INTO "people" VALUES ("6", "USA", "Sarah White", "1983-09-12");
INSERT INTO "people" VALUES ("7", "France", "Pierre Dubois", "1970-02-28");
INSERT INTO "people" VALUES ("8", "Japan", "Kenji Tanaka", "1990-04-05");
INSERT INTO "people" VALUES ("9", "Brazil", "Maria Silva", "1986-06-18");
INSERT INTO "people" VALUES ("10", "USA", "David Green", "1998-12-03");
INSERT INTO "poker_player" VALUES ("101", "1", "1500000.0");
INSERT INTO "poker_player" VALUES ("102", "2", "750000.0");
INSERT INTO "poker_player" VALUES ("103", "3", "200000.0");
INSERT INTO "poker_player" VALUES ("104", "4", "50000.0");
INSERT INTO "poker_player" VALUES ("105", "5", "1000000.0");
INSERT INTO "poker_player" VALUES ("106", "6", "300000.0");
INSERT INTO "poker_player" VALUES ("107", "7", "10000.0");
INSERT INTO "poker_player" VALUES ("108", "8", "500000.0");
INSERT INTO "poker_player" VALUES ("109", "9", "0.0");
INSERT INTO "poker_player" VALUES ("110", "10", "25000.0");