CREATE TABLE "assembly_segments" (
  "constituency_number" text,
  "name" text,
  "reserved_for_sc_st_none" text,
  "district" text,
  "number_of_electorates_2009" real
);

Question: When the name is badnawar, and the reserved for (sc / st /none) of none what is the constituency number?
SQL: SELECT "constituency_number" FROM "assembly_segments" WHERE "reserved_for_sc_st_none"='none' AND "name"='badnawar';

Question: What is the number of electorates when the name is badnawar?
SQL: SELECT "number_of_electorates_2009" FROM "assembly_segments" WHERE "name"='badnawar';

Question: What is the average number of electorates (2009) when the district is indore?
SQL: SELECT AVG("number_of_electorates_2009") FROM "assembly_segments" WHERE "district"='indore';

Question: What is the name when the reserved is (sc / st /none) of st, with a constituency number 196?
SQL: SELECT "name" FROM "assembly_segments" WHERE "reserved_for_sc_st_none"='st' AND "constituency_number"='196';