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,
"Best_Finish" FLOAT,
"Money_Rank" 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", "Brazil");
INSERT INTO "people" VALUES ("5", "Canada");
INSERT INTO "people" VALUES ("6", "Germany");
INSERT INTO "people" VALUES ("7", "Brazil");
INSERT INTO "people" VALUES ("8", "France");
INSERT INTO "people" VALUES ("9", "USA");
INSERT INTO "people" VALUES ("10", "Germany");
INSERT INTO "poker_player" VALUES ("1", "1.0", "5.0", "1000000.0");
INSERT INTO "poker_player" VALUES ("2", "2.0", "15.0", "500000.0");
INSERT INTO "poker_player" VALUES ("3", "3.0", "25.0", "300000.0");
INSERT INTO "poker_player" VALUES ("4", "4.0", "35.0", "200000.0");
INSERT INTO "poker_player" VALUES ("5", "5.0", "45.0", "150000.0");
INSERT INTO "poker_player" VALUES ("6", "6.0", "55.0", "120000.0");
INSERT INTO "poker_player" VALUES ("7", "7.0", "65.0", "110000.0");
INSERT INTO "poker_player" VALUES ("8", "8.0", "75.0", "90000.0");
INSERT INTO "poker_player" VALUES ("9", "9.0", "85.0", "80000.0");
INSERT INTO "poker_player" VALUES ("10", "10.0", "95.0", "70000.0");