CREATE TABLE table_name_6 (laps NUMBER, pos VARCHAR2)

What is the average number of laps with a dnf pos.?
SELECT AVG(laps) FROM table_name_6 WHERE pos = "dnf"
SELECT AVG("laps") FROM "table_name_6" WHERE "dnf" = "pos"