CREATE TABLE table_name_49 (laps NUMBER, finish VARCHAR2)

What is the average lap of the race with a 23 finish?
SELECT AVG(laps) FROM table_name_49 WHERE finish = "23"
SELECT AVG("laps") FROM "table_name_49" WHERE "23" = "finish"