CREATE TABLE "congress" (
  "electoral_district" text,
  "registered_voters" real,
  "seats_in_congress" real,
  "candidates_per_party" real,
  "participating_parties" real,
  "total_candidates" real
);

Question: What is the number of participating parties when registered voters totaled 643629?
SQL: SELECT COUNT("participating_parties") FROM "congress" WHERE "registered_voters"=643629;

Question: What is the electoral district when total candidates were 35?
SQL: SELECT "electoral_district" FROM "congress" WHERE "total_candidates"=35;

Question: What is the number of seats in congress when the electoral district is Ucayali?
SQL: SELECT COUNT("seats_in_congress") FROM "congress" WHERE "electoral_district"='Ucayali';

Question: What is the number of seats in congress when the candidates per party is 6?
SQL: SELECT COUNT("seats_in_congress") FROM "congress" WHERE "candidates_per_party"=6;

Question: What is the number of total candidates when registered voters is 47742?
SQL: SELECT "total_candidates" FROM "congress" WHERE "registered_voters"=47742;