What is the average lap of the race with a 23 finish?
CREATE TABLE table_name_49 (laps INTEGER, finish VARCHAR)
SELECT AVG(laps) FROM table_name_49 WHERE finish = "23"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (laps INTEGER, finish VARCHAR) Question: What is the average lap of the race with a 23 finish? [/INST] SELECT AVG(laps) FROM table_name_49 WHERE finish = "23" </s>