CREATE TABLE "completed" (
  "rank" real,
  "city" text,
  "roof_m" real,
  "spire_m" text,
  "floors" real,
  "built" real
);

Question: What's the name of the 1985 city with a Spire (m) of 105, and a Roof (m) smaller than 96?
SQL: SELECT "city" FROM "completed" WHERE "spire_m"='105' AND "roof_m"<96 AND "built"=1985;

Question: What's the average number of floors that were built in 2004, and have a roof (m) of 106?
SQL: SELECT AVG("floors") FROM "completed" WHERE "built"=2004 AND "roof_m"=106;

Question: What's the total number of floors built after 2006, and have a rank of 12?
SQL: SELECT SUM("floors") FROM "completed" WHERE "built">2006 AND "rank"=12;