what average grid has laps larger than 52 and contains the driver of andrea de adamich?
CREATE TABLE table_name_36 (grid INTEGER, laps VARCHAR, driver VARCHAR)
SELECT AVG(grid) FROM table_name_36 WHERE laps > 52 AND driver = "andrea de adamich"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (grid INTEGER, laps VARCHAR, driver VARCHAR) Question: what average grid has laps larger than 52 and contains the driver of andrea de adamich? [/INST] SELECT AVG(grid) FROM table_name_36 WHERE laps > 52 AND driver = "andrea de adamich" </s>