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", "France");
INSERT INTO "people" VALUES ("7", "Germany");
INSERT INTO "people" VALUES ("8", "Brazil");
INSERT INTO "people" VALUES ("9", "Japan");
INSERT INTO "people" VALUES ("10", "France");
INSERT INTO "poker_player" VALUES ("1", "1.0", "5.0", "1500000.0");
INSERT INTO "poker_player" VALUES ("2", "2.0", "15.0", "500000.0");
INSERT INTO "poker_player" VALUES ("3", "3.0", "10.0", "1200000.0");
INSERT INTO "poker_player" VALUES ("4", "1.0", "20.0", "300000.0");
INSERT INTO "poker_player" VALUES ("5", "4.0", "25.0", "200000.0");
INSERT INTO "poker_player" VALUES ("6", "2.0", "30.0", "100000.0");
INSERT INTO "poker_player" VALUES ("7", "5.0", "35.0", "90000.0");
INSERT INTO "poker_player" VALUES ("8", "3.0", "40.0", "400000.0");
INSERT INTO "poker_player" VALUES ("9", "6.0", "45.0", "80000.0");
INSERT INTO "poker_player" VALUES ("10", "7.0", "50.0", "70000.0");