CREATE TABLE "voting_details" (
  "constituency" text,
  "electorate" real,
  "turnout" text,
  "spoilt" text,
  "valid_poll" real,
  "quota" text,
  "seats" real,
  "candidates" real
);

Question: Name the total number of valid poll with seats more than 4 and candidates more than 9
SQL: SELECT COUNT("valid_poll") FROM "voting_details" WHERE "seats">4 AND "candidates">9;

Question: Name the least valid poll for munster
SQL: SELECT MIN("valid_poll") FROM "voting_details" WHERE "constituency"='munster';

Question: Name the average valid poll for seats less than 3
SQL: SELECT AVG("valid_poll") FROM "voting_details" WHERE "seats"<3;