What is the lowest Goal Difference, when Position is "7", and when Played is greater than 30?
CREATE TABLE table_name_1 (goal_difference INTEGER, position VARCHAR, played VARCHAR)
SELECT MIN(goal_difference) FROM table_name_1 WHERE position = 7 AND played > 30
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (goal_difference INTEGER, position VARCHAR, played VARCHAR) Question: What is the lowest Goal Difference, when Position is "7", and when Played is greater than 30? [/INST] SELECT MIN(goal_difference) FROM table_name_1 WHERE position = 7 AND played > 30 </s>