CREATE TABLE "democrats" (
  "candidate" text,
  "money_raised_2_q" text,
  "loans_received_2_q" text,
  "money_spent_2_q" text,
  "total_receipts" text,
  "cash_on_hand" text
);

Question: What were the total receipts when the money raised in 2Q was $33,120,440?
SQL: SELECT "total_receipts" FROM "democrats" WHERE "money_raised_2_q"='$33,120,440';

Question: How much money was spent in 2Q when the total receipts were $1,117,566?
SQL: SELECT "money_spent_2_q" FROM "democrats" WHERE "total_receipts"='$1,117,566';

Question: How much money was raised in the 2Q when the total receipts were $63,075,927?
SQL: SELECT "money_raised_2_q" FROM "democrats" WHERE "total_receipts"='$63,075,927';

Question: How much cash was on hand when the money spent in the 2Q was $16,042,388?
SQL: SELECT "cash_on_hand" FROM "democrats" WHERE "money_spent_2_q"='$16,042,388';