Table: kenya_districts_2
Columns: code
county
former_province
area_km_2
population_census_2009
capital

Question: what's the capital with area (km 2 ) being 12,245.9
SQL: SELECT "capital" FROM kenya_districts_2 WHERE "area_km_2" = '12,245.9'

Question: what's the former province with area (km 2 ) being 12,245.9
SQL: SELECT "former_province" FROM kenya_districts_2 WHERE "area_km_2" = '12,245.9'

Question:  how many capital with population census 2009 being 284657
SQL: SELECT COUNT("capital") FROM kenya_districts_2 WHERE "population_census_2009" = 284657

Question: what's the area (km 2 ) with population census 2009 being 939370
SQL: SELECT "area_km_2" FROM kenya_districts_2 WHERE "population_census_2009" = 939370

Question: what is the minimum code with area (km 2 ) being 12,245.9
SQL: SELECT MIN("code") FROM kenya_districts_2 WHERE "area_km_2" = '12,245.9'

Question: what's the county with code being 2
SQL: SELECT "county" FROM kenya_districts_2 WHERE "code" = 2