Table: districts_ap
Columns: code
district
headquarters
population_2011
area_km
density_km
official_website

Question: Where is the headquarters of the place whose abbreviation is hy?
SQL: SELECT "headquarters" FROM districts_ap WHERE "code" = 'HY'

Question: Where is the headquarters of the place whose population in 2011 was 3811738?
SQL: SELECT "headquarters" FROM districts_ap WHERE "population_2011" = 3811738

Question: What was the minimum population in 2011 of the district of Prakasam?
SQL: SELECT MIN("population_2011") FROM districts_ap WHERE "district" = 'Prakasam'

Question: What is the abbreviation of the district of Mahbubnagar?
SQL: SELECT "code" FROM districts_ap WHERE "district" = 'Mahbubnagar'

Question: What is the 2011 population of the district of East Godavari?
SQL: SELECT "population_2011" FROM districts_ap WHERE "district" = 'East Godavari'