text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### 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