What is the average rank of a mountain range located in Maine?
CREATE TABLE table_name_38 (rank INTEGER, state VARCHAR)
SELECT AVG(rank) FROM table_name_38 WHERE state = "maine"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (rank INTEGER, state VARCHAR) Question: What is the average rank of a mountain range located in Maine? [/INST] SELECT AVG(rank) FROM table_name_38 WHERE state = "maine" </s>