CREATE TABLE "main_countries_and_territories_data" (
  "country_territory" text,
  "area_km" real,
  "population" real,
  "pop_density_km" real,
  "gdp_millions_of_usd_2009" real,
  "gdp_per_capita_usd_2009_2011" real,
  "capital" text
);

Question: What was the GDP (in millions USD) of Indonesia in 2009?
SQL: SELECT COUNT("gdp_millions_of_usd_2009") FROM "main_countries_and_territories_data" WHERE "country_territory"='Indonesia';

Question: What was the GDP (in millions USD) of Hong Kong in 2009?
SQL: SELECT MAX("gdp_millions_of_usd_2009") FROM "main_countries_and_territories_data" WHERE "country_territory"='Hong Kong';