What were the lowest goals when the matches were smaller than 29?
CREATE TABLE table_name_40 (goals INTEGER, matches INTEGER)
SELECT MIN(goals) FROM table_name_40 WHERE matches < 29
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (goals INTEGER, matches INTEGER) Question: What were the lowest goals when the matches were smaller than 29? [/INST] SELECT MIN(goals) FROM table_name_40 WHERE matches < 29 </s>