CREATE TABLE table_name_49 (laps INT, finish VARCHAR)

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"