What class had fewer than 336 laps in 2004?
CREATE TABLE table_name_77 (class VARCHAR, laps VARCHAR, year VARCHAR)
SELECT class FROM table_name_77 WHERE laps < 336 AND year = 2004
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (class VARCHAR, laps VARCHAR, year VARCHAR) Question: What class had fewer than 336 laps in 2004? [/INST] SELECT class FROM table_name_77 WHERE laps < 336 AND year = 2004 </s>