CREATE TABLE "population" (
  "city" text,
  "area_1996_km" real,
  "area_2006_km" real,
  "pop_1999" text,
  "pop_2003" text,
  "pop_2006" real
);

Question: Which area 2006 km² has an area 1996 km² smaller than 17.31?
SQL: SELECT MAX("area_2006_km") FROM "population" WHERE "area_1996_km"<17.31;

Question: Which area 2006 km² has an area 1996 km² of 26.39, and a pop 2006 smaller than 18,610?
SQL: SELECT MIN("area_2006_km") FROM "population" WHERE "area_1996_km"=26.39 AND "pop_2006"<'18,610';

Question: Which area 2006 km² has a city of sopot, and an area 1996 km² smaller than 17.31?
SQL: SELECT MAX("area_2006_km") FROM "population" WHERE "city"='sopot' AND "area_1996_km"<17.31;

Question: Which area 1996 km² has a pop 1999 of 17,510, and an area 2006 km² larger than 30?
SQL: SELECT MAX("area_1996_km") FROM "population" WHERE "pop_1999"='17,510' AND "area_2006_km">30;