Table schema:
CREATE TABLE table_name_5 (class VARCHAR, pos VARCHAR, laps VARCHAR)

Question: In which class had 252 laps and a position of dnf?
SQL: SELECT class FROM table_name_5 WHERE pos = "dnf" AND laps = 252