CREATE TABLE table_name_24 (time INT, rank VARCHAR, name VARCHAR)

What is the average time with a rank lower than 2 for Andy Turner?
SELECT AVG(time) FROM table_name_24 WHERE rank > 2 AND name = "andy turner"
SELECT AVG("time") FROM "table_name_24" WHERE "andy turner" = "name" AND "rank" > 2