Context: CREATE TABLE table_name_77 (class VARCHAR, laps VARCHAR, year VARCHAR)
Question: What class had fewer than 336 laps in 2004?
Answer: SELECT class FROM table_name_77 WHERE laps < 336 AND year = 2004