What's the least amount of laps that George Eaton completed that has a time/retired engine and a grid larger than 8?
CREATE TABLE table_name_20 (laps INTEGER, driver VARCHAR, time_retired VARCHAR, grid VARCHAR)
SELECT MIN(laps) FROM table_name_20 WHERE time_retired = "engine" AND grid > 8 AND driver = "george eaton"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (laps INTEGER, driver VARCHAR, time_retired VARCHAR, grid VARCHAR) Question: What's the least amount of laps that George Eaton completed that has a time/retired engine and a grid larger than 8? [/INST] SELECT MIN(laps) FROM table_name_20 WHERE time_retired = "engine" AND grid > 8 AND driver = "george eaton" </s>