How many points for Newman/Haas Racing with fewer than 40 laps?
CREATE TABLE table_name_6 (points INTEGER, team VARCHAR, laps VARCHAR)
SELECT AVG(points) FROM table_name_6 WHERE team = "newman/haas racing" AND laps < 40
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (points INTEGER, team VARCHAR, laps VARCHAR) Question: How many points for Newman/Haas Racing with fewer than 40 laps? [/INST] SELECT AVG(points) FROM table_name_6 WHERE team = "newman/haas racing" AND laps < 40 </s>