Table: tallest_buildings_mexico
Columns: rank
city
height
stories
completed

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

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

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

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

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