CREATE TABLE "inhabited_territories_of_the_united_stat" (
  "territory" text,
  "abbr" text,
  "capital" text,
  "acquired" real,
  "territorial_status" text,
  "population_2010" real,
  "house_seat" real
);

Question: What was the population of Puerto Rico in 2010?
SQL: SELECT MAX("population_2010") FROM "inhabited_territories_of_the_united_stat" WHERE "territory"='puerto rico';

Question: What is the territory that was acquired past 1899 and has a capital of saipan?
SQL: SELECT "territory" FROM "inhabited_territories_of_the_united_stat" WHERE "acquired">1899 AND "capital"='saipan';