Context: CREATE TABLE table_name_5 (class VARCHAR, pos VARCHAR, laps VARCHAR)
Question: In which class had 252 laps and a position of dnf?
Answer: SELECT class FROM table_name_5 WHERE pos = "dnf" AND laps = 252