CREATE TABLE "senate" (
  "senator" text,
  "party" text,
  "district" real,
  "home_town" text,
  "took_office" real
);

Question: What is the sum of District, when Took Office is greater than 1981, and when Senator is Cyndi Taylor Krier?
SQL: SELECT SUM("district") FROM "senate" WHERE "took_office">1981 AND "senator"='cyndi taylor krier';

Question: What is Party, when District is less than 10, when Took Office is less than 1991, and when Home Town is Mount Pleasant?
SQL: SELECT "party" FROM "senate" WHERE "district"<10 AND "took_office"<1991 AND "home_town"='mount pleasant';

Question: What is the lowest Took Office, when Senator is Eddie Bernice Johnson, and when District is greater than 23?
SQL: SELECT MIN("took_office") FROM "senate" WHERE "senator"='eddie bernice johnson' AND "district">23;