CREATE TABLE "combined_statistical_areas_metropolitan_" (
  "rank" real,
  "map_reference_number" real,
  "census_statistical_area" text,
  "2007_population" real,
  "lake_s" text
);

Question: What is the map reference number for Lake Superior with a larger population than 65,216
SQL: SELECT COUNT("map_reference_number") FROM "combined_statistical_areas_metropolitan_" WHERE "lake_s"='lake superior' AND "2007_population">'65,216';

Question: What is the average map reference number for Lake Michigan, a larger rank than 15, and a smaller population on 2007 than 114,504
SQL: SELECT AVG("map_reference_number") FROM "combined_statistical_areas_metropolitan_" WHERE "lake_s"='lake michigan' AND "rank">15 AND "2007_population"<'114,504';

Question: What is the lowest rank with a smaller population in 2007 than 117,201 and whose map reference number is 22?
SQL: SELECT MIN("rank") FROM "combined_statistical_areas_metropolitan_" WHERE "2007_population">'117,201' AND "map_reference_number"=22;