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