What is the smallest number of goals when the goals against are more than 58 and played number is more than 30?
CREATE TABLE table_name_37 (goals_for INTEGER, goals_against VARCHAR, played VARCHAR)
SELECT MIN(goals_for) FROM table_name_37 WHERE goals_against > 58 AND played > 30
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (goals_for INTEGER, goals_against VARCHAR, played VARCHAR) Question: What is the smallest number of goals when the goals against are more than 58 and played number is more than 30? [/INST] SELECT MIN(goals_for) FROM table_name_37 WHERE goals_against > 58 AND played > 30 </s>