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

Question: What is the name for district total:?
SQL: SELECT "name" FROM "assembly_segments" WHERE "district"='total:';

Question: What is the electorates in 2009 for Modi Nagar?
SQL: SELECT AVG("number_of_electorates_2009") FROM "assembly_segments" WHERE "name"='modi nagar';