I want the sum of stories for guadalajara done after 2007
CREATE TABLE table_name_87 (stories INTEGER, city VARCHAR, completed VARCHAR)
SELECT SUM(stories) FROM table_name_87 WHERE city = "guadalajara" AND completed > 2007
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (stories INTEGER, city VARCHAR, completed VARCHAR) Question: I want the sum of stories for guadalajara done after 2007 [/INST] SELECT SUM(stories) FROM table_name_87 WHERE city = "guadalajara" AND completed > 2007 </s>