SCHEMA:
CREATE TABLE table_name_74 (class VARCHAR, laps VARCHAR)
USER:
Which Class has Laps of 31?

QUERY:
SELECT class FROM table_name_74 WHERE laps = 31