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

CREATE TABLE "poker_player" (
"Poker_Player_ID" INT,
"Best_Finish" FLOAT,
"Money_Rank" FLOAT,
"Earnings" FLOAT,
PRIMARY KEY ("Poker_Player_ID")
);





INSERT INTO "people" VALUES ("1", "Russia", "Ivan Petrov");
INSERT INTO "people" VALUES ("2", "USA", "John Smith");
INSERT INTO "people" VALUES ("3", "Brazil", "Ana Silva");
INSERT INTO "people" VALUES ("4", "Russia", "Dmitry Ivanov");
INSERT INTO "people" VALUES ("5", "Canada", "Emily Clark");
INSERT INTO "people" VALUES ("6", "France", "Jean Dupont");
INSERT INTO "people" VALUES ("7", "NULL", "Unknown Player");
INSERT INTO "people" VALUES ("8", "Mixed", "Alex Morgan");
INSERT INTO "people" VALUES ("9", "", "No Nationality");
INSERT INTO "people" VALUES ("10", "Germany", "Hans Müller");
INSERT INTO "poker_player" VALUES ("1", "2.0", "15.0", "500000.0");
INSERT INTO "poker_player" VALUES ("2", "1.0", "5.0", "1500000.0");
INSERT INTO "poker_player" VALUES ("3", "3.0", "20.0", "300000.0");
INSERT INTO "poker_player" VALUES ("4", "4.0", "25.0", "200000.0");
INSERT INTO "poker_player" VALUES ("5", "1.0", "10.0", "800000.0");
INSERT INTO "poker_player" VALUES ("6", "2.0", "12.0", "600000.0");
INSERT INTO "poker_player" VALUES ("7", "5.0", "50.0", "10000.0");
INSERT INTO "poker_player" VALUES ("8", "3.0", "30.0", "250000.0");
INSERT INTO "poker_player" VALUES ("9", "6.0", "60.0", "5000.0");
INSERT INTO "poker_player" VALUES ("10", "2.0", "18.0", "400000.0");