CREATE TABLE "tallest_completed_buildings" (
  "rank" text,
  "city" text,
  "height" text,
  "stories" real,
  "completed" real
);

Question: Which stories have a rank of 14?
SQL: SELECT "stories" FROM "tallest_completed_buildings" WHERE "rank"='14';

Question: How many stories were done in 2008 with a 16 rank?
SQL: SELECT COUNT("stories") FROM "tallest_completed_buildings" WHERE "completed"=2008 AND "rank"='16';

Question: Name the average stories done after 2003 with a 16 rank
SQL: SELECT AVG("stories") FROM "tallest_completed_buildings" WHERE "completed">2003 AND "rank"='16';

Question: Name the total number of stories that had a 16 rank
SQL: SELECT COUNT("stories") FROM "tallest_completed_buildings" WHERE "rank"='16';

Question: I want the sum of stories for guadalajara done after 2007
SQL: SELECT SUM("stories") FROM "tallest_completed_buildings" WHERE "city"='guadalajara' AND "completed">2007;