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

Question: Name the District which has a Reserved for ( SC / ST /None) of sc?
SQL: SELECT "district" FROM "assembly_segments" WHERE "reserved_for_sc_st_none"='sc';

Question: Name the  District that has a Reserved for ( SC / ST /None) of none and a Constituency number of 242?
SQL: SELECT "district" FROM "assembly_segments" WHERE "reserved_for_sc_st_none"='none' AND "constituency_number"='242';

Question: Name the Number of electorates (2009 which has a Reserved for ( SC / ST /None) of none, and a Name of jahanabad?
SQL: SELECT MIN("number_of_electorates_2009") FROM "assembly_segments" WHERE "reserved_for_sc_st_none"='none' AND "name"='jahanabad';

Question: Count the Number of electorates (2009) that has a District of fatehpur and  jahanabad?
SQL: SELECT SUM("number_of_electorates_2009") FROM "assembly_segments" WHERE "district"='fatehpur' AND "name"='jahanabad';