Table: greenland_cities
Columns: rank
population
name
former_name
municipality

Question: What is the lowest rank of Qaanaaq, which has a population greater than 231?
SQL: SELECT MIN("rank") FROM greenland_cities WHERE "population" > 231 AND "name" = 'qaanaaq'

Question: What is the rank of the town with a population of 258?
SQL: SELECT COUNT("rank") FROM greenland_cities WHERE "population" = 258