What is the average number of laps when the country was NL and the race number was smaller than 8?
CREATE TABLE table_name_96 (laps INTEGER, race_number VARCHAR, country VARCHAR)
SELECT AVG(laps) FROM table_name_96 WHERE race_number < 8 AND country = "nl"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (laps INTEGER, race_number VARCHAR, country VARCHAR) Question: What is the average number of laps when the country was NL and the race number was smaller than 8? [/INST] SELECT AVG(laps) FROM table_name_96 WHERE race_number < 8 AND country = "nl" </s>