Which lap number had a grid number of less than 17 when the driver was Giancarlo Fisichella?
CREATE TABLE table_name_1 (laps VARCHAR, grid VARCHAR, driver VARCHAR)
SELECT COUNT(laps) FROM table_name_1 WHERE grid < 17 AND driver = "giancarlo fisichella"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (laps VARCHAR, grid VARCHAR, driver VARCHAR) Question: Which lap number had a grid number of less than 17 when the driver was Giancarlo Fisichella? [/INST] SELECT COUNT(laps) FROM table_name_1 WHERE grid < 17 AND driver = "giancarlo fisichella" </s>