Context: CREATE TABLE table_name_38 (rank INTEGER, state VARCHAR)
Question: What is the average rank of a mountain range located in Maine?
Answer: SELECT AVG(rank) FROM table_name_38 WHERE state = "maine"