CREATE TABLE "largest_cities_proper_by_population" (
  "rank" real,
  "city" text,
  "population" text,
  "definition" text,
  "country" text
);

Question: What rank has a population of 4839400?
SQL: SELECT MIN("rank") FROM "largest_cities_proper_by_population" WHERE "population"='4839400';

Question: What's the rank of the Province-Level Municipality?
SQL: SELECT "rank" FROM "largest_cities_proper_by_population" WHERE "definition"='province-level municipality';

Question: What rank was Core Districts + Inner Suburbs and had a population of 10123000?
SQL: SELECT MAX("rank") FROM "largest_cities_proper_by_population" WHERE "definition"='core districts + inner suburbs' AND "population"='10123000';