What is the average of laps ridden by Toni Elias?
CREATE TABLE table_name_42 (laps INTEGER, rider VARCHAR)
SELECT AVG(laps) FROM table_name_42 WHERE rider = "toni elias"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (laps INTEGER, rider VARCHAR) Question: What is the average of laps ridden by Toni Elias? [/INST] SELECT AVG(laps) FROM table_name_42 WHERE rider = "toni elias" </s>