CREATE TABLE table_name_77 (class VARCHAR, laps VARCHAR, year VARCHAR)

What class had fewer than 336 laps in 2004?
SELECT class FROM table_name_77 WHERE laps < 336 AND year = 2004
SELECT "class" FROM "table_name_77" WHERE "laps" < 336 AND "year" = 2004