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,
"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", "Russia", "Ivan Petrov", "1975-03-20");
INSERT INTO "people" VALUES ("3", "Canada", "Jane Smith", "1990-07-01");
INSERT INTO "people" VALUES ("4", "Russia", "Elena Volkov", "1988-11-10");
INSERT INTO "people" VALUES ("5", "Germany", "Max Mustermann", "1982-05-25");
INSERT INTO "people" VALUES ("6", "USA", "Alice Johnson", "1995-09-12");
INSERT INTO "people" VALUES ("7", "Russia", "Dmitry Smirnov", "1970-02-28");
INSERT INTO "people" VALUES ("8", "UK", "Bob Williams", "1985-04-03");
INSERT INTO "people" VALUES ("9", "Australia", "Emily Brown", "1992-06-18");
INSERT INTO "people" VALUES ("10", "Russia", "Olga Kuznetsova", "1983-12-05");
INSERT INTO "poker_player" VALUES ("101", "1", "150000.0");
INSERT INTO "poker_player" VALUES ("102", "2", "250000.0");
INSERT INTO "poker_player" VALUES ("103", "3", "75000.0");
INSERT INTO "poker_player" VALUES ("104", "4", "300000.0");
INSERT INTO "poker_player" VALUES ("105", "5", "120000.0");
INSERT INTO "poker_player" VALUES ("106", "6", "90000.0");
INSERT INTO "poker_player" VALUES ("107", "7", "400000.0");
INSERT INTO "poker_player" VALUES ("108", "8", "60000.0");
INSERT INTO "poker_player" VALUES ("109", "9", "180000.0");
INSERT INTO "poker_player" VALUES ("110", "10", "220000.0");