What is the lowest All-Time, when First Title is "2007, and when Amateur Era is greater than 0?
CREATE TABLE table_name_35 (all_time INTEGER, first_title VARCHAR, amateur_era VARCHAR)
SELECT MIN(all_time) FROM table_name_35 WHERE first_title = 2007 AND amateur_era > 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (all_time INTEGER, first_title VARCHAR, amateur_era VARCHAR) Question: What is the lowest All-Time, when First Title is "2007, and when Amateur Era is greater than 0? [/INST] SELECT MIN(all_time) FROM table_name_35 WHERE first_title = 2007 AND amateur_era > 0 </s>