Table: fatehpur_loksabha
Columns: constituency_number
name
reserved_for_sc_st_none
district
number_of_electorates_2009

Question: Name the District which has a Reserved for ( SC / ST /None) of sc?
SQL: SELECT "district" FROM fatehpur_loksabha 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 fatehpur_loksabha 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 fatehpur_loksabha 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 fatehpur_loksabha WHERE "district" = 'fatehpur' AND "name" = 'jahanabad'