What was the time for a grid more than 6 in less than 23 laps with a Honda CBR1000RR?
CREATE TABLE table_name_31 (time VARCHAR, laps VARCHAR, grid VARCHAR, bike VARCHAR)
SELECT time FROM table_name_31 WHERE grid > 6 AND bike = "honda cbr1000rr" AND laps < 23
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (time VARCHAR, laps VARCHAR, grid VARCHAR, bike VARCHAR) Question: What was the time for a grid more than 6 in less than 23 laps with a Honda CBR1000RR? [/INST] SELECT time FROM table_name_31 WHERE grid > 6 AND bike = "honda cbr1000rr" AND laps < 23 </s>