CREATE TABLE "main_event_winners" (
  "year" real,
  "winner" text,
  "winning_hand" text,
  "prize_money" text,
  "entrants" real,
  "runner_up" text,
  "losing_hand" text
);

Question: What was the total prize money where John Tabatabai was the runner-up?
SQL: SELECT "prize_money" FROM "main_event_winners" WHERE "runner_up"='John Tabatabai';

Question: Who is the winner where the losing hand is Ah 7s?
SQL: SELECT "winner" FROM "main_event_winners" WHERE "losing_hand"='Ah 7s';

Question: What was the losing hand where the winning hand was 7h 7s?
SQL: SELECT "losing_hand" FROM "main_event_winners" WHERE "winning_hand"='7h 7s';

Question: How many losing hands are there before 2007?
SQL: SELECT COUNT("losing_hand") FROM "main_event_winners" WHERE "year"=2007;

Question: When Fabrizio Baldassari is the runner-up what is the total prize money?
SQL: SELECT "prize_money" FROM "main_event_winners" WHERE "runner_up"='Fabrizio Baldassari';