CREATE TABLE table_name_94 (vertical_relief__ft_ INT, rank VARCHAR, location VARCHAR)

What is the mean vertical relief in feet when the rank is more than 40 and the location is va0573?
SELECT AVG(vertical_relief__ft_) FROM table_name_94 WHERE rank > 40 AND location = "va0573"
SELECT AVG("vertical_relief__ft_") FROM "table_name_94" WHERE "location" = "va0573" AND "rank" > 40