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

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





INSERT INTO "people" VALUES ("1", "USA");
INSERT INTO "people" VALUES ("2", "Canada");
INSERT INTO "people" VALUES ("3", "USA");
INSERT INTO "people" VALUES ("4", "UK");
INSERT INTO "people" VALUES ("5", "USA");
INSERT INTO "people" VALUES ("6", "Canada");
INSERT INTO "people" VALUES ("7", "UK");
INSERT INTO "people" VALUES ("8", "USA");
INSERT INTO "people" VALUES ("9", "Germany");
INSERT INTO "people" VALUES ("10", "France");
INSERT INTO "people" VALUES ("11", "USA");
INSERT INTO "people" VALUES ("12", "Canada");
INSERT INTO "people" VALUES ("13", "UK");
INSERT INTO "people" VALUES ("14", "USA");
INSERT INTO "people" VALUES ("15", "USA");
INSERT INTO "poker_player" VALUES ("1", "3", "1", "1500000");
INSERT INTO "poker_player" VALUES ("2", "1", "5", "500000");
INSERT INTO "poker_player" VALUES ("3", "5", "1", "2500000");
INSERT INTO "poker_player" VALUES ("4", "0", "10", "100000");
INSERT INTO "poker_player" VALUES ("5", "2", "2", "1200000");
INSERT INTO "poker_player" VALUES ("6", "1", "7", "300000");
INSERT INTO "poker_player" VALUES ("7", "0", "15", "80000");
INSERT INTO "poker_player" VALUES ("8", "4", "1", "2000000");
INSERT INTO "poker_player" VALUES ("9", "0", "20", "50000");
INSERT INTO "poker_player" VALUES ("10", "0", "25", "40000");
INSERT INTO "poker_player" VALUES ("11", "3", "3", "1300000");
INSERT INTO "poker_player" VALUES ("12", "1", "8", "350000");
INSERT INTO "poker_player" VALUES ("13", "0", "12", "90000");
INSERT INTO "poker_player" VALUES ("14", "2", "2", "1100000");
INSERT INTO "poker_player" VALUES ("15", "5", "1", "2700000");