CREATE TABLE "table1_1342013_31" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);

Question: What party did Frank J. Becker represent?
SQL: SELECT "party" FROM "table1_1342013_31" WHERE "incumbent"='Frank J. Becker';

Question: What number of party had a candidate  resigned when appointed judge democratic hold?
SQL: SELECT COUNT("party") FROM "table1_1342013_31" WHERE "result"='Resigned when appointed judge Democratic hold';

Question: What district did incumbent Ralph A. Gamble represent?
SQL: SELECT "district" FROM "table1_1342013_31" WHERE "incumbent"='Ralph A. Gamble';