Table schema:
CREATE TABLE table_name_38 (rank INTEGER, state VARCHAR)

Question: What is the average rank of a mountain range located in Maine?
SQL: SELECT AVG(rank) FROM table_name_38 WHERE state = "maine"