What is the time of rider Loic Napoleone, who had less than 18 laps and a grid greater than 8?
CREATE TABLE table_name_7 (time VARCHAR, rider VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT time FROM table_name_7 WHERE laps < 18 AND grid > 8 AND rider = "loic napoleone"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (time VARCHAR, rider VARCHAR, laps VARCHAR, grid VARCHAR) Question: What is the time of rider Loic Napoleone, who had less than 18 laps and a grid greater than 8? [/INST] SELECT time FROM table_name_7 WHERE laps < 18 AND grid > 8 AND rider = "loic napoleone" </s>