CREATE TABLE "demographics" (
  "country" text,
  "area_km" real,
  "population" real,
  "population_density_per_km" real,
  "hdi_2011" text,
  "capital" text
);

Question: Which capitals have an area of exactly 377930 square km?
SQL: SELECT "capital" FROM "demographics" WHERE "area_km"=377930;

Question: What is the total number of capitals that have an area of exactly 1104 square km?
SQL: SELECT COUNT("capital") FROM "demographics" WHERE "area_km"=1104;

Question: What capital has a population of exactly 1339724852?
SQL: SELECT "capital" FROM "demographics" WHERE "population"=1339724852;

Question: How many populations have a capital of Hong Kong?
SQL: SELECT COUNT("population") FROM "demographics" WHERE "capital"='Hong Kong';