question: What is the class that that won 2 stages and has a position of DNF?
answer: SELECT class FROM table_name_20 WHERE stages_won = "2" AND position = "dnf"
context: CREATE TABLE table_name_20 (class VARCHAR, stages_won VARCHAR, position VARCHAR)