CREATE TABLE "districts" (
  "code" text,
  "district" text,
  "headquarters" text,
  "population_2001_census" real,
  "population_2011_census" real,
  "area_km" real,
  "density_in_2011_km" text
);

Question: What's the density in the district with 2320529 citizens in 2011?
SQL: SELECT "density_in_2011_km" FROM "districts" WHERE "population_2011_census"=2320529;

Question: What's the code of the district in which 312520 people lived in 2011?
SQL: SELECT "code" FROM "districts" WHERE "population_2011_census"=312520;

Question: What's the code of the district with 800.5 people per km2?
SQL: SELECT "code" FROM "districts" WHERE "density_in_2011_km"='800.5';

Question: How many people lived in the district with a code GP in 2011?
SQL: SELECT MIN("population_2011_census") FROM "districts" WHERE "code"='GP';

Question: How many people lived in the district whose headquarters is in Bhubaneswar in 2001?
SQL: SELECT "population_2001_census" FROM "districts" WHERE "headquarters"='Bhubaneswar';

Question: How big (in km2) is the district with a code BW?
SQL: SELECT MIN("area_km") FROM "districts" WHERE "code"='BW';