CREATE TABLE "republicans" (
  "candidate" text,
  "total_receipts" real,
  "loans_received" real,
  "receipts_w_o_loans" real,
  "money_spent" real,
  "cash_on_hand" real,
  "total_debt" real,
  "cash_on_hand_minus_debt" real
);

Question: How much cash on hand did a candidate with a total debt of 4,516,030 and total receipts less than 9,969,292 have?
SQL: SELECT SUM("cash_on_hand") FROM "republicans" WHERE "total_debt"='4,516,030' AND "total_receipts"<'9,969,292';

Question: What is the average total debt of a candidate with more than 9,969,292 total receipts?
SQL: SELECT AVG("total_debt") FROM "republicans" WHERE "total_receipts">'9,969,292';

Question: What is the average cash on hand of a candidate with receipts w/o loans of 19,951,290 and less than 17,556,672 spent?
SQL: SELECT AVG("cash_on_hand") FROM "republicans" WHERE "receipts_w_o_loans"='19,951,290' AND "money_spent"<'17,556,672';