CREATE TABLE "community_council" (
  "parties_and_voter_communities" text,
  "pct_2006" real,
  "seats_2006" real,
  "pct_2001" real,
  "seats_2001" real
);

Question: what is the seats 2006 total with %2001 of 39 and seats 2001 less than 12?
SQL: SELECT MAX("seats_2006") FROM "community_council" WHERE "pct_2001"=39 AND "seats_2001"<12;

Question: what is the total number of seats 2006 that has parties and voter turnout in % and whose %2006 is greater than 51.5?
SQL: SELECT SUM("seats_2006") FROM "community_council" WHERE "parties_and_voter_communities"='voter turnout in %' AND "pct_2006">51.5;

Question: what is the total number of seats 2001 with seats 2006 more than 10 and voter communities of cdu?
SQL: SELECT SUM("seats_2001") FROM "community_council" WHERE "parties_and_voter_communities"='cdu' AND "seats_2006">10;