What is the type when Rangers are the moving from?
CREATE TABLE table_name_40 (type VARCHAR, moving_from VARCHAR)
SELECT type FROM table_name_40 WHERE moving_from = "rangers"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (type VARCHAR, moving_from VARCHAR) Question: What is the type when Rangers are the moving from? [/INST] SELECT type FROM table_name_40 WHERE moving_from = "rangers" </s>